]>
git.lyx.org Git - features.git/log
Julien Rioux [Tue, 13 Sep 2011 21:50:07 +0000 (21:50 +0000)]
Fix the guiName of external insets.
- Remove hack with $$AbsOrRelPath substitution in the guiName.
Instead, let LyX display the filename automatically in the gui,
consistent with InsetInclude.
- Use the guiName in the drop-down menu in the dialog instead of the
internal lyxName. These guiNames ought to be more descriptive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39675
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Tue, 13 Sep 2011 21:49:52 +0000 (21:49 +0000)]
File filters for InsetExternal were also missing a description.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39674
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Tue, 13 Sep 2011 20:43:06 +0000 (20:43 +0000)]
Fix the file filters for InsetInclude.
Add an empty filter for listings and verbatim includes. This will
display as the standard string "All files (*)".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39673
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Tue, 13 Sep 2011 20:42:55 +0000 (20:42 +0000)]
Fix the display of file filters in the import file dialog.
- Correctly interpret whether a file description is available.
This description is later displayed in the file filters in the
import dialog (and other dialogs using this qt helper).
- Fix the regex so that "LaTeX (plain) (*.tex)" is correctly parsed
into a description "LaTeX (plain) " and its corresponding filter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39672
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Tue, 13 Sep 2011 20:42:38 +0000 (20:42 +0000)]
Show .htm files in HTML import file dialog (#6340).
- Add "htm" as a known extension for HTML.
- Use all the extensions of a format as file filter,
instead of using only the default extension.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39671
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Tue, 13 Sep 2011 20:42:23 +0000 (20:42 +0000)]
Allow to assign several extension to a given file format (#4798).
Additionnal extensions are separated by commas (,) in lyxrc
preference files, while spaces are ignored, e.g. "jpg, jpeg".
Preference lyxrc file format incremented to 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39670
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 13 Sep 2011 12:39:43 +0000 (12:39 +0000)]
Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39669
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 20:43:06 +0000 (20:43 +0000)]
* prefs2prefs.py : Use a list of [format, conversions] pair.
Use a list of [int, list of functions] pair, representing
- int: the format number, and
- list of functions: what needs to be done to the file to
update it to the given format number.
This matches what is done in lyx2lyx and helps keeping track of
format numbers and their corresponding conversion routines.
Also, add another sanity check.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39668
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 20:42:53 +0000 (20:42 +0000)]
* prefs2prefs.py : Error when both -l and -p are given, update usage.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39667
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 20:42:40 +0000 (20:42 +0000)]
* prefs2prefs.py : Don't choke on empty input file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39666
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 20:42:22 +0000 (20:42 +0000)]
* layout2layout.py : Don't choke on empty input file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39665
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 14:22:05 +0000 (14:22 +0000)]
Don't allow newline characters in preference (#5840).
Set a validator on QLineEdit widgets. The validator removes any
\n and \r characters, thus preventing users from copy-pasting
newline characters into these fields, and subsequently saving
them, inadvertantly, to the preference file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39664
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 14:22:01 +0000 (14:22 +0000)]
Mark settings as changed when the Nomenclature line is edited.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39663
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Mon, 12 Sep 2011 14:19:57 +0000 (14:19 +0000)]
Fix the tab ordering of GuiPrefs components.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39662
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:23:41 +0000 (18:23 +0000)]
Refine the lyxpreview legacy conversion (the ghostscript one).
- Break up steps 1, 2 and 3 from the legacy preview mechanism.
These are really separate steps.
1) Add color info, run latex
2) Run dvips
3) Run ghostscript
- In the case of pdf output, skip step 2 and go directly to step 3.
- Make sure that we fall back to the legacy conversion whenever we can.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39661
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:23:29 +0000 (18:23 +0000)]
Better error and progress messages for lyxpreview.
Introduce --debug and --verbose flags to control output. Also, use the
python subprocess module to capture stderr from external commands, thus
bumping the python requirement to version 2.4 or later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39660
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:23:15 +0000 (18:23 +0000)]
Merge the preview mechanism for japanese with the standard one.
- Japanese is now handled by passing the option --latex=platex
to the standard lyxpreview script. This is done in PreviewLoader.
- Remove obsoleted file lyxpreview-platex2bitmap.py and the
corresponding lines in the configure script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39659
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:22:59 +0000 (18:22 +0000)]
Merge the preview mechanism for lilypond-book with the standard one.
- Handle the preprocessing in the main lyxpreview script with the
command-line arguments --lilypond and --lilypond-book=exe.
- Remove the obsoleted file lyxpreview-lytex2bitmap.py and the
corresponding lines in configure.py.
Fix for the japanese preview still to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39658
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:22:43 +0000 (18:22 +0000)]
Add command-line arguments to lyxpreview2bitmap.py
Add command-line arguments in a standard unix fashion, using getopt.
Usage: ./lyxpreview2bitmap.py <options> <input file>
Options:
-h, --help: Show this help screen and exit
--dpi=<res>: Resolution per inch (default: 128)
--png, --ppm: Select the output format (default: png)
--fg=<color>: Foreground color (default: black, ie '000000')
--bg=<color>: Background color (default: white, ie 'ffffff')
--latex=<exe>: Specify the executable for latex (default: latex)
The colors are hexadecimal strings, eg 'faf0e6'.
The changes to PreviewLoader.cpp break the preview of lilypond-book
and japanese files, but they will be handled in the next commits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39657
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:22:29 +0000 (18:22 +0000)]
Some clean up of the lyxpreview code.
Move some common variables to lyxpreview_tools. Otherwise,
add a few variable names, making it easier to track things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39656
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Sun, 11 Sep 2011 18:22:12 +0000 (18:22 +0000)]
Stylictic-only changes to lyxpreview.
Whitespace and line endings only, in preparation for some serious work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39655
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 11 Sep 2011 14:14:04 +0000 (14:14 +0000)]
Implement GuiNomenclature::initialiseParams(), thus restoring the
ability to take the symbol from an explicit or implicit selection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39651
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 10 Sep 2011 05:35:54 +0000 (05:35 +0000)]
revive Ctrl-space in mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39649
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Thu, 8 Sep 2011 12:11:16 +0000 (12:11 +0000)]
* configure.py : Fixup r39643, srcdir is a string containing the basepath to configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39645
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:59:23 +0000 (23:59 +0000)]
* configure.py : Fix the detection of tex2lyx when running in-place (#6986).
Remove the hack with os.environ and instead directly search for
../src/tex2lyx/tex2lyx relative to where configure.py is found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39643
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:59:14 +0000 (23:59 +0000)]
* configure.py : Fix the rc entry when tex2lyx is not found (#3308).
We still define the tex2lyx converter but we emit a warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39642
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:57:07 +0000 (23:57 +0000)]
* configure.py : Fix the gnumeric converters.
They were tied to undefined formats ods and xls. The actual
internal names for these formats are oocalc and excel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39641
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:56:59 +0000 (23:56 +0000)]
* configure.py : Remove unnecessary code in xhtml viewer detection.
This code seems unnecessary since not_found = "auto" is set in
checkViewer, and thus "auto" is used as the viewer when no viewers
are found, and a lyxrc entry is added anyway. The "auto" string is
special-cased in the code, where we attempt to automatically
determine the viewer from the OS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39640
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:56:47 +0000 (23:56 +0000)]
* configure.py : Fix the detection of splitindex (#7579)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39639
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:56:38 +0000 (23:56 +0000)]
* configure.py : Fix the detection of htmltolatex (#6339)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39638
a592a061 -630c-0410-9148-
cb99ea01b6c8
Julien Rioux [Wed, 7 Sep 2011 23:56:28 +0000 (23:56 +0000)]
* configure.py : Check for java and perl interpreters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39637
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 7 Sep 2011 22:30:10 +0000 (22:30 +0000)]
Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39636
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 7 Sep 2011 22:25:25 +0000 (22:25 +0000)]
Fix bug #7721. We don't need to do anything here other than output
our paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39634
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 7 Sep 2011 21:47:36 +0000 (21:47 +0000)]
Remove unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39632
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 7 Sep 2011 08:14:10 +0000 (08:14 +0000)]
Make InsetInfo output a path matching the LaTeX compiler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39629
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Wed, 7 Sep 2011 08:05:44 +0000 (08:05 +0000)]
Leave alone the header and add the include where it is needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39628
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 7 Sep 2011 06:27:54 +0000 (06:27 +0000)]
* de.po: some corrections.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39626
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Tue, 6 Sep 2011 11:40:42 +0000 (11:40 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39616
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 6 Sep 2011 03:47:50 +0000 (03:47 +0000)]
installer: fix a typo for Dutch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39614
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 6 Sep 2011 03:14:51 +0000 (03:14 +0000)]
sweave.module: more precise description text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39610
a592a061 -630c-0410-9148-
cb99ea01b6c8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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