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

12 years agoCode cleanup: split out RowPainter::paintFirst() in three and de-indent.
Abdelrazak Younes [Sun, 30 Oct 2011 09:16:30 +0000 (09:16 +0000)]
Code cleanup: split  out RowPainter::paintFirst() in three and de-indent.

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

12 years agoFix the warning about the unused msg parameter
Vincent van Ravesteijn [Sun, 30 Oct 2011 08:53:22 +0000 (08:53 +0000)]
Fix the warning about the unused msg parameter

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

12 years agoLet all doExport calls have the same behaviour
Vincent van Ravesteijn [Sun, 30 Oct 2011 08:53:20 +0000 (08:53 +0000)]
Let all doExport calls have the same behaviour

- Let all doExport calls honor maintain_unincluded_children
- Also don't let the behaviour depend on supplying the result_file parameter

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

12 years ago* sk.po
Kornel Benko [Sun, 30 Oct 2011 08:11:37 +0000 (08:11 +0000)]
* sk.po

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

12 years agoUserGuide.lyx: port changes from branch
Uwe Stöhr [Sun, 30 Oct 2011 03:51:02 +0000 (03:51 +0000)]
UserGuide.lyx: port changes from branch

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

12 years agoUserGuide.lyx: port some changes from branch
Uwe Stöhr [Sun, 30 Oct 2011 02:19:04 +0000 (02:19 +0000)]
UserGuide.lyx: port some changes from branch

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

12 years agotypo
Tommaso Cucinotta [Sat, 29 Oct 2011 22:15:29 +0000 (22:15 +0000)]
typo

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

12 years agoAdded description of the new paste as simple unformatted text feature.
Tommaso Cucinotta [Sat, 29 Oct 2011 22:08:20 +0000 (22:08 +0000)]
Added description of the new paste as simple unformatted text feature.

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

12 years agotex2lyx/preamble.cpp: add a note
Uwe Stöhr [Sat, 29 Oct 2011 21:20:09 +0000 (21:20 +0000)]
tex2lyx/preamble.cpp: add a note

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

12 years agoInitial work for view source improvements.
Richard Heck [Sat, 29 Oct 2011 21:00:23 +0000 (21:00 +0000)]
Initial work for view source improvements.

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

12 years agoImprove argument handling for the source generation routines.
Richard Heck [Sat, 29 Oct 2011 20:14:48 +0000 (20:14 +0000)]
Improve argument handling for the source generation routines.

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

12 years agoFix crash when outputting XHTML. Not resetting the paragraphs
Richard Heck [Sat, 29 Oct 2011 20:14:43 +0000 (20:14 +0000)]
Fix crash when outputting XHTML. Not resetting the paragraphs
was an oversight here.

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

12 years agoFix bug #7777. We need a loader when exporting no matter what.
Richard Heck [Sat, 29 Oct 2011 20:14:36 +0000 (20:14 +0000)]
Fix bug #7777. We need a loader when exporting no matter what.

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

12 years agotex2lyx/preamble.cpp: sorting and add a comment
Uwe Stöhr [Sat, 29 Oct 2011 20:11:21 +0000 (20:11 +0000)]
tex2lyx/preamble.cpp: sorting and add a comment

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

12 years agotex2lyx/preamble.cpp: fix bug #7863
Uwe Stöhr [Sat, 29 Oct 2011 20:03:09 +0000 (20:03 +0000)]
tex2lyx/preamble.cpp: fix bug #7863

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

12 years agotex2lyx: fix for documents using Latvian, Lithuanian, Mongolian, Turkmen and/or Vietn...
Uwe Stöhr [Sat, 29 Oct 2011 19:32:09 +0000 (19:32 +0000)]
tex2lyx: fix for documents using Latvian, Lithuanian, Mongolian, Turkmen and/or Vietnamese  fixes bug #7862

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

12 years agoUpdates to update-po script.
Richard Heck [Sat, 29 Oct 2011 19:03:43 +0000 (19:03 +0000)]
Updates to update-po script.

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

12 years agoUpdate it.po
Enrico Forestieri [Sat, 29 Oct 2011 17:41:49 +0000 (17:41 +0000)]
Update it.po

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

12 years agoAdding the capability to paste as simple unformatted text.
Tommaso Cucinotta [Sat, 29 Oct 2011 15:42:01 +0000 (15:42 +0000)]
Adding the capability to paste as simple unformatted text.
Documentation (and perhaps menu items) need still to be a bit
clarified in order to distinguish the various paste options
for the average user.

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

12 years agoHeader file cleanups
Vincent van Ravesteijn [Sat, 29 Oct 2011 15:34:06 +0000 (15:34 +0000)]
Header file cleanups

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

12 years agoChange the type of the context menu name to string
Vincent van Ravesteijn [Sat, 29 Oct 2011 14:48:55 +0000 (14:48 +0000)]
Change the type of the context menu name to string

