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

12 years agotex2lyx: fix a typo and a whitespace
Uwe Stöhr [Tue, 25 Oct 2011 23:34:59 +0000 (23:34 +0000)]
tex2lyx: fix a typo and a whitespace

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

12 years agoConvert odg to (cropped) eps without external script.
Julien Rioux [Tue, 25 Oct 2011 23:33:35 +0000 (23:33 +0000)]
Convert odg to (cropped) eps without external script.

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

12 years agoUnify the handling of converters that specify the resultfile= flag.
Julien Rioux [Tue, 25 Oct 2011 23:31:36 +0000 (23:31 +0000)]
Unify the handling of converters that specify the resultfile= flag.

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

12 years agoInsetLine.cpp: fix bug #7851
Uwe Stöhr [Tue, 25 Oct 2011 23:22:55 +0000 (23:22 +0000)]
InsetLine.cpp: fix bug #7851

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

12 years agotex2lyx: fix bug #7856
Uwe Stöhr [Tue, 25 Oct 2011 23:17:24 +0000 (23:17 +0000)]
tex2lyx: fix bug #7856

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

12 years agoPass the encoding to the japanese pLaTeX processor (#4697).
Julien Rioux [Tue, 25 Oct 2011 23:10:19 +0000 (23:10 +0000)]
Pass the encoding to the japanese pLaTeX processor (#4697).

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

12 years agotex2lyx: support for beraserif.sty
Uwe Stöhr [Tue, 25 Oct 2011 22:37:16 +0000 (22:37 +0000)]
tex2lyx: support for beraserif.sty

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

12 years agoTODO.txt: restore an entry
Uwe Stöhr [Tue, 25 Oct 2011 22:24:06 +0000 (22:24 +0000)]
TODO.txt: restore an entry

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

12 years agoAdjust comment (thanks Jose)
Georg Baum [Tue, 25 Oct 2011 20:02:59 +0000 (20:02 +0000)]
Adjust comment (thanks Jose)

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

12 years agoFix display of section headings, etc, that include math in the TOC
Richard Heck [Tue, 25 Oct 2011 18:43:51 +0000 (18:43 +0000)]
Fix display of section headings, etc, that include math in the TOC
and menus. The newline we were writing previously caused all kinds
of problems. Writing a whole array in some cases would also cause
problems. So we do less.

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

12 years agoFix some indentation issues.
Richard Heck [Tue, 25 Oct 2011 18:43:47 +0000 (18:43 +0000)]
Fix some indentation issues.

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

12 years agotex2lyx: addendum to r39964, although utopia.sty is outdated and even listed in l2tab...
Uwe Stöhr [Tue, 25 Oct 2011 17:44:55 +0000 (17:44 +0000)]
tex2lyx: addendum to r39964, although utopia.sty is outdated and even listed in l2tabu, users might use it anyway and supporting it doesn't harm

(info I missed in r39965: beraserif.sty does not exist on CTAN, Bera's sansserif is named "berasans" and is already supported by tex2lyx)

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

12 years agotex2lyx: support for different language packages: none, babel or a custom one
Uwe Stöhr [Tue, 25 Oct 2011 17:30:27 +0000 (17:30 +0000)]
tex2lyx: support for different language packages: none, babel or a custom one

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

12 years agotex2lyx: nothing to do for the new math spaces as shown by the updated TeX testfile
Uwe Stöhr [Tue, 25 Oct 2011 16:47:31 +0000 (16:47 +0000)]
tex2lyx: nothing to do for the new math spaces as shown by the updated TeX testfile

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

12 years agotex2lyx: support for chancery and ccfonts
Uwe Stöhr [Tue, 25 Oct 2011 16:25:37 +0000 (16:25 +0000)]
tex2lyx: support for chancery and ccfonts

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

12 years agotex2lyx: fix handling of fourier: Utopia as roman font can be combined with any other...
Uwe Stöhr [Tue, 25 Oct 2011 15:54:53 +0000 (15:54 +0000)]
tex2lyx: fix handling of fourier: Utopia as roman font can be combined with any other tt font, not only with tt-fourier

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

12 years agotex2lyx/preamble.cpp: correct a mistake from previous commit
Uwe Stöhr [Tue, 25 Oct 2011 15:43:11 +0000 (15:43 +0000)]
tex2lyx/preamble.cpp: correct a mistake from previous commit

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

12 years agotex2lyx: adapt handling of \fontencoding to LyX 2.x's syntax
Uwe Stöhr [Tue, 25 Oct 2011 15:39:50 +0000 (15:39 +0000)]
tex2lyx: adapt handling of \fontencoding to LyX 2.x's syntax

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

12 years agotex2lyx/TODO.txt: columnsep is already supported
Uwe Stöhr [Tue, 25 Oct 2011 15:23:28 +0000 (15:23 +0000)]
tex2lyx/TODO.txt: columnsep is already supported

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

12 years agotex2lyx: support width setting of \printnomenclature
Uwe Stöhr [Tue, 25 Oct 2011 00:11:02 +0000 (00:11 +0000)]
tex2lyx: support width setting of \printnomenclature
 (the tex2lyx support in branch for \printnomenclature is currently broken so this must be backported to branch for 2.0.2, OK Richard?)

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

12 years agoGuiPrintNomencl.cpp: fix bug #7853
Uwe Stöhr [Mon, 24 Oct 2011 23:35:01 +0000 (23:35 +0000)]
GuiPrintNomencl.cpp: fix bug #7853

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

12 years agotex2lyx: support for phantom insets
Uwe Stöhr [Mon, 24 Oct 2011 22:39:54 +0000 (22:39 +0000)]
tex2lyx: support for phantom insets

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

12 years agotex2lyx: support for the LaTeX command \rule
Uwe Stöhr [Mon, 24 Oct 2011 21:07:00 +0000 (21:07 +0000)]
tex2lyx: support for the LaTeX command \rule

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

12 years agoInsetBox.cpp: fix bug #7849 (with help from Jürgen)
Uwe Stöhr [Mon, 24 Oct 2011 17:32:29 +0000 (17:32 +0000)]
InsetBox.cpp: fix bug #7849 (with help from Jürgen)

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

12 years agoInsetBox.cpp: add important note
Uwe Stöhr [Mon, 24 Oct 2011 03:42:39 +0000 (03:42 +0000)]
InsetBox.cpp: add important note

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

12 years agotex2lyx: fix bug #7845
Uwe Stöhr [Mon, 24 Oct 2011 02:22:35 +0000 (02:22 +0000)]
tex2lyx: fix bug #7845

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

12 years agotex2lyx/TODO.txt: add a note
Uwe Stöhr [Mon, 24 Oct 2011 02:21:47 +0000 (02:21 +0000)]
tex2lyx/TODO.txt: add a note

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

12 years agotest-structure.tex: forgot this testcase in last commit
Uwe Stöhr [Mon, 24 Oct 2011 02:14:43 +0000 (02:14 +0000)]
test-structure.tex: forgot this testcase in last commit

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

12 years agotex2lyx: support the case that \date{} is used in the preamble to suppress the date
Uwe Stöhr [Mon, 24 Oct 2011 02:06:05 +0000 (02:06 +0000)]
tex2lyx: support the case that \date{} is used in the preamble to suppress the date

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

12 years agotex2lyx: roundtrip support for the suppress_date option, for the remaining part I...
Uwe Stöhr [Mon, 24 Oct 2011 01:17:30 +0000 (01:17 +0000)]
tex2lyx: roundtrip support for the suppress_date option, for the remaining part I opened bug #7844

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

12 years agotex2lyx:
Uwe Stöhr [Mon, 24 Oct 2011 00:29:59 +0000 (00:29 +0000)]
tex2lyx:
- support for box background color, document fontcolor and background color (note_fontcolor was already supported)
- add colors and a nested box to the testfile

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

12 years agoFirst step towards a little bit more independence of GuiWorkArea (WRT GuiView). Ideal...
Abdelrazak Younes [Sun, 23 Oct 2011 20:21:01 +0000 (20:21 +0000)]
First step towards a little bit more independence of GuiWorkArea (WRT GuiView). Ideally, GuiWorkArea should not at all about GuiView. GuiWorkArea now uses a new signal busy() to inform its container (GuiView) about its status.

I also added 2 FIXME where we should not call GuiView directly.

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

12 years agoFix some bugs related to spaces in math:
Georg Baum [Sun, 23 Oct 2011 20:19:49 +0000 (20:19 +0000)]
Fix some bugs related to spaces in math:
- Interpret argument of LFUN_SPACE_INSERT correctly
- Use InsetMathSpace instead of InsetMathSpecialChar for "\ " (bug # 7728)
- Use InsetMathSpace instead of InsetMathChar for ~ (bug # 7728).
  This fixes also the display in LyX (previously a literal ~ was displayed).
Using InsetMathSpace enables also the "Insert Formatting" menu entries.
No file format change is needed, since the LaTeX export is unchanged.
Note that there are still some bugs related to spaces in math:
#7746, #7747, #7749, #7842

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

12 years agoWarn user that build will fail if bc is not installed.
Enrico Forestieri [Sun, 23 Oct 2011 15:35:36 +0000 (15:35 +0000)]
Warn user that build will fail if bc is not installed.

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