]>
git.lyx.org Git - features.git/log
Enrico Forestieri [Sun, 25 Sep 2011 20:49:53 +0000 (20:49 +0000)]
Make sure to check command for emptiness, instead of prefix+command.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39762
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 25 Sep 2011 20:33:06 +0000 (20:33 +0000)]
Apparently, the env program does not strip quotes around the values of the
environment variables. So, replace single quotes by double ones, such that
the QProcess parser will strip them, and strip them by ourselves in ForkedCall.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39761
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 25 Sep 2011 16:38:51 +0000 (16:38 +0000)]
The second argument of Systemcall::startscript is supposed to be encoded
in the filesystem encoding, i.e., the local 8 bit encoding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39760
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 25 Sep 2011 16:32:31 +0000 (16:32 +0000)]
Adjust the simple parser in ForkedCalls.cpp to also account for quotes
don't delimiting an entire word and adapt the quoting such that it works
for Systemcall, ForkedCall, and also for the case when QProcess in not used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39759
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 25 Sep 2011 13:35:42 +0000 (13:35 +0000)]
Manage the setting of the latex environment for Systemcall and ForkedCall
in a central place.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39758
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sun, 25 Sep 2011 07:13:56 +0000 (07:13 +0000)]
* Fix merging of cells (multicolumn, multirow) when the first cell in the selection is already a multi-cell (bug #7792).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39757
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sun, 25 Sep 2011 06:50:03 +0000 (06:50 +0000)]
As for setMultiRow, check border status _before_ merging, thus fixing border allocation problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39756
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 24 Sep 2011 20:53:28 +0000 (20:53 +0000)]
Do not change, even if temporarily, the environment of the main process
but only that of the launched QProcess.
This will help changing the code in order to manage in a central place
the LaTeX environment, thus avoiding the current code duplication in
Systemcall and ForkedCalls.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39754
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 24 Sep 2011 18:35:44 +0000 (18:35 +0000)]
Fix bug #7764 by ordering the formats according to translated strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39753
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 24 Sep 2011 18:21:41 +0000 (18:21 +0000)]
Fix bug #3821 by allowing insertStringAs* to reset the cursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39752
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 24 Sep 2011 18:08:19 +0000 (18:08 +0000)]
Fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39749
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sat, 24 Sep 2011 16:39:29 +0000 (16:39 +0000)]
Fix the tab ordering of GuiDocument components.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39747
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sat, 24 Sep 2011 16:39:26 +0000 (16:39 +0000)]
Fix the tab ordering of PanelStack and PrefsUi.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39746
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sat, 24 Sep 2011 16:39:23 +0000 (16:39 +0000)]
Don't allow newline characters in document settings.
Set a validator on QLineEdit widgets. The validator removes any
\n and \r characters, thus preventing users from copy-pasting
newline characters into these fields, and subsequently saving
them, inadvertantly, to their lyx file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39745
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sat, 24 Sep 2011 16:39:20 +0000 (16:39 +0000)]
Rename QLineEdit widgets to have a LE suffix (consistent within GuiDocument).
bibtexOptionsED -> bibtexOptionsLE
indexOptionsED -> indexOptionsLE
languagePackageED -> languagePackageLE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39744
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sat, 24 Sep 2011 16:39:17 +0000 (16:39 +0000)]
Move the NoNewLineValidator to Validator.cpp where it fits better.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39743
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 24 Sep 2011 01:32:35 +0000 (01:32 +0000)]
Also set TEXINPUTS when launching ForkedCall processes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39742
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 24 Sep 2011 01:27:40 +0000 (01:27 +0000)]
Let lyxpreview2bitmap.py also work on Windows when the PyWin extension modules
are not installed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39741
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 23 Sep 2011 17:52:20 +0000 (17:52 +0000)]
Comment out unused function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39740
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 23 Sep 2011 17:52:16 +0000 (17:52 +0000)]
Yet another unused variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39739
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 23 Sep 2011 17:52:11 +0000 (17:52 +0000)]
Another unused variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39738
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 23 Sep 2011 17:51:39 +0000 (17:51 +0000)]
Fix a couple unused variable warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39737
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 23 Sep 2011 17:12:20 +0000 (17:12 +0000)]
Fix bottom border allocation when setting a multirow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39736
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Fri, 23 Sep 2011 16:50:18 +0000 (16:50 +0000)]
#7778 avoid toggle of languages when LFUN_LANGUAGE is executed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39735
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 23 Sep 2011 12:36:37 +0000 (12:36 +0000)]
* InsetTabular.cpp: fix logic of multirow top/bottom line output (bug #7578)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39733
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 22 Sep 2011 16:03:48 +0000 (16:03 +0000)]
Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39732
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 22 Sep 2011 02:22:53 +0000 (02:22 +0000)]
svglobal3.layout, svcommon.inc: fix some parser warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39725
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 21 Sep 2011 22:37:24 +0000 (22:37 +0000)]
Additional.lyx: remove some unused references to squash LaTeX warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39724
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Wed, 21 Sep 2011 19:43:13 +0000 (19:43 +0000)]
pass help to automake configure to get the complete help output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39722
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Tue, 20 Sep 2011 19:45:31 +0000 (19:45 +0000)]
Fix bug introduced in r39705 (was making .eps.gz not work anymore).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39720
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Tue, 20 Sep 2011 17:25:07 +0000 (17:25 +0000)]
Fixes to Format.{h,cpp} following advices from Richard and Vincent.
Caching the string value of extensions is not necessary. It
was a nice textbook exercise in getter/setter methods but it
is cause for confusion and prone to mistakes in maintenance.
Also, extension_list_ doesn't need to be mutable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39714
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Tue, 20 Sep 2011 09:00:44 +0000 (09:00 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39713
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 20 Sep 2011 03:12:37 +0000 (03:12 +0000)]
libreoffice2eps.py: add missing things from r39707
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39712
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 19 Sep 2011 13:24:01 +0000 (13:24 +0000)]
* RELEASE-NOTES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39711
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Mon, 19 Sep 2011 12:33:43 +0000 (12:33 +0000)]
Documenting the new -E command-line option (added in r39678).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39710
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Mon, 19 Sep 2011 10:08:33 +0000 (10:08 +0000)]
Moving the zipped file info cache to Formats.cpp saves the inclusion of <map> and <ctime> from Format.h
They were implementation-specific and do not impact on the interface anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39709
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Mon, 19 Sep 2011 00:50:57 +0000 (00:50 +0000)]
Updated man page information about exported files.
See also #4312.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39708
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Mon, 19 Sep 2011 00:37:15 +0000 (00:37 +0000)]
Adding the script missing from last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39707
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Mon, 19 Sep 2011 00:29:29 +0000 (00:29 +0000)]
Added OpenOffice drawing file-format.
Now you can:
-) include in LyX OpenOffice drawings (.odg or old .sxd files)
-) preview them on the screen
-) view them in the final .ps/.pdf output
-) edit them externally via libreoffice, ooffice, oodraw or soffice (whatever is detected).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39706
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Mon, 19 Sep 2011 00:12:09 +0000 (00:12 +0000)]
Added support for natively zipped file formats that do not need decompression for being handled by converters
(e.g., compressed dia, odg, sxd, ...). These need to be marked via the "zipped=native" flag in the RC file.
The old 'dia' configuration is automatically updated (it used to be hardcoded in the code, now it is handled
via the flag).
See also http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg170974.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39705
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sun, 18 Sep 2011 23:50:20 +0000 (23:50 +0000)]
Added new option -E (--export-to) to man page.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39704
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 18 Sep 2011 23:18:44 +0000 (23:18 +0000)]
Revert guiName to Spreadsheet (was part of r39675).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39703
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 18 Sep 2011 21:18:57 +0000 (21:18 +0000)]
When changing the document language, also change the language of the
text which is not explicitly marked in a different language, irrespective
of the multilingual status, except for LTR<=>RTL changes.
See discussion in this thread:
http://thread.gmane.org/gmane.editors.lyx.devel/138380
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39702
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 18 Sep 2011 15:19:49 +0000 (15:19 +0000)]
Fix bug #7621 (Images are not displayed if path of temp folder contains accented characters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39700
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 18 Sep 2011 12:11:47 +0000 (12:11 +0000)]
* configure.py : Detect java and perl scripts in a general way.
Issues #6339 and #7579 were fixed by specific code targeting those
RC entries. This commit fixes the detection of java and perl scripts
in a general way. As a result:
- The detections of jfig3-itext.jar and jfig3.jar, which where
previously overlooked, are now also fixed, and
- Future additions of java and perl scripts to configure.py are
straight forward.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39699
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 18 Sep 2011 12:10:19 +0000 (12:10 +0000)]
* configure.py : Add lyxpreview unconditionnally.
The check on dv2dt and dt2dv is not necessary, since even if these
are not available, we fall back to the legacy convertion method,
which uses ghostscript, and which is available in all cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39698
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 18 Sep 2011 09:35:06 +0000 (09:35 +0000)]
Make the scrolling for large insets more naturally (bug #7662)
The patch fixes a case that I had forgotten. Namely, the case that when the height of a row was larger than the height of the screen and that the cursor is already visible. That's why I added a new if case to catch all situations in which the row height is larger than the height of the screen. If we then need scrolling we scroll to height/4 and 3*height/4. In the end, the height_/4 and 3*height_/4 should be replaced by the rowheights in the inset, but we need some extra infrastructure for that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39697
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 17 Sep 2011 15:25:14 +0000 (15:25 +0000)]
finally commit the fix for #7607.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39696
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 17 Sep 2011 11:04:55 +0000 (11:04 +0000)]
Revert unintended part of r39694.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39695
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 17 Sep 2011 10:58:01 +0000 (10:58 +0000)]
Update the toolbars when the GuiView is shown
This will disable the layout box if no document is open, and it will set the correct state of the toolbar toggling buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39694
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Fri, 16 Sep 2011 14:40:40 +0000 (14:40 +0000)]
Also include in the archive the files referenced in ERT in the document body.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39692
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Fri, 16 Sep 2011 12:03:54 +0000 (12:03 +0000)]
Use the normalized path for checking whether it has already been gathered.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39691
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Fri, 16 Sep 2011 10:07:56 +0000 (10:07 +0000)]
Check whether the filename is really a file. Also protect against recursive
inclusions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39690
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 16 Sep 2011 09:07:48 +0000 (09:07 +0000)]
* de.po: some corrections.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39689
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Fri, 16 Sep 2011 08:41:44 +0000 (08:41 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39686
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 15 Sep 2011 21:48:45 +0000 (21:48 +0000)]
Better label for index list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39682
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 15 Sep 2011 21:48:23 +0000 (21:48 +0000)]
Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39681
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 15 Sep 2011 21:22:56 +0000 (21:22 +0000)]
Get default font color and background color working for XHTML export.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39679
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Thu, 15 Sep 2011 01:07:49 +0000 (01:07 +0000)]
Added -E option to specify export format and destination file-name (and export folder).
Addressing #4501.
See also http://comments.gmane.org/gmane.editors.lyx.devel/138329
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39678
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Wed, 14 Sep 2011 08:11:52 +0000 (08:11 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39676
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Tue, 13 Sep 2011 21:50:07 +0000 (21:50 +0000)]
Fix the guiName of external insets.
- Remove hack with $$AbsOrRelPath substitution in the guiName.
Instead, let LyX display the filename automatically in the gui,
consistent with InsetInclude.
- Use the guiName in the drop-down menu in the dialog instead of the
internal lyxName. These guiNames ought to be more descriptive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39675
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Tue, 13 Sep 2011 21:49:52 +0000 (21:49 +0000)]
File filters for InsetExternal were also missing a description.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39674
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Tue, 13 Sep 2011 20:43:06 +0000 (20:43 +0000)]
Fix the file filters for InsetInclude.
Add an empty filter for listings and verbatim includes. This will
display as the standard string "All files (*)".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39673
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Tue, 13 Sep 2011 20:42:55 +0000 (20:42 +0000)]
Fix the display of file filters in the import file dialog.
- Correctly interpret whether a file description is available.
This description is later displayed in the file filters in the
import dialog (and other dialogs using this qt helper).
- Fix the regex so that "LaTeX (plain) (*.tex)" is correctly parsed
into a description "LaTeX (plain) " and its corresponding filter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39672
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Tue, 13 Sep 2011 20:42:38 +0000 (20:42 +0000)]
Show .htm files in HTML import file dialog (#6340).
- Add "htm" as a known extension for HTML.
- Use all the extensions of a format as file filter,
instead of using only the default extension.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39671
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Tue, 13 Sep 2011 20:42:23 +0000 (20:42 +0000)]
Allow to assign several extension to a given file format (#4798).
Additionnal extensions are separated by commas (,) in lyxrc
preference files, while spaces are ignored, e.g. "jpg, jpeg".
Preference lyxrc file format incremented to 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39670
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 13 Sep 2011 12:39:43 +0000 (12:39 +0000)]
Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39669
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 20:43:06 +0000 (20:43 +0000)]
* prefs2prefs.py : Use a list of [format, conversions] pair.
Use a list of [int, list of functions] pair, representing
- int: the format number, and
- list of functions: what needs to be done to the file to
update it to the given format number.
This matches what is done in lyx2lyx and helps keeping track of
format numbers and their corresponding conversion routines.
Also, add another sanity check.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39668
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 20:42:53 +0000 (20:42 +0000)]
* prefs2prefs.py : Error when both -l and -p are given, update usage.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39667
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 20:42:40 +0000 (20:42 +0000)]
* prefs2prefs.py : Don't choke on empty input file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39666
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 20:42:22 +0000 (20:42 +0000)]
* layout2layout.py : Don't choke on empty input file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39665
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 14:22:05 +0000 (14:22 +0000)]
Don't allow newline characters in preference (#5840).
Set a validator on QLineEdit widgets. The validator removes any
\n and \r characters, thus preventing users from copy-pasting
newline characters into these fields, and subsequently saving
them, inadvertantly, to the preference file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39664
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 14:22:01 +0000 (14:22 +0000)]
Mark settings as changed when the Nomenclature line is edited.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39663
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 14:19:57 +0000 (14:19 +0000)]
Fix the tab ordering of GuiPrefs components.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39662
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:23:41 +0000 (18:23 +0000)]
Refine the lyxpreview legacy conversion (the ghostscript one).
- Break up steps 1, 2 and 3 from the legacy preview mechanism.
These are really separate steps.
1) Add color info, run latex
2) Run dvips
3) Run ghostscript
- In the case of pdf output, skip step 2 and go directly to step 3.
- Make sure that we fall back to the legacy conversion whenever we can.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39661
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:23:29 +0000 (18:23 +0000)]
Better error and progress messages for lyxpreview.
Introduce --debug and --verbose flags to control output. Also, use the
python subprocess module to capture stderr from external commands, thus
bumping the python requirement to version 2.4 or later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39660
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:23:15 +0000 (18:23 +0000)]
Merge the preview mechanism for japanese with the standard one.
- Japanese is now handled by passing the option --latex=platex
to the standard lyxpreview script. This is done in PreviewLoader.
- Remove obsoleted file lyxpreview-platex2bitmap.py and the
corresponding lines in the configure script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39659
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:22:59 +0000 (18:22 +0000)]
Merge the preview mechanism for lilypond-book with the standard one.
- Handle the preprocessing in the main lyxpreview script with the
command-line arguments --lilypond and --lilypond-book=exe.
- Remove the obsoleted file lyxpreview-lytex2bitmap.py and the
corresponding lines in configure.py.
Fix for the japanese preview still to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39658
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:22:43 +0000 (18:22 +0000)]
Add command-line arguments to lyxpreview2bitmap.py
Add command-line arguments in a standard unix fashion, using getopt.
Usage: ./lyxpreview2bitmap.py <options> <input file>
Options:
-h, --help: Show this help screen and exit
--dpi=<res>: Resolution per inch (default: 128)
--png, --ppm: Select the output format (default: png)
--fg=<color>: Foreground color (default: black, ie '000000')
--bg=<color>: Background color (default: white, ie 'ffffff')
--latex=<exe>: Specify the executable for latex (default: latex)
The colors are hexadecimal strings, eg 'faf0e6'.
The changes to PreviewLoader.cpp break the preview of lilypond-book
and japanese files, but they will be handled in the next commits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39657
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:22:29 +0000 (18:22 +0000)]
Some clean up of the lyxpreview code.
Move some common variables to lyxpreview_tools. Otherwise,
add a few variable names, making it easier to track things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39656
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:22:12 +0000 (18:22 +0000)]
Stylictic-only changes to lyxpreview.
Whitespace and line endings only, in preparation for some serious work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39655
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 11 Sep 2011 14:14:04 +0000 (14:14 +0000)]
Implement GuiNomenclature::initialiseParams(), thus restoring the
ability to take the symbol from an explicit or implicit selection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39651
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 10 Sep 2011 05:35:54 +0000 (05:35 +0000)]
revive Ctrl-space in mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39649
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Thu, 8 Sep 2011 12:11:16 +0000 (12:11 +0000)]
* configure.py : Fixup r39643, srcdir is a string containing the basepath to configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39645
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:59:23 +0000 (23:59 +0000)]
* configure.py : Fix the detection of tex2lyx when running in-place (#6986).
Remove the hack with os.environ and instead directly search for
../src/tex2lyx/tex2lyx relative to where configure.py is found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39643
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:59:14 +0000 (23:59 +0000)]
* configure.py : Fix the rc entry when tex2lyx is not found (#3308).
We still define the tex2lyx converter but we emit a warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39642
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:57:07 +0000 (23:57 +0000)]
* configure.py : Fix the gnumeric converters.
They were tied to undefined formats ods and xls. The actual
internal names for these formats are oocalc and excel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39641
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:56:59 +0000 (23:56 +0000)]
* configure.py : Remove unnecessary code in xhtml viewer detection.
This code seems unnecessary since not_found = "auto" is set in
checkViewer, and thus "auto" is used as the viewer when no viewers
are found, and a lyxrc entry is added anyway. The "auto" string is
special-cased in the code, where we attempt to automatically
determine the viewer from the OS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39640
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:56:47 +0000 (23:56 +0000)]
* configure.py : Fix the detection of splitindex (#7579)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39639
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:56:38 +0000 (23:56 +0000)]
* configure.py : Fix the detection of htmltolatex (#6339)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39638
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:56:28 +0000 (23:56 +0000)]
* configure.py : Check for java and perl interpreters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39637
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 7 Sep 2011 22:30:10 +0000 (22:30 +0000)]
Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39636
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 7 Sep 2011 22:25:25 +0000 (22:25 +0000)]
Fix bug #7721. We don't need to do anything here other than output
our paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39634
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 7 Sep 2011 21:47:36 +0000 (21:47 +0000)]
Remove unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39632
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 7 Sep 2011 08:14:10 +0000 (08:14 +0000)]
Make InsetInfo output a path matching the LaTeX compiler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39629
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 7 Sep 2011 08:05:44 +0000 (08:05 +0000)]
Leave alone the header and add the include where it is needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39628
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 7 Sep 2011 06:27:54 +0000 (06:27 +0000)]
* de.po: some corrections.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39626
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Tue, 6 Sep 2011 11:40:42 +0000 (11:40 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39616
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 6 Sep 2011 03:47:50 +0000 (03:47 +0000)]
installer: fix a typo for Dutch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39614
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 6 Sep 2011 03:14:51 +0000 (03:14 +0000)]
sweave.module: more precise description text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39610
a592a061 -630c-0410-9148-
cb99ea01b6c8