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

12 years agoFix recursive repaint problem.
Tommaso Cucinotta [Sat, 27 Aug 2011 10:21:59 +0000 (10:21 +0000)]
Fix recursive repaint problem.
See also: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg170468.html

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

12 years agorevert part of the last commit that should not have been
Julien Rioux [Fri, 26 Aug 2011 23:46:52 +0000 (23:46 +0000)]
revert part of the last commit that should not have been

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

12 years agoconfigure.py : subprocess, second try (check_output requires
Julien Rioux [Fri, 26 Aug 2011 23:29:37 +0000 (23:29 +0000)]
configure.py : subprocess, second try (check_output requires
python 2.7 and throws unwanted exceptions when the process
return value is not 0

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

12 years agoRevert "The call to cmdOutput can throw an exception, so we need to be careful".
Richard Heck [Fri, 26 Aug 2011 23:13:34 +0000 (23:13 +0000)]
Revert "The call to cmdOutput can throw an exception, so we need to be careful".
This will make reverting the previous commit easier.

This reverts commit 82ab1aef334d8573cc3e861e2620d9b4c59f88fe.

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

12 years agoFix infinite loop reported on the list, which revealed another, which
Richard Heck [Fri, 26 Aug 2011 23:06:19 +0000 (23:06 +0000)]
Fix infinite loop reported on the list, which revealed another, which
revealed another. So fix a bunch of such things.

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

12 years agoThe call to cmdOutput can throw an exception, so we need to be careful
Richard Heck [Fri, 26 Aug 2011 23:06:15 +0000 (23:06 +0000)]
The call to cmdOutput can throw an exception, so we need to be careful
here, lest configure.py abort.

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

12 years agolilypond.lyx: some tweaks; Julien, having you at least in a note as author is our...
Uwe Stöhr [Fri, 26 Aug 2011 21:38:28 +0000 (21:38 +0000)]
lilypond.lyx: some tweaks; Julien, having you at least in a note as author is our common way because it has the advantage that people can contact you directly if there are problems (you are listed in the credits)

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

12 years agoconfigure.py : replace os.popen with subprocess.Popen
Julien Rioux [Fri, 26 Aug 2011 17:11:50 +0000 (17:11 +0000)]
configure.py : replace os.popen with subprocess.Popen

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

12 years agoconfigure.py : make sure latex exits gracefully
Julien Rioux [Fri, 26 Aug 2011 17:11:48 +0000 (17:11 +0000)]
configure.py : make sure latex exits gracefully

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

12 years agolilypond.lyx : add introductory text, minor tweaks
Julien Rioux [Fri, 26 Aug 2011 17:10:20 +0000 (17:10 +0000)]
lilypond.lyx : add introductory text, minor tweaks

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

12 years agoUpdate FSF address, patch from cornelisbb, #7735.
Pavel Sanda [Thu, 25 Aug 2011 23:10:36 +0000 (23:10 +0000)]
Update FSF address, patch from cornelisbb, #7735.

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

12 years agoUpdate it.po
Enrico Forestieri [Thu, 25 Aug 2011 19:21:12 +0000 (19:21 +0000)]
Update it.po

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

12 years agoFixed longstanding bug in Advanced Find&Replace, when dealing with documents containi...
Tommaso Cucinotta [Thu, 25 Aug 2011 19:16:14 +0000 (19:16 +0000)]
Fixed longstanding bug in Advanced Find&Replace, when dealing with documents containing braces.
Corresponding test-case needed a fix as well and now it is passed.

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

12 years agoSpanish UserGuide.lyx: translations by Ignacio
Uwe Stöhr [Thu, 25 Aug 2011 16:51:56 +0000 (16:51 +0000)]
Spanish UserGuide.lyx: translations by Ignacio

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

12 years agoMake the Buffer class non-copyable, otherwise LyX crashes when 'Impl * const d' is...
Vincent van Ravesteijn [Wed, 24 Aug 2011 19:10:40 +0000 (19:10 +0000)]
Make the Buffer class non-copyable, otherwise LyX crashes when 'Impl * const d' is deleted while deleting a copy of the Buffer.

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

12 years agoOn Windows, also fix call to octave (related to bug #7715).
Enrico Forestieri [Tue, 23 Aug 2011 18:45:46 +0000 (18:45 +0000)]
On Windows, also fix call to octave (related to bug #7715).

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

12 years ago* sk.po
Kornel Benko [Tue, 23 Aug 2011 11:48:04 +0000 (11:48 +0000)]
* sk.po

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

12 years agoRevert part of r39509 that was not supposed to go in.
Jean-Marc Lasgouttes [Tue, 23 Aug 2011 10:42:35 +0000 (10:42 +0000)]
Revert part of r39509 that was not supposed to go in.

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

12 years agoAdd possibility to export the R code from a sweave-enabled document
Jean-Marc Lasgouttes [Tue, 23 Aug 2011 10:33:42 +0000 (10:33 +0000)]
Add possibility to export the R code from a sweave-enabled document
(patch from yihui, part of #7555)
http://www.lyx.org/trac/ticket/7555#comment:18

This adds the new format "R/S code" with extension .R and a converter from .Rnw.

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

12 years ago#7740 Add undo for change of text language with LFUN_BUFFER_LANGUAGE
Stephan Witt [Tue, 23 Aug 2011 10:22:14 +0000 (10:22 +0000)]
#7740 Add undo for change of text language with LFUN_BUFFER_LANGUAGE
When a document is not multi-lingual the text contents is changed
to the new language. This should be recorded for Undo.
Because Undo wants a cursor the implemantation has to be
moved to the BufferView class.

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

12 years agoSweave support cleanup (patch from yihui, see #7555)
Jean-Marc Lasgouttes [Tue, 23 Aug 2011 09:52:21 +0000 (09:52 +0000)]
Sweave support cleanup (patch from yihui, see #7555)
http://www.lyx.org/trac/ticket/7555

This part is a simple cleanup:

 * rename variables to start with a dot
 * reset encoding after running sweave
 * improve on-screen display of code chunks

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

12 years agoCMake: Simplify the fix for the path to gettext-tools. The problem was that the first...
Vincent van Ravesteijn [Mon, 22 Aug 2011 11:01:41 +0000 (11:01 +0000)]
CMake: Simplify the fix for the path to gettext-tools. The problem was that the first " was in the wrong place.

see r39491 and thanks Kornel.

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

12 years agoFix #7715 (Lyx 2.0.0 doesn't work with Mathematica 8: call to 'math' problem?)
Enrico Forestieri [Mon, 22 Aug 2011 01:39:49 +0000 (01:39 +0000)]
Fix #7715 (Lyx 2.0.0 doesn't work with Mathematica 8: call to 'math' problem?)
The fix also allows to execute again batch files when using runCommand.
Unfortunately, this is still not possible with QProcess as that code is not
under our control.

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

12 years agocorrect spell check request for Paragraph::changeLanguage()
Stephan Witt [Sat, 20 Aug 2011 13:54:02 +0000 (13:54 +0000)]
correct spell check request for Paragraph::changeLanguage()

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

12 years agoadd missing spell check requests for Paragraph::appendChar() and Paragraph::appendStr...
Stephan Witt [Sat, 20 Aug 2011 13:51:38 +0000 (13:51 +0000)]
add missing spell check requests for Paragraph::appendChar() and Paragraph::appendString()

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

12 years agocorrect implementation of "mark whole paragraph" for spell check
Stephan Witt [Sat, 20 Aug 2011 13:48:19 +0000 (13:48 +0000)]
correct implementation of "mark whole paragraph" for spell check

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

12 years agoUserGuide.lyx: fix some issues and typos spotted by Ignacio
Uwe Stöhr [Sat, 20 Aug 2011 01:11:07 +0000 (01:11 +0000)]
UserGuide.lyx: fix some issues and typos spotted by Ignacio

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

12 years agoinstaller: fix now all compiler warnings
Uwe Stöhr [Fri, 19 Aug 2011 22:19:09 +0000 (22:19 +0000)]
installer: fix now all compiler warnings

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

12 years agoinstaller: squash all warnings (except of one that comes later); remove unused code
Uwe Stöhr [Fri, 19 Aug 2011 21:38:26 +0000 (21:38 +0000)]
installer: squash all warnings (except of one that comes later); remove unused code

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

12 years agoinstaller: complete fix (r39492)
Uwe Stöhr [Fri, 19 Aug 2011 21:17:29 +0000 (21:17 +0000)]
installer: complete fix (r39492)

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

12 years agocmake: fix buggy profile option handling
Peter Kümmel [Fri, 19 Aug 2011 18:04:41 +0000 (18:04 +0000)]
cmake: fix buggy profile option handling

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

12 years agoWin Installer: LyXLauncher does no longer exist.
Vincent van Ravesteijn [Fri, 19 Aug 2011 14:21:43 +0000 (14:21 +0000)]
Win Installer: LyXLauncher does no longer exist.

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

12 years agoWin Installer: Fix the path to the install options file. This file was copied from...
Vincent van Ravesteijn [Fri, 19 Aug 2011 14:08:59 +0000 (14:08 +0000)]
Win Installer: Fix the path to the install options file. This file was copied from AltInstaller where it was in the main directory.

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

12 years agoCMake: Fix the path to gettext-tools. The deps20 folder was already included in GNUWI...
Vincent van Ravesteijn [Fri, 19 Aug 2011 14:05:51 +0000 (14:05 +0000)]
CMake: Fix the path to gettext-tools. The deps20 folder was already included in GNUWIN32. Besides, the construction with the hints variable did not seem to work.

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

12 years agoCMake: Add the same path hint for ICONV_DLL as for ICONV_DLL_HELP. Without this hint...
Vincent van Ravesteijn [Fri, 19 Aug 2011 14:04:51 +0000 (14:04 +0000)]
CMake: Add the same path hint for ICONV_DLL as for ICONV_DLL_HELP. Without this hint, the former could not be found while the latter could.

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

12 years ago* sk.po
Kornel Benko [Fri, 19 Aug 2011 06:40:58 +0000 (06:40 +0000)]
* sk.po

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

12 years agostdmenus.inc: correct previous commit
Uwe Stöhr [Thu, 18 Aug 2011 14:36:10 +0000 (14:36 +0000)]
stdmenus.inc: correct previous commit

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