]> git.lyx.org Git - lyx.git/log
lyx.git
12 years agoWhitespace.
Richard Heck [Wed, 23 Nov 2011 18:23:11 +0000 (18:23 +0000)]
Whitespace.

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

12 years agoFix bug #7709. Seems we need to reset the source model here.
Richard Heck [Wed, 23 Nov 2011 16:52:46 +0000 (16:52 +0000)]
Fix bug #7709. Seems we need to reset the source model here.

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

12 years agoSimplify code a bit.
Richard Heck [Wed, 23 Nov 2011 16:49:34 +0000 (16:49 +0000)]
Simplify code a bit.

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

12 years agoFix bug #7906. Check the widgets after creating the dialog.
Richard Heck [Wed, 23 Nov 2011 16:44:31 +0000 (16:44 +0000)]
Fix bug #7906. Check the widgets after creating the dialog.

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

12 years agoDidn't mean to include this.
Richard Heck [Tue, 22 Nov 2011 18:49:16 +0000 (18:49 +0000)]
Didn't mean to include this.

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

12 years agoFix bug #7905. We don't want to move out of the inset unless
Richard Heck [Tue, 22 Nov 2011 18:40:01 +0000 (18:40 +0000)]
Fix bug #7905. We don't want to move out of the inset unless
we've put something into it. (We also don't need to copy an
empty string into it.)

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

