]> git.lyx.org Git - lyx.git/log
lyx.git
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

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

12 years agoAdd command-line arguments to lyxpreview2bitmap.py
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

12 years agoSome clean up of the lyxpreview code.
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

12 years agoStylictic-only changes to lyxpreview.
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

12 years agoImplement GuiNomenclature::initialiseParams(), thus restoring the
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

12 years agorevive Ctrl-space in mathed.
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

12 years ago* configure.py : Fixup r39643, srcdir is a string containing the basepath to configure.py
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

12 years ago* configure.py : Fix the detection of tex2lyx when running in-place (#6986).
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

12 years ago* configure.py : Fix the rc entry when tex2lyx is not found (#3308).
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

12 years ago* configure.py : Fix the gnumeric converters.
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

12 years ago* configure.py : Remove unnecessary code in xhtml viewer detection.
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

12 years ago* configure.py : Fix the detection of splitindex (#7579)
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

12 years ago* configure.py : Fix the detection of htmltolatex (#6339)
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

12 years ago* configure.py : Check for java and perl interpreters.
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

12 years agoUpdate it.po
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

12 years agoFix bug #7721. We don't need to do anything here other than output
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

12 years agoRemove unused code.
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

12 years agoMake InsetInfo output a path matching the LaTeX compiler.
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

12 years agoLeave alone the header and add the include where it is needed.
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

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

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

12 years agoinstaller: fix a typo for Dutch
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

12 years agosweave.module: more precise description text
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

12 years agoinclude Qt translations for our private bundle
Stephan Witt [Mon, 5 Sep 2011 18:24:54 +0000 (18:24 +0000)]
include Qt translations for our private bundle

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

12 years agoinstaller:
Uwe Stöhr [Mon, 5 Sep 2011 07:20:53 +0000 (07:20 +0000)]
installer:
- fix bug that LyX's LaTeX files were tried to install although the user denied to use LaTeX.nsh
- propose to add a desktop item for LyX (can be switched off by the user)

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

12 years agoinstaller: fix loading of the LaTeX selection page
Uwe Stöhr [Mon, 5 Sep 2011 06:59:18 +0000 (06:59 +0000)]
installer: fix loading of the LaTeX selection page

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

12 years agoinstaller:
Uwe Stöhr [Mon, 5 Sep 2011 06:09:13 +0000 (06:09 +0000)]
installer:
- fix 2 uninstaller issues
- remove support for AFPL Ghostscript (license clash)
- only install Ghostscript if not already installed
- in case there are several Ghostscript installations, use the newest one
- remove an unused variable

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

12 years agoFix bug #7608 (Wrong path separator used for Inkscape on Windows)
Julien Rioux [Sat, 3 Sep 2011 20:27:31 +0000 (20:27 +0000)]
Fix bug #7608 (Wrong path separator used for Inkscape on Windows)

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

12 years agoFix compile error with gcc 4.5.3 when using the included mythes library:
Enrico Forestieri [Sat, 3 Sep 2011 16:10:07 +0000 (16:10 +0000)]
Fix compile error with gcc 4.5.3 when using the included mythes library:
../../src/support/mythes/mythes.hxx:25:9: error: ‘FILE’ does not name a type
../../src/support/mythes/mythes.hxx:55:22: error: ‘FILE’ has not been declared

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

12 years agoFix bug #7751: Sort the modules and formats by translated string.
Richard Heck [Fri, 2 Sep 2011 18:40:06 +0000 (18:40 +0000)]
Fix bug #7751: Sort the modules and formats by translated string.

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

12 years agoinstaller: updates
Uwe Stöhr [Wed, 31 Aug 2011 21:08:45 +0000 (21:08 +0000)]
installer: updates

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

12 years ago- Customization.lyx: add new possible font types uuline, strikeout and uwave
Uwe Stöhr [Wed, 31 Aug 2011 16:04:18 +0000 (16:04 +0000)]
- Customization.lyx: add new possible font types uuline, strikeout and uwave
- German Customization.lyx: lot of refactoring

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

12 years ago- English Additional.lyx: some updates
Uwe Stöhr [Wed, 31 Aug 2011 14:22:23 +0000 (14:22 +0000)]
- English Additional.lyx: some updates
- German Additional.lyx: some corrections and some LaTeX warnings fixed

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

12 years ago#7681 adjust the cursor language after document language change had changed the text...
Stephan Witt [Mon, 29 Aug 2011 17:25:44 +0000 (17:25 +0000)]
#7681 adjust the cursor language after document language change had changed the text language

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

12 years agoFix bug #6170 (Latex Compiler error when lyx file is located in a path which contains...
Enrico Forestieri [Mon, 29 Aug 2011 17:02:27 +0000 (17:02 +0000)]
Fix bug #6170 (Latex Compiler error when lyx file is located in a path which contains a "#")
This removes \input@path handling.

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

12 years agoFix bug #7586 (Temporary file chkconfig.ltx in user directory not deleted if configur...
Enrico Forestieri [Mon, 29 Aug 2011 16:44:29 +0000 (16:44 +0000)]
Fix bug #7586 (Temporary file chkconfig.ltx in user directory not deleted if configure fails)

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

12 years agoAvoid code duplication.
Enrico Forestieri [Mon, 29 Aug 2011 16:23:58 +0000 (16:23 +0000)]
Avoid code duplication.

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

12 years agoUpdate the python requirements after r39553 and r39554. The subprocess module,
Julien Rioux [Mon, 29 Aug 2011 14:36:37 +0000 (14:36 +0000)]
Update the python requirements after r39553 and r39554. The subprocess module,
now used in configure.py, requires python >= 2.4. See the mailing list thread:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg170511.html

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

12 years agoFORMAT: update to final commit number
Uwe Stöhr [Mon, 29 Aug 2011 14:09:56 +0000 (14:09 +0000)]
FORMAT: update to final commit number

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

12 years agoInsetSpace support for
Uwe Stöhr [Mon, 29 Aug 2011 14:07:30 +0000 (14:07 +0000)]
InsetSpace support for
- \negmedspace and \negthickspace outside of math
- \enspace, \hspace*, \hspace*{\fill} and \hfill inside math
(fileformat change)

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

12 years ago* sk.po
Kornel Benko [Mon, 29 Aug 2011 11:46:54 +0000 (11:46 +0000)]
* sk.po

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

12 years agoFix bug #7718 (Configure fails if shell autorun commands are enabled in the registry)
Enrico Forestieri [Sun, 28 Aug 2011 22:57:58 +0000 (22:57 +0000)]
Fix bug #7718 (Configure fails if shell autorun commands are enabled in the registry)

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

12 years agoClose stdin of the command spawn by subprocess.Popen, otherwise the
Enrico Forestieri [Sun, 28 Aug 2011 22:29:38 +0000 (22:29 +0000)]
Close stdin of the command spawn by subprocess.Popen, otherwise the
command hangs if something goes wrong. Also allow any kind of line endings.

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

12 years agoProtect against autorun commands on Windows (see also bug #7718).
Enrico Forestieri [Sun, 28 Aug 2011 16:53:38 +0000 (16:53 +0000)]
Protect against autorun commands on Windows (see also bug #7718).

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

12 years ago- tufte-book.layout: fix a lyX warning about uninitialized counter
Uwe Stöhr [Sun, 28 Aug 2011 16:49:16 +0000 (16:49 +0000)]
- tufte-book.layout: fix a lyX warning about uninitialized counter
- tufte example files: add important notes that float placements options are not allowed and remove unreferenced labels

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

12 years agoAllow batch files with QProcess.
Enrico Forestieri [Sun, 28 Aug 2011 16:45:46 +0000 (16:45 +0000)]
Allow batch files with QProcess.

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

12 years ago- EmbeddedObjects.lyx: fix a nasty caption formatting bug spotted by Ignacio
Uwe Stöhr [Sun, 28 Aug 2011 13:37:30 +0000 (13:37 +0000)]
- EmbeddedObjects.lyx: fix a nasty caption formatting bug spotted by Ignacio
- Spanish EmbeddedObjects.lyx: some fixes by Ignacio

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

12 years agonew module and example file for chemical risk and safety statements; requires the...
Uwe Stöhr [Sun, 28 Aug 2011 03:59:16 +0000 (03:59 +0000)]
new module and example file for chemical risk and safety statements; requires the package rsphrase which is bundled with the package mhchem that we already support

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

12 years agoinitials.module: safer preamble call, no string changed, necessary to be able to...
Uwe Stöhr [Sun, 28 Aug 2011 03:36:34 +0000 (03:36 +0000)]
initials.module: safer preamble call, no string changed, necessary to be able to compile the EmbeddedObjects manual also if the package lettrine is not installed

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

12 years ago- Spanish documentation files: translations by Ignacio
Uwe Stöhr [Sun, 28 Aug 2011 03:36:23 +0000 (03:36 +0000)]
- Spanish documentation files: translations by Ignacio
- English EmbeddedObjects.lyx: fix a typo spotted by Ignacio
- EmbeddedObjects.lyx: make the file compilable also if the LaTeX-package lettrine is not installed

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

12 years ago- German UserGuide.lyx: remove some fixed path that would make the document uncompilable
Uwe Stöhr [Sun, 28 Aug 2011 01:15:22 +0000 (01:15 +0000)]
- German UserGuide.lyx: remove some fixed path that would make the document uncompilable
- Spanish UserGuide.lyx: some tweaks

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

12 years agoDisable space tyes that are not supported in mathed (for these, a thinspace was inser...
Jürgen Spitzmüller [Sat, 27 Aug 2011 10:58:48 +0000 (10:58 +0000)]
Disable space tyes that are not supported in mathed (for these, a thinspace was inserted as a fallback).

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

12 years agoIssue the math space dialog (not the text one) when in math (bug 7746).
Jürgen Spitzmüller [Sat, 27 Aug 2011 10:45:59 +0000 (10:45 +0000)]
Issue the math space dialog (not the text one) when in math (bug 7746).

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