]> git.lyx.org Git - lyx.git/log
lyx.git
12 years agolyxpreview: Simplify the color handling.
Julien Rioux [Mon, 3 Oct 2011 16:43:33 +0000 (16:43 +0000)]
lyxpreview: Simplify the color handling.

Let's have this in trunk for testing. The real difference maker
when it comes to color is whether we use dvipng or ghostscript.

For dvipng:

  - The color info is passed as command-line arguments.

  - The tightpage option is not necessary, and since it adds
    ps specials to the output, we shouldn't use it.

For ghostscript:

  - The color info needs to be in the latex file.

  - The foreground color is set for each preview inset.

  - The background color is set by \pagecolor in the preamble,
    which is understood by pdflatex, but ignored in dvips mode.
    Thus dvips is handled with a ps special.

  - The tightpage option is necessary to crop the images.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39797 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agolyxpreview: Simplify the handling of lilypond-book.
Julien Rioux [Mon, 3 Oct 2011 16:35:29 +0000 (16:35 +0000)]
lyxpreview: Simplify the handling of lilypond-book.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39796 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agolyxpreview: Handle bibtex-generated references and bibliography.
Julien Rioux [Mon, 3 Oct 2011 16:35:27 +0000 (16:35 +0000)]
lyxpreview: Handle bibtex-generated references and bibliography.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39795 a592a061-630c-0410-9148-cb99ea01b6c8

12 years ago* lyxpreview_tool.py : Allow to look for commands with arguments.
Julien Rioux [Mon, 3 Oct 2011 16:35:25 +0000 (16:35 +0000)]
* lyxpreview_tool.py : Allow to look for commands with arguments.

For example, find_exe(["bibtex -min-crossrefs=7"]) should search for
bibtex and if it is found, return the string "bibtex -min-crossrefs=7".

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39794 a592a061-630c-0410-9148-cb99ea01b6c8

12 years ago- Additional.lyx: minor tweaks
Uwe Stöhr [Sat, 1 Oct 2011 01:29:47 +0000 (01:29 +0000)]
- Additional.lyx: minor tweaks
- German Additional.lyx: update to English version, translation of section 8 which hopefully fixes #7748

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39792 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoto succesfully link lyx on mac the AppKit framework is needed only
Stephan Witt [Fri, 30 Sep 2011 16:05:46 +0000 (16:05 +0000)]
to succesfully link lyx on mac the AppKit framework is needed only

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39791 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoclose floating dock widgets (not currently docked) with escape keypress event
Stephan Witt [Thu, 29 Sep 2011 18:52:36 +0000 (18:52 +0000)]
close floating dock widgets (not currently docked) with escape keypress event

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39787 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoMake export to XHTML work when there are included ODG pictures,
Tommaso Cucinotta [Thu, 29 Sep 2011 14:04:02 +0000 (14:04 +0000)]
Make export to XHTML work when there are included ODG pictures,
or any other graphic format that:
- is exportable to EPS
- could not be explicitly exported to PNG yet (i.e., source to PNG was not reachable on the converters graph)
Now, adding the EPS to PNG conversion explicitly allows LyX to find the conversion path.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39786 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoInsetTabular.cpp: whitespace only
Uwe Stöhr [Thu, 29 Sep 2011 13:39:48 +0000 (13:39 +0000)]
InsetTabular.cpp: whitespace only

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39785 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoReenable use of Package.cpp as source to translation
Kornel Benko [Thu, 29 Sep 2011 11:55:29 +0000 (11:55 +0000)]
Reenable use of Package.cpp as source to translation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39784 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoremove framework settings which are provided by automake now
Stephan Witt [Thu, 29 Sep 2011 08:53:59 +0000 (08:53 +0000)]
remove framework settings which are provided by automake now

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39783 a592a061-630c-0410-9148-cb99ea01b6c8