12 years agoFeynmanDiagrams.lyx: add note how to overcome a limitation of the feyn package (bug...
Uwe Stöhr [Mon, 21 Nov 2011 23:22:22 +0000 (23:22 +0000)]
FeynmanDiagrams.lyx: add note how to overcome a limitation of the feyn package (bug 7898)

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

12 years agoEmbeddedObjects.lyx: add section about the calculation of the table width
Uwe Stöhr [Mon, 21 Nov 2011 21:13:22 +0000 (21:13 +0000)]
EmbeddedObjects.lyx: add section about the calculation of the table width

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

12 years agoBeautify documents created by writer2latex (see bug #5187).
Georg Baum [Sun, 20 Nov 2011 20:30:12 +0000 (20:30 +0000)]
Beautify documents created by writer2latex (see bug #5187).

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

12 years agoFix bug in paragraph detection (can be seen in test case of bug #5187):
Georg Baum [Sun, 20 Nov 2011 20:28:55 +0000 (20:28 +0000)]
Fix bug in paragraph detection (can be seen in test case of bug #5187):
If we want to look at the token after the next token, it may be needed
to call tokenize_one() twice and not only once as done in good().

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

12 years agoAdapt cmake to new boost regex sources
Kornel Benko [Sun, 20 Nov 2011 20:10:26 +0000 (20:10 +0000)]
Adapt cmake to new boost regex sources

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

12 years agoprepare switch to switch-case in when parsing tex files
Peter Kümmel [Sun, 20 Nov 2011 19:44:08 +0000 (19:44 +0000)]
prepare switch to switch-case in when parsing tex files

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

12 years agoadd some boost files needed by static string-switch in future Text.cpp
Peter Kümmel [Sun, 20 Nov 2011 19:10:54 +0000 (19:10 +0000)]
add some boost files needed by static string-switch in future Text.cpp

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

12 years agoupdate boost to version 1.48
Peter Kümmel [Sun, 20 Nov 2011 18:58:15 +0000 (18:58 +0000)]
update boost to version 1.48

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

12 years agoAdd assertion to check for memory leaks and remove the list when
Richard Heck [Sun, 20 Nov 2011 18:49:12 +0000 (18:49 +0000)]
Add assertion to check for memory leaks and remove the list when
we are done.

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

12 years agoNew attempt to fix Pavel's crash, this modifies r40205 and r40207.
Richard Heck [Sun, 20 Nov 2011 18:49:05 +0000 (18:49 +0000)]
New attempt to fix Pavel's crash, this modifies r40205 and r40207.

The global list of cloned buffers was a bad idea. We don't have multiple
export threads, but we can have multiple autosave threads. So now we keep
more than one of these lists at the same time, and each cloned buffer has
a pointer to the relevant list. Note that this would make multiple export
possible, if we wanted to do that at some time.

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

12 years agorun extract script again on boost 1.47: now bcp wants more files
Peter Kümmel [Sun, 20 Nov 2011 18:46:12 +0000 (18:46 +0000)]
run extract script again on boost 1.47: now bcp wants more files

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

12 years agomake a bit room for more ifs
Georg Baum [Sun, 20 Nov 2011 17:03:00 +0000 (17:03 +0000)]
make a bit room for more ifs

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

12 years ago* Additional.lyx
Pavel Sanda [Sun, 20 Nov 2011 12:10:20 +0000 (12:10 +0000)]
* Additional.lyx

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

12 years ago#7894 explain the status column of mac bindings
Stephan Witt [Sat, 19 Nov 2011 21:55:18 +0000 (21:55 +0000)]
#7894 explain the status column of mac bindings

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

12 years ago- spreadsheet.lyx: there is no reason why the file format was changed (please keep...
Uwe Stöhr [Sat, 19 Nov 2011 05:44:20 +0000 (05:44 +0000)]
- spreadsheet.lyx: there is no reason why the file format was changed (please keep our docs, examples and templates in sync with branch whenever possible)
- sheet.*: remove the files (Richard, there is a SVN command with which you can rename files. SVN will then take care about everything except of the makefile)

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

12 years agoThis commented-out line has been there since r13692! I think we can
Richard Heck [Fri, 18 Nov 2011 23:32:58 +0000 (23:32 +0000)]
This commented-out line has been there since r13692! I think we can
get rid of it.

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

12 years agoRestore change from OpenOffice to LibreOffice.
Richard Heck [Fri, 18 Nov 2011 21:49:18 +0000 (21:49 +0000)]
Restore change from OpenOffice to LibreOffice.

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

12 years agoFixes for bug #7870 from Helge. Adds Gnumeric support.
Richard Heck [Fri, 18 Nov 2011 21:46:24 +0000 (21:46 +0000)]
Fixes for bug #7870 from Helge. Adds Gnumeric support.

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

12 years agoFix bug #7873. Patch is sufficiently explanatory.
Richard Heck [Fri, 18 Nov 2011 21:34:40 +0000 (21:34 +0000)]
Fix bug #7873. Patch is sufficiently explanatory.

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

12 years agoFix bug #7872: Mark Buffer dirty after changing branch activation.
Richard Heck [Fri, 18 Nov 2011 20:48:54 +0000 (20:48 +0000)]
Fix bug #7872: Mark Buffer dirty after changing branch activation.

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

12 years agoFrench EmbeddedObjects.lyx: translations and revision by Siegfried
Uwe Stöhr [Fri, 18 Nov 2011 01:29:57 +0000 (01:29 +0000)]
French EmbeddedObjects.lyx: translations and revision by Siegfried

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

12 years agoMake sure we aren't trying to reuse the global variable, and make
Richard Heck [Thu, 17 Nov 2011 18:26:42 +0000 (18:26 +0000)]
Make sure we aren't trying to reuse the global variable, and make
sure we aren't leaking any cloned buffers.

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

12 years ago* sk.po
Kornel Benko [Thu, 17 Nov 2011 18:11:23 +0000 (18:11 +0000)]
* sk.po

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

12 years agoFix crash reported by Pavel. Multiply included children would crash
Richard Heck [Thu, 17 Nov 2011 17:58:22 +0000 (17:58 +0000)]
Fix crash reported by Pavel. Multiply included children would crash
the destructor since we could, in some cases, end up deleting them
multiple times. So we need to keep a list of the Buffers we need to
delete, kind of like the BufferList.

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

12 years agoRevert previous patch to get a decent log message.
Richard Heck [Thu, 17 Nov 2011 17:58:18 +0000 (17:58 +0000)]
Revert previous patch to get a decent log message.

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

12 years agoMerge branch 'PavelCrash2'
Richard Heck [Thu, 17 Nov 2011 17:54:20 +0000 (17:54 +0000)]
Merge branch 'PavelCrash2'

Conflicts:
src/Buffer.cpp

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

12 years agoSimplify code slightly.
Richard Heck [Thu, 17 Nov 2011 17:29:38 +0000 (17:29 +0000)]
Simplify code slightly.

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

12 years agoMinor cleanup.
Richard Heck [Thu, 17 Nov 2011 17:24:11 +0000 (17:24 +0000)]
Minor cleanup.

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

12 years agoClarify by renaming some arguments.
Richard Heck [Wed, 16 Nov 2011 00:38:06 +0000 (00:38 +0000)]
Clarify by renaming some arguments.

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

12 years agoCosmetics.
Richard Heck [Tue, 15 Nov 2011 18:24:42 +0000 (18:24 +0000)]
Cosmetics.

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

12 years agoEmbeddedObjects.lyx: add info about the dvips color names and fix some issues
Uwe Stöhr [Tue, 15 Nov 2011 00:13:36 +0000 (00:13 +0000)]
EmbeddedObjects.lyx: add info about the dvips color names and fix some issues

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

12 years agoFix bug #7895: Do not output lines with only a single space.
Georg Baum [Mon, 14 Nov 2011 21:00:47 +0000 (21:00 +0000)]
Fix bug #7895: Do not output lines with only a single space.

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

12 years agotex2lyx/test/test-insets.tex: add a booktabs test table
Uwe Stöhr [Mon, 14 Nov 2011 00:13:09 +0000 (00:13 +0000)]
tex2lyx/test/test-insets.tex: add a booktabs test table

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

12 years agocmake/build.bat: this should not have gone in in my last commit
Uwe Stöhr [Sun, 13 Nov 2011 20:19:03 +0000 (20:19 +0000)]
cmake/build.bat: this should not have gone in in my last commit

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

12 years agocmake/build.bat: MSVC 2010 is required to build LyX on Windows for releaes; for insta...
Uwe Stöhr [Sun, 13 Nov 2011 20:05:08 +0000 (20:05 +0000)]
cmake/build.bat: MSVC 2010 is required to build LyX on Windows for releaes; for install the console must be turned off; the PATH must no contain quotes
(But even with these fixes, the script fails, see my mail.)

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

12 years agoFix bug #4553: booktabs for tex2lyx
Georg Baum [Sun, 13 Nov 2011 19:49:50 +0000 (19:49 +0000)]
Fix bug #4553: booktabs for tex2lyx

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

12 years agoexternal_templates: improve the description of PDFPages (bug #7888)
Uwe Stöhr [Sun, 13 Nov 2011 18:03:12 +0000 (18:03 +0000)]
external_templates: improve the description of PDFPages (bug #7888)

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

12 years agostdmenus.inc: register the Sweave example file as specific manual (bug #7891)
Uwe Stöhr [Sun, 13 Nov 2011 18:01:24 +0000 (18:01 +0000)]
stdmenus.inc: register the Sweave example file as specific manual (bug #7891)

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

12 years agoFix bug #3036: font changes inside \markright do not escape outside their scope
Georg Baum [Sun, 13 Nov 2011 16:11:45 +0000 (16:11 +0000)]
Fix bug #3036: font changes inside \markright do not escape outside their scope

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

12 years agoDo not swallow geometry settings if they are given as package options and
Georg Baum [Sun, 13 Nov 2011 12:23:27 +0000 (12:23 +0000)]
Do not swallow geometry settings if they are given as package options and
replace home made keyval parsing with the more robust process_keyval_opt().

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

12 years agoFix bug #7668 (cosmetic whitespace issues)
Georg Baum [Sun, 13 Nov 2011 11:29:48 +0000 (11:29 +0000)]
Fix bug #7668 (cosmetic whitespace issues)

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

12 years agoFix bug #7663: Misparsing of description \item with spaces
Georg Baum [Sun, 13 Nov 2011 10:40:07 +0000 (10:40 +0000)]
Fix bug #7663: Misparsing of description \item with spaces

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

12 years ago- EmbeddedObjects.lyx: update the description of the PDFPages template (thanks Liviu)
Uwe Stöhr [Sun, 13 Nov 2011 05:21:02 +0000 (05:21 +0000)]
- EmbeddedObjects.lyx: update the description of the PDFPages template (thanks Liviu)
- chkconfig.ltx: pdfpages require eso-pic

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

12 years agoFrench Userguide: add missing files from r40175
Uwe Stöhr [Sun, 13 Nov 2011 02:46:45 +0000 (02:46 +0000)]
French Userguide: add missing files from r40175

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

12 years agoFix "stray '}' in text" warnings: When parsing with FLAG_ITEM the braces need
Georg Baum [Sat, 12 Nov 2011 18:41:44 +0000 (18:41 +0000)]
Fix "stray '}' in text" warnings: When parsing with FLAG_ITEM the braces need
to occur in pairs.
If you change something in tex2lyx please don't commit without running the
tests and ensuring that no warnings or errors are written on stderr.

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

12 years agotabular*
Georg Baum [Sat, 12 Nov 2011 17:54:50 +0000 (17:54 +0000)]
tabular*

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

12 years agoport today's changes to trunk
Uwe Stöhr [Sat, 12 Nov 2011 03:03:15 +0000 (03:03 +0000)]
port today's changes to trunk

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

12 years ago- Spanish EmbeddedObjects.lyx and UserGuide.lyx: translations by Ignacio
Uwe Stöhr [Thu, 10 Nov 2011 23:58:17 +0000 (23:58 +0000)]
- Spanish EmbeddedObjects.lyx and UserGuide.lyx: translations by Ignacio
- UserGuide.lyx: mention LibreOffice
- English UserGuide.lyx: fix a typo

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

12 years agoadd header guard
Peter Kümmel [Thu, 10 Nov 2011 20:16:22 +0000 (20:16 +0000)]
add header guard

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

12 years agocmake: download dep file from lyx project
Peter Kümmel [Thu, 10 Nov 2011 19:00:41 +0000 (19:00 +0000)]
cmake: download dep file from lyx project

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

12 years agoUserGuide.lyx: fix a formatting issue
Uwe Stöhr [Wed, 9 Nov 2011 19:59:05 +0000 (19:59 +0000)]
UserGuide.lyx: fix a formatting issue

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

12 years agothesis/thesis.lyx: add a note and clarify a note as suggested by users
Uwe Stöhr [Tue, 8 Nov 2011 21:27:07 +0000 (21:27 +0000)]
thesis/thesis.lyx: add a note and clarify a note as suggested by users

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

12 years agoFile format bump after r39982 (renaming of the japanese encodings for pLaTeX).
Julien Rioux [Mon, 7 Nov 2011 18:36:56 +0000 (18:36 +0000)]
File format bump after r39982 (renaming of the japanese encodings for pLaTeX).

LyX file format incremented to 417.

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

12 years agoUserGuide.lyx: correct the description of LyX-pipes (they also work on Windows)
Uwe Stöhr [Sun, 6 Nov 2011 23:24:40 +0000 (23:24 +0000)]
UserGuide.lyx: correct the description of LyX-pipes (they also work on Windows)

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

12 years agotex2lyx/text.cpp: add a comment and fix a typo
Uwe Stöhr [Sun, 6 Nov 2011 22:46:30 +0000 (22:46 +0000)]
tex2lyx/text.cpp: add a comment and fix a typo

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

12 years agotex2lyx/test/box-color-size-space-align.tex: translation and a further testcase
Uwe Stöhr [Sun, 6 Nov 2011 22:42:51 +0000 (22:42 +0000)]
tex2lyx/test/box-color-size-space-align.tex: translation and a further testcase

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

12 years agotex2lyx:
Uwe Stöhr [Sun, 6 Nov 2011 22:42:05 +0000 (22:42 +0000)]
tex2lyx:
- support for \makebox
- fix import of boxes without an inner box (the on-screen display was broken because of wrong default width setting)
- fix parsing of \framebox{content}, which LyX does not support yet - we have to use ERT

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

12 years agoFix shortenng of file names in MakeDisplayPath: it is not a good idea to slice an...
Jean-Marc Lasgouttes [Sun, 6 Nov 2011 22:36:14 +0000 (22:36 +0000)]
Fix shortenng of file names in MakeDisplayPath: it is not a good idea to slice an utf8 string at arbitrary offsets, we have to work on a docstring instead. We need unfortunately to switch back and orth between utf8 and docstring.

This is a candidate for branch too, although the bug is minor.

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

12 years agoImport optional argument of tabular (vertical alignment)
Georg Baum [Sun, 6 Nov 2011 18:54:15 +0000 (18:54 +0000)]
Import optional argument of tabular (vertical alignment)

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

12 years agoand another one
Georg Baum [Sun, 6 Nov 2011 18:17:33 +0000 (18:17 +0000)]
and another one

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

12 years agoForgot this in r40139.
Georg Baum [Sun, 6 Nov 2011 18:17:04 +0000 (18:17 +0000)]
Forgot this in r40139.

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

12 years agoFix bug 6834: Import theorems with optional argument correctly.
Georg Baum [Sun, 6 Nov 2011 18:08:45 +0000 (18:08 +0000)]
Fix bug 6834: Import theorems with optional argument correctly.

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

12 years agoDistinguish between empty argument and no argument
Georg Baum [Sun, 6 Nov 2011 17:32:15 +0000 (17:32 +0000)]
Distinguish between empty argument and no argument

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

12 years agoMust not output anything between p.pushPosition() and p.popPosition().
Georg Baum [Sun, 6 Nov 2011 17:16:54 +0000 (17:16 +0000)]
Must not output anything between p.pushPosition() and p.popPosition().

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

12 years agoFix bug #4213: Change tracking support for tex2lyx.
Georg Baum [Sun, 6 Nov 2011 17:03:59 +0000 (17:03 +0000)]
Fix bug #4213: Change tracking support for tex2lyx.
Of course this will only work if output_changes was true when creating the
.tex file.

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

12 years agotex2lyx/text.cpp: fix remaining part of bug #7843
Uwe Stöhr [Sun, 6 Nov 2011 15:06:19 +0000 (15:06 +0000)]
tex2lyx/text.cpp: fix remaining part of bug #7843

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

12 years agoFix #7876: Problems with special characters when using sweave with xetex
Jean-Marc Lasgouttes [Fri, 4 Nov 2011 22:39:30 +0000 (22:39 +0000)]
Fix #7876: Problems with special characters when using sweave with xetex

When R version is >= 2.13.1, Sweave handles natively encodings. Therefore, we have to remove our own kludge.

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

12 years ago\color may have an optional argument (part of bug #6567).
Georg Baum [Fri, 4 Nov 2011 21:24:05 +0000 (21:24 +0000)]
\color may have an optional argument (part of bug #6567).

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

12 years agoFix bug #7843: Recognize a shaded box inside a minipage correctly.
Georg Baum [Fri, 4 Nov 2011 21:03:51 +0000 (21:03 +0000)]
Fix bug #7843: Recognize a shaded box inside a minipage correctly.
Also a warning "\end{foo} does not match \begin{bar}" is gone.

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

12 years agoFix bug reported on user list: <title> not escaped.
Richard Heck [Wed, 2 Nov 2011 18:42:10 +0000 (18:42 +0000)]
Fix bug reported on user list: <title> not escaped.

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

12 years agothesis template: remove my name from the PDF properties and add missing start appendi...
Uwe Stöhr [Tue, 1 Nov 2011 20:08:59 +0000 (20:08 +0000)]
thesis template: remove my name from the PDF properties and add missing start appendix call

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

12 years agoEmbeddedObjects.lyx:
Uwe Stöhr [Tue, 1 Nov 2011 05:55:21 +0000 (05:55 +0000)]
EmbeddedObjects.lyx:
- describe the new GnumericSpreadsheet feature and link to the example file
- link to the lilypond example file
- fix some links

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

12 years agonew example file spreadsheet.lyx to show how the spreadsheet support works and to...
Uwe Stöhr [Tue, 1 Nov 2011 05:54:27 +0000 (05:54 +0000)]
new example file spreadsheet.lyx to show how the spreadsheet support works and to test various spreadsheet formats

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

12 years agode.po: improve a translation
Uwe Stöhr [Tue, 1 Nov 2011 03:59:43 +0000 (03:59 +0000)]
de.po: improve a translation

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

12 years ago- UserGuide.lyx:
Uwe Stöhr [Tue, 1 Nov 2011 03:56:31 +0000 (03:56 +0000)]
- UserGuide.lyx:
 - describe the new lyxpipe preferences option
 - add info how to en/disable the math autocorrection
 - some bugfixes in appendix C

- German UserGuide.lyx: complete translation of appendix C

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

12 years agoFix bug #7846
Georg Baum [Mon, 31 Oct 2011 21:31:32 +0000 (21:31 +0000)]
Fix bug #7846

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

12 years agoReplace a half-baked attempt to remove \lyxdot from the directory part of
Georg Baum [Mon, 31 Oct 2011 20:27:21 +0000 (20:27 +0000)]
Replace a half-baked attempt to remove \lyxdot from the directory part of
file names with a proper one: Only replace dots in the base name, and only
request the lyxdot feature if it is needed. This is a partial fix of bug #7650.

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

12 years agoUserGuide.lyx: description of the math autocorrection
Uwe Stöhr [Mon, 31 Oct 2011 05:10:24 +0000 (05:10 +0000)]
UserGuide.lyx: description of the math autocorrection

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

12 years agoProperly account for output redirection with QProcess.
Enrico Forestieri [Mon, 31 Oct 2011 02:02:27 +0000 (02:02 +0000)]
Properly account for output redirection with QProcess.

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

12 years agotex2lyx/Preamble.cpp: fix some comments
Uwe Stöhr [Mon, 31 Oct 2011 01:51:46 +0000 (01:51 +0000)]
tex2lyx/Preamble.cpp: fix some comments

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

12 years agoUserGuide.lyx: describe the new preview inset and revise the section about previewing...
Uwe Stöhr [Sun, 30 Oct 2011 22:39:05 +0000 (22:39 +0000)]
UserGuide.lyx: describe the new preview inset and revise the section about previewing things

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

12 years agoUpdate Release Notes
Vincent van Ravesteijn [Sun, 30 Oct 2011 22:25:31 +0000 (22:25 +0000)]
Update Release Notes

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

12 years agoFix the messaging after an autosave
Vincent van Ravesteijn [Sun, 30 Oct 2011 21:34:12 +0000 (21:34 +0000)]
Fix the messaging after an autosave

We need to have a special callback for when the autosave thread is finished
such that we can process the return values properly (and different as in
case of export or preview).

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

12 years agoFix the outstanding part of #7764, which involves sorting the file lists
Richard Heck [Sun, 30 Oct 2011 20:02:14 +0000 (20:02 +0000)]
Fix the outstanding part of #7764, which involves sorting the file lists
under Document>Settings>Output.

It turns out that we always want this list to be sorted when we get it,
so we can sort it in BufferParams rather than in three different places.

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

12 years agoUse the format's pretty name in the statusmessages
Vincent van Ravesteijn [Sun, 30 Oct 2011 19:52:33 +0000 (19:52 +0000)]
Use the format's pretty name in the statusmessages

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

12 years agoCorrectly message that the export is cancelled
Vincent van Ravesteijn [Sun, 30 Oct 2011 19:52:27 +0000 (19:52 +0000)]
Correctly message that the export is cancelled

Uptil now, it was said that the export was succesful.

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

12 years agoOnly the packages subscript and ulem if they are automatically loaded
Georg Baum [Sun, 30 Oct 2011 18:51:41 +0000 (18:51 +0000)]
Only the packages subscript and ulem if they are automatically loaded

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

12 years agoCreate mechanism to handle packages for which we only know after parsing
Georg Baum [Sun, 30 Oct 2011 18:12:49 +0000 (18:12 +0000)]
Create mechanism to handle packages for which we only know after parsing
the complete document whether LyX will load them or not.
Use the mechanism for the color package (fixes the color part of bug #7845).

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

12 years agoFix bug #7700 partially: The \maketitle command is not swallowed anymore,
Georg Baum [Sun, 30 Oct 2011 13:57:49 +0000 (13:57 +0000)]
Fix bug #7700 partially: The \maketitle command is not swallowed anymore,
but the title commands in the preamble are still not recognized.

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

12 years agoget rid of the modules_placeholder hack
Georg Baum [Sun, 30 Oct 2011 13:44:00 +0000 (13:44 +0000)]
get rid of the modules_placeholder hack

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

12 years agoFix bug #7844: \date{} in main text is recognized
Georg Baum [Sun, 30 Oct 2011 13:21:06 +0000 (13:21 +0000)]
Fix bug #7844: \date{} in main text is recognized

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

12 years agoFirst step towards proper handling of partially supported packages:
Georg Baum [Sun, 30 Oct 2011 12:47:45 +0000 (12:47 +0000)]
First step towards proper handling of partially supported packages:
Convert the preamble code into a class.

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

12 years agoMerge remote-tracking branch 'lyxit/vfr/docbook-fix-7004'
Vincent van Ravesteijn [Sun, 30 Oct 2011 11:44:22 +0000 (11:44 +0000)]
Merge remote-tracking branch 'lyxit/vfr/docbook-fix-7004'

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

12 years agoBuffer: Make setExportStatus a private member
Vincent van Ravesteijn [Sun, 30 Oct 2011 11:43:45 +0000 (11:43 +0000)]
Buffer: Make setExportStatus a private member

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