Commit Graph

28159 Commits

Author SHA1 Message Date
Julien Rioux
46813f1b5b configure.py : Simplify things a bit. With this
commit, a program is checked only once instead of twice, and
it is added as alternative editor and viewer.  The ordering
of rc entries in lyxrc.defaults is changed slightly, but
nothing is lost.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39079 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:31:03 +00:00
Julien Rioux
9c9e43da3f configure.py : Allow to specify alt_type as a list.
The intend is to specify ['editor', 'viewer'] eventually.
Still no change in the produced output and in lyxrc.defaults

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39078 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:27:44 +00:00
Julien Rioux
580fa7ee3b configure.py : Remove more code duplication.
No change in output, at least none intended.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39077 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:24:30 +00:00
Richard Heck
77f0ce9a2b Fix bug #7630.
layout2layout is not smart enough to add "Flex:" to the names of
Flex insets only declared as such through CopyStyle. So these
have to be fixed manually.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39076 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:23:32 +00:00
Julien Rioux
834604ea5d configure.py : Remove code duplication (more to come).
No change in output, at least none intended.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39075 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 22:22:41 +00:00
Uwe Stöhr
82651265c0 - latex8.lyx and revtex.lyx: move these files to the attic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39073 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 20:32:02 +00:00
Uwe Stöhr
3230b55a72 Also for trunk:
- tufte example files: add info that one needs to have the font package "fpl" installed to compile them
- modernCV.lyx: save in current file format

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39072 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 20:26:27 +00:00
Jean-Marc Lasgouttes
ddd76c6b15 Tentative fix for bug #7545. Please test.
The problem is with sweave when the temp file path contains spaces. This patch adds some postprocessing that removes the reference to the temp dir.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39070 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 15:51:02 +00:00
Jean-Marc Lasgouttes
c820e4f8e2 Better fix for #7551. We can now handle several dots in the file name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39068 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 14:51:50 +00:00
Uwe Stöhr
d1b7fc972c enumitem.lyx: change German example to an English one as requested by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39066 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 14:32:01 +00:00
Uwe Stöhr
d719f6025a port my latest template file updates to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39064 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 14:15:43 +00:00
Uwe Stöhr
dc09611b34 layouts, templates, examples: port my latest changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39058 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-15 01:02:15 +00:00
Enrico Forestieri
0eedbdee03 Don't rely on Qt for setting an environment variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39049 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 18:06:57 +00:00
Uwe Stöhr
f037f9bace example files, template files, layout files: port my latest changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39048 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 16:32:44 +00:00
Pavel Sanda
9359d73dde Using pkgconfig to configure hunspell.
(hunspell 1.3 is not correctly recognized otherwise).