There is no need for GUI-elements to use docstring.

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

12 years agoRemove unneeded includes
Vincent van Ravesteijn [Sat, 29 Oct 2011 11:22:17 +0000 (11:22 +0000)]
Remove unneeded includes

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

12 years agoFix the synchronous export functionality
Vincent van Ravesteijn [Sat, 29 Oct 2011 11:14:47 +0000 (11:14 +0000)]
Fix the synchronous export functionality

- Handle the return value in a special helper function

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

12 years agoCompile fix for *nix...
Enrico Forestieri [Fri, 28 Oct 2011 14:58:27 +0000 (14:58 +0000)]
Compile fix for *nix...

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

12 years agotex2lyx/preamble.cpp: correct a whitespace mistake I just introduced
Uwe Stöhr [Fri, 28 Oct 2011 12:49:12 +0000 (12:49 +0000)]
tex2lyx/preamble.cpp: correct a whitespace mistake I just introduced

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

12 years agotex2lyx/preamble.cpp: fix bug #7861 and #7858
Uwe Stöhr [Fri, 28 Oct 2011 12:37:59 +0000 (12:37 +0000)]
tex2lyx/preamble.cpp: fix bug #7861 and #7858

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

12 years agoDetect the correct version of python at runtime and store the result
Enrico Forestieri [Fri, 28 Oct 2011 11:51:48 +0000 (11:51 +0000)]
Detect the correct version of python at runtime and store the result
for later calls. The check is only performed on the major version
number, such as to avoid using python 3.

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

12 years agoReturn ExportStatus from Buffer to GuiView
Vincent van Ravesteijn [Thu, 27 Oct 2011 20:00:11 +0000 (20:00 +0000)]
Return ExportStatus from Buffer to GuiView

Now GuiView composes the message string.

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

12 years agoLet Buffer::preview return an error value
Vincent van Ravesteijn [Thu, 27 Oct 2011 20:00:08 +0000 (20:00 +0000)]
Let Buffer::preview return an error value

TODO:
 - Also let the public function return an error value,
 - Move all user interaction (Alerts etc.) out of Buffer.

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

12 years agoLet Buffer::doExport return an error value
Vincent van Ravesteijn [Thu, 27 Oct 2011 20:00:06 +0000 (20:00 +0000)]
Let Buffer::doExport return an error value

TODO:
 - Also let the public function return an error value,
 - Move all user interaction (Alerts etc.) out of Buffer.

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

12 years agoRemove result_file from debug output because it is empty
Vincent van Ravesteijn [Thu, 27 Oct 2011 20:00:02 +0000 (20:00 +0000)]
Remove result_file from debug output because it is empty

The result_file parameter is an output variable.

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

12 years agoSimplify the public interface of Buffer::doExport
Vincent van Ravesteijn [Thu, 27 Oct 2011 15:50:50 +0000 (15:50 +0000)]
Simplify the public interface of Buffer::doExport

All calls to doExport from outside of Buffer have the same algorithm to
determine whether the included children parameter should be true. Moreover,
this decision is only based on information from the Buffer itself.

Now, Buffer only has 1 public function doExport and preview.

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

12 years agoRemove the unused default parameter of Buffer::doExport().
Vincent van Ravesteijn [Thu, 27 Oct 2011 15:50:46 +0000 (15:50 +0000)]
Remove the unused default parameter of Buffer::doExport().

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

12 years ago- tex2lyx/text.cpp: a fix for subfloat support
Uwe Stöhr [Thu, 27 Oct 2011 13:00:09 +0000 (13:00 +0000)]
- tex2lyx/text.cpp: a fix for subfloat support
- tex2lyx: some testfile tweaks

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

12 years agoRemove unused functions.
Vincent van Ravesteijn [Thu, 27 Oct 2011 12:54:14 +0000 (12:54 +0000)]
Remove unused functions.

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

12 years ago* sk.po
Kornel Benko [Thu, 27 Oct 2011 12:35:02 +0000 (12:35 +0000)]
* sk.po

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

12 years agoAdd a preference option to specify the default length unit (cm or in).
Vincent van Ravesteijn [Thu, 27 Oct 2011 11:52:11 +0000 (11:52 +0000)]
Add a preference option to specify the default length unit (cm or in).

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

12 years agoCosmetics.
Vincent van Ravesteijn [Thu, 27 Oct 2011 11:49:15 +0000 (11:49 +0000)]
Cosmetics.

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

12 years agoRemove the prefence default_papersize
Vincent van Ravesteijn [Thu, 27 Oct 2011 11:48:16 +0000 (11:48 +0000)]
Remove the prefence default_papersize

- This preference was used for specifying the papersize to xdvi, dvipdfm,
  dvips. However, I can't seem to see any effect on the result.

- The papersize should instead be defined in the document settings.

- The global papersize default was misused to also change the tex
  output by specifying the papersize as if it was specified in the
  document settings. This caused the same lyx document to be outputted
  differently on different pcs.

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