12 years ago* sk.po
Kornel Benko [Wed, 28 Sep 2011 09:00:02 +0000 (09:00 +0000)]
* sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39782 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoWith the move from \regexp{...} to \regexp{...\endregexp{}}, now I'd need
Tommaso Cucinotta [Tue, 27 Sep 2011 23:09:31 +0000 (23:09 +0000)]
With the move from \regexp{...} to \regexp{...\endregexp{}}, now I'd need
a special method to find \endregexp{}}, not merely the closing brace.
This is now obsolete, so ok to remove this dead code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39780 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoFix bug #7796 (LyX creates file on startup that cannot be deleted)
Enrico Forestieri [Tue, 27 Sep 2011 20:07:41 +0000 (20:07 +0000)]
Fix bug #7796 (LyX creates file on startup that cannot be deleted)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39779 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoUpdate it.po
Enrico Forestieri [Tue, 27 Sep 2011 18:02:01 +0000 (18:02 +0000)]
Update it.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39778 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoAllow \nocite again with the basic citation engine.
Julien Rioux [Tue, 27 Sep 2011 17:13:07 +0000 (17:13 +0000)]
Allow \nocite again with the basic citation engine.

Fix a bug introduced in r26547. Also reorders the entries for
natbib-numerical into a more natural, visually pleasing order.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39777 a592a061-630c-0410-9148-cb99ea01b6c8

12 years ago- some po-files: remerge
Uwe Stöhr [Tue, 27 Sep 2011 16:03:14 +0000 (16:03 +0000)]
- some po-files: remerge
- de.po: translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39775 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoFix another thinko from r38243.
Enrico Forestieri [Tue, 27 Sep 2011 07:28:12 +0000 (07:28 +0000)]
Fix another thinko from r38243.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39773 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoLink against Cocoa and/or Carbon for Mac OS X. This is needed for autoOpen and Linkback.
Jean-Marc Lasgouttes [Tue, 27 Sep 2011 07:27:19 +0000 (07:27 +0000)]
Link against Cocoa and/or Carbon for Mac OS X. This is needed for autoOpen and Linkback.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39772 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoFix the following problem with Python 2.4:
Enrico Forestieri [Mon, 26 Sep 2011 15:57:17 +0000 (15:57 +0000)]
Fix the following problem with Python 2.4:

Traceback (most recent call last):
  File "/opt/src/lyx-devel/lib/scripts/lyxpreview2bitmap.py", line 535, in ?
    exit(main(sys.argv)[0])
TypeError: 'str' object is not callable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39769 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoPatch from Raphael Kubo de Costa to fix build on FreeBSD.
Richard Heck [Mon, 26 Sep 2011 15:51:28 +0000 (15:51 +0000)]
Patch from Raphael Kubo de Costa to fix build on FreeBSD.

http://marc.info/?l=lyx-devel&m=131586604331711&w=2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39768 a592a061-630c-0410-9148-cb99ea01b6c8

12 years ago- UserGuide.lyx: some stylistic changes
Uwe Stöhr [Sun, 25 Sep 2011 21:51:56 +0000 (21:51 +0000)]
- UserGuide.lyx: some stylistic changes
- German UserGuide.lyx: lots of translation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39767 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agopowerdot-example.lyx: add warning about incompatibilities with enumitem that are...
Uwe Stöhr [Sun, 25 Sep 2011 21:40:10 +0000 (21:40 +0000)]
powerdot-example.lyx: add warning about incompatibilities with enumitem that are now fixed in the latest powerdot version
(patch by Jean-Pierre)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39765 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoMake sure to check command for emptiness, instead of prefix+command.
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

12 years agoApparently, the env program does not strip quotes around the values of the
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

12 years agoThe second argument of Systemcall::startscript is supposed to be encoded
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

12 years agoAdjust the simple parser in ForkedCalls.cpp to also account for quotes
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

12 years agoManage the setting of the latex environment for Systemcall and ForkedCall
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

12 years ago* Fix merging of cells (multicolumn, multirow) when the first cell in the selection...
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

12 years agoAs for setMultiRow, check border status _before_ merging, thus fixing border allocati...
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

12 years agoDo not change, even if temporarily, the environment of the main process
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

12 years agoFix bug #7764 by ordering the formats according to translated strings.
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

12 years agoFix bug #3821 by allowing insertStringAs* to reset the cursor.
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

12 years agoFix typo.
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

12 years agoFix the tab ordering of GuiDocument components.
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

12 years agoFix the tab ordering of PanelStack and PrefsUi.
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