Patch from Rex Dieter, posted by Jose.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39040 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 14:32:42 +00:00
Richard Heck
fb503c0897 Update to French splash.lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39038 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 13:05:10 +00:00
Julien Rioux
3294e6429a configure.py : sort lists, remove superfluous line continuations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39037 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-13 18:57:29 +00:00
Julien Rioux
2dae004697 configure.py : white space only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39036 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-13 18:32:27 +00:00
Uwe Stöhr
49bb95efd7 doc-files: port latest changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39035 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-13 16:25:05 +00:00
Uwe Stöhr
726af94261 doc files: port latest changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39030 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-13 14:57:52 +00:00
Uwe Stöhr
8ada18a097 doc files: port latest changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39026 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-13 14:33:03 +00:00
Richard Heck
5c264ebdf3 Modify r38980 in response to Vincent's comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39021 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 18:03:32 +00:00
Tommaso Cucinotta
e607cbfbca Updated UserGuide after removal of macro insertion while in regexp mode.
Fixed regression case (now typing twice "\" leads to "\\", i.e., the regexp matching the backslash char).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39019 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 01:25:26 +00:00
Tommaso Cucinotta
3a603d760a Added test-case for regular expressions using "\" for backwards references (e.g., \1).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39018 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 01:23:07 +00:00
Tommaso Cucinotta
f67834bb22 Disabled possibility to type macros in regexp-mode. Now typing \ inserts a \ (no need to type twice) while in regexp mode.
Addressing issue 4. at: http://permalink.gmane.org/gmane.editors.lyx.devel/136992


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39017 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 01:19:07 +00:00
Tommaso Cucinotta
c7e609135a Now backslash-prefixed regexps like "\s", "\d", etc., are all understood by Advanced F&R.
Fixing issue 4 reported at: http://permalink.gmane.org/gmane.editors.lyx.devel/136992


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39016 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 00:12:26 +00:00
Tommaso Cucinotta
5a4f151fb8 Now a regexp inset with a \backslash compiles.
This is needed when instant preview is on,
so we avoid the empty preview due to latex compilation error.
Fixing issue 1. reported at: http://permalink.gmane.org/gmane.editors.lyx.devel/136992.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39015 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 23:21:14 +00:00
Uwe Stöhr
a9eba2825f installer: lyx.nsi: set missing SVN EOL style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39014 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 22:55:53 +00:00
Tommaso Cucinotta
314f995cf2 Now the cursor is visible while at the rightmost part of a regexp inset.
Fixing issue 2. reported at: http://permalink.gmane.org/gmane.editors.lyx.devel/136992.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39013 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 22:06:06 +00:00
Joost Verburg
c279ddd1b1 avoid some code duplication
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39012 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 20:20:22 +00:00
Kornel Benko
74a92a36d8 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39011 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 18:10:58 +00:00
Kornel Benko
0683f632d5 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39004 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 15:27:20 +00:00
Julien Rioux
8719c5c99c Fix bug #7620 (LaTeX \unit{} in math mode): The
commands displayed in the toolbar menu now
correspond with the internal LyX commands.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39002 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 15:20:03 +00:00
Julien Rioux
a7f0e15aee Update release notes about the export menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39001 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 15:16:59 +00:00
Peter Kümmel
0a051ef369 cmake: don't overwrite profiling option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39000 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 08:54:27 +00:00
Kornel Benko
cd861f10c5 Use decimal representation of QT_VERSION for moc-run in cmake build to match the qglobal.h computation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38997 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 23:00:28 +00:00
Kornel Benko
20d3484075 Compile fix for Qt 4.5 and earlier.
Update for cmake build.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38996 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 20:22:27 +00:00
Enrico Forestieri
c29440131a Compile fix for Qt 4.5 and earlier. The other build systems should update
the moc invocation to add the proper define for QT_VERSION.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38995 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 19:45:52 +00:00
Uwe Stöhr
995d343ec6 installer: settings.nsh: restore paths that I accidentally changed in r38820
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38992 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 16:57:52 +00:00
Uwe Stöhr
47f7f15603 installer:
- get rid if GSview (this will not be bundled)
- get rid of now unnecessary setting of PDF file format settings via lyxrc.dist
- fix deletion of LyX's preferences folder when the user selected this option in the uninstaller
- some fixes for the standard installer (that doesn't have the JabRef installation section)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38991 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 16:41:48 +00:00
Uwe Stöhr
224d8332b1 installer translation: get rid if GSview and other unused strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38990 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 16:38:15 +00:00
Kornel Benko
07233da79a * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38989 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 13:23:52 +00:00
Richard Heck
390990af6d Fix bug #7622. We have to show the error list after we set the buffer,
because that is what creates the GuiDelegate.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38985 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 13:04:30 +00:00
Richard Heck
4201a465f0 Fix stupid duplicate from r38981.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38984 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 12:51:24 +00:00
Richard Heck
b436d85783 Fix bug #7517. This restores some code removed when we started adding basic layouts we didn't recognize.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38981 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 00:12:57 +00:00
Richard Heck
6efabf807e Fix problem with static error list.
It's amazing we haven't seen problems with this before. The basic problem is that buf.errorList("whatever") would always return the same global, static error list, if it did not already exist. So, to a significant extent, there was only one global error list!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38980 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 00:12:52 +00:00
Richard Heck
60b1a06ac8 Revert previous commit, which committed too much.
This reverts commit 4369e725b17fede013eb26bfd797e917eaf6f4ea.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38979 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-07 23:52:22 +00:00
Richard Heck
cd2e50a275 Fix problem with static error list.
It's amazing we haven't seen problems with this before. The basic problem is that buf.errorList("whatever") would always return the same global, static error list, if it did not already exist. So, to a significant extent, there was only one global error list!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38978 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-07 23:45:33 +00:00
Richard Heck
bbe40d71d6 Cleanup in expandFormats().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38977 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-07 17:14:38 +00:00
Julien Rioux
dd8ed95a0c Fix bug #7610 (wrong latex flavor flag set by pref2pref).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38976 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-07 15:11:18 +00:00