12 years agoFix a crash in adv F&R when the a manual could not be loaded
Vincent van Ravesteijn [Thu, 27 Oct 2011 09:31:17 +0000 (09:31 +0000)]
Fix a crash in adv F&R when the a manual could not be loaded

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

12 years agotex2lyx: support for subfloats
Uwe Stöhr [Thu, 27 Oct 2011 02:29:03 +0000 (02:29 +0000)]
tex2lyx: support for subfloats

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

12 years agotex2lyx/test/test-structure.tex:
Uwe Stöhr [Thu, 27 Oct 2011 02:27:42 +0000 (02:27 +0000)]
tex2lyx/test/test-structure.tex:
- update preamble to the features used in the file
- add some floats

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

12 years agotex2lyx/TODO.txt: this feature is also covered by r40020
Uwe Stöhr [Thu, 27 Oct 2011 02:24:24 +0000 (02:24 +0000)]
tex2lyx/TODO.txt: this feature is also covered by r40020

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

12 years agotex2lyx: support for wrapped floats and all their possible options
Uwe Stöhr [Wed, 26 Oct 2011 20:53:18 +0000 (20:53 +0000)]
tex2lyx: support for wrapped floats and all their possible options

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

12 years agotex2lyx/preamble.cpp: revert r39962 (the string initialization was already reverted)
Uwe Stöhr [Wed, 26 Oct 2011 19:53:29 +0000 (19:53 +0000)]
tex2lyx/preamble.cpp: revert r39962 (the string initialization was already reverted)

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

12 years agoConstify some variables in tex2lyx
Vincent van Ravesteijn [Wed, 26 Oct 2011 14:04:22 +0000 (14:04 +0000)]
Constify some variables in tex2lyx

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

12 years agotex2lyx/text.cpp: fix 2 typos
Uwe Stöhr [Wed, 26 Oct 2011 13:37:32 +0000 (13:37 +0000)]
tex2lyx/text.cpp: fix 2 typos

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

12 years agoFix bug #7793: LyX leaves behind autosave files
Vincent van Ravesteijn [Wed, 26 Oct 2011 13:15:42 +0000 (13:15 +0000)]
Fix bug #7793: LyX leaves behind autosave files

The LyX buffer is cloned before autosaving, but the unnamed_ member was not
copied. This causes the autosave files to end up in the wrong location and
consequently they were never removed afterwards.

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

12 years agotypo
Pavel Sanda [Wed, 26 Oct 2011 10:10:01 +0000 (10:10 +0000)]
typo

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

12 years ago* sk.po
Kornel Benko [Wed, 26 Oct 2011 08:22:28 +0000 (08:22 +0000)]
* sk.po

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

12 years agotex2lyx: support for hyperlinks
Uwe Stöhr [Wed, 26 Oct 2011 05:02:37 +0000 (05:02 +0000)]
tex2lyx: support for hyperlinks

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

12 years agotex2lyx/text.cpp: code simplification
Uwe Stöhr [Wed, 26 Oct 2011 04:14:45 +0000 (04:14 +0000)]
tex2lyx/text.cpp: code simplification

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

12 years agotex2lyx: support for sideway floats including their starred (wide) counterparts
Uwe Stöhr [Wed, 26 Oct 2011 03:23:31 +0000 (03:23 +0000)]
tex2lyx: support for sideway floats including their starred (wide) counterparts

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

12 years agotex2lyx: add strike-outs etc. to the TeX testfile
Uwe Stöhr [Wed, 26 Oct 2011 02:46:26 +0000 (02:46 +0000)]
tex2lyx: add strike-outs etc. to the TeX testfile

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

12 years agotex2lyx: fix problem that non-empty \date in the preamble would be lost
Uwe Stöhr [Wed, 26 Oct 2011 01:29:24 +0000 (01:29 +0000)]
tex2lyx: fix problem that non-empty \date in the preamble would be lost

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

12 years agotex2lyx: addendum to r39989; support for basic (predefined) colors; useful for things...
Uwe Stöhr [Wed, 26 Oct 2011 01:18:27 +0000 (01:18 +0000)]
tex2lyx: addendum to r39989; support for basic (predefined) colors; useful for things like \color{green}

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

12 years agotex2lyx: testfiles: the spaces are already in box-color-size-space-align.tex
Uwe Stöhr [Wed, 26 Oct 2011 01:16:19 +0000 (01:16 +0000)]
tex2lyx: testfiles: the spaces are already in box-color-size-space-align.tex

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

12 years agotex2lyx: addendum to r39949; handle the case that LyX's defined colors are defined...
Uwe Stöhr [Wed, 26 Oct 2011 00:31:02 +0000 (00:31 +0000)]
tex2lyx: addendum to r39949; handle the case that LyX's defined colors are defined but not used, now it is assures that only the color is used that is actually used for \color and \pagecolor

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