12 years agoDon't allow newline characters in document settings.
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

12 years agoRename QLineEdit widgets to have a LE suffix (consistent within GuiDocument).
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

12 years agoMove the NoNewLineValidator to Validator.cpp where it fits better.
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

12 years agoAlso set TEXINPUTS when launching ForkedCall processes.
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

12 years agoLet lyxpreview2bitmap.py also work on Windows when the PyWin extension modules
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

12 years agoComment out unused function.
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

12 years agoYet another unused variable.
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

12 years agoAnother unused variable.
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

12 years agoFix a couple unused variable warnings.
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

12 years agoFix bottom border allocation when setting a multirow.
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

12 years ago#7778 avoid toggle of languages when LFUN_LANGUAGE is executed
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

12 years ago* InsetTabular.cpp: fix logic of multirow top/bottom line output (bug #7578)
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

12 years agoTypo.
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

12 years agosvglobal3.layout, svcommon.inc: fix some parser warnings
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

12 years agoAdditional.lyx: remove some unused references to squash LaTeX warnings
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

12 years agopass help to automake configure to get the complete help output
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

12 years agoFix bug introduced in r39705 (was making .eps.gz not work anymore).
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

12 years agoFixes to Format.{h,cpp} following advices from Richard and Vincent.
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

12 years ago* sk.po
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

12 years agolibreoffice2eps.py: add missing things from r39707
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

12 years ago* RELEASE-NOTES
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

12 years agoDocumenting the new -E command-line option (added in r39678).
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

12 years agoMoving the zipped file info cache to Formats.cpp saves the inclusion of <map> and...
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

12 years agoUpdated man page information about exported files.
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

12 years agoAdding the script missing from last commit.
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

12 years agoAdded OpenOffice drawing file-format.
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

12 years agoAdded support for natively zipped file formats that do not need decompression for...
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

12 years agoAdded new option -E (--export-to) to man page.
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

12 years agoRevert guiName to Spreadsheet (was part of r39675).
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

12 years agoWhen changing the document language, also change the language of the
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

12 years agoFix bug #7621 (Images are not displayed if path of temp folder contains accented...
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

12 years ago* configure.py : Detect java and perl scripts in a general way.
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

12 years ago* configure.py : Add lyxpreview unconditionnally.
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

12 years agoMake the scrolling for large insets more naturally (bug #7662)
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

12 years agofinally commit the fix for #7607.
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

12 years agoRevert unintended part of r39694.
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

12 years agoUpdate the toolbars when the GuiView is shown
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

12 years agoAlso include in the archive the files referenced in ERT in the document body.
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

12 years agoUse the normalized path for checking whether it has already been gathered.
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

12 years agoCheck whether the filename is really a file. Also protect against recursive
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

12 years ago* de.po: some corrections.
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

12 years ago* sk.po
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

12 years agoBetter label for index list.
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

12 years agoTypo.
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

12 years agoGet default font color and background color working for XHTML export.
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

12 years agoAdded -E option to specify export format and destination file-name (and export folder).
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

12 years ago* sk.po
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

12 years agoFix the guiName of external insets.
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

12 years agoFile filters for InsetExternal were also missing a description.
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

12 years agoFix the file filters for InsetInclude.
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

12 years agoFix the display of file filters in the import file dialog.
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

12 years agoShow .htm files in HTML import file dialog (#6340).
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

12 years agoAllow to assign several extension to a given file format (#4798).
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

12 years agoWhitespace.
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

12 years ago* prefs2prefs.py : Use a list of [format, conversions] pair.
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

12 years ago* prefs2prefs.py : Error when both -l and -p are given, update usage.
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

12 years ago* prefs2prefs.py : Don't choke on empty input file.
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

12 years ago* layout2layout.py : Don't choke on empty input file.
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

12 years agoDon't allow newline characters in preference (#5840).
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

12 years agoMark settings as changed when the Nomenclature line is edited.
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

12 years agoFix the tab ordering of GuiPrefs components.
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

12 years agoRefine the lyxpreview legacy conversion (the ghostscript one).
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

12 years agoBetter error and progress messages for lyxpreview.
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

12 years agoMerge the preview mechanism for japanese with the standard one.
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