]>
git.lyx.org Git - features.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Enrico Forestieri [Sun, 23 Oct 2011 14:24:17 +0000 (14:24 +0000)]
Thinking about it, it is better to always convert to docstrings all
utf8 strings, and not only if they contain encoding changes. This is
because if the output encoding was previously changed and an utf8
string is inserted in the stream, the encoding changes cannot occur.
This was not a problem until now because normal strings could not be
inserted in a odocstream, as them would have been exchanged with encoding
changes. Indeed, the SetEnc struct has only a std::string member and
outputting a std::string would be interpreted by the compiler the same
as inserting setEncoding(std::string). However, a std::string can be
inserted in an otexstream and it is better to account for this.
I wonder whether trying "os << std::string", where os is an odocstream,
should produce an error instead of actually trying to change the stream
output encoding, but this has not been a problem until now...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39944
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 23 Oct 2011 11:16:11 +0000 (11:16 +0000)]
Import \textvisiblespace, \negmedspace and \negthickspace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39942
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 23 Oct 2011 11:15:47 +0000 (11:15 +0000)]
remove unused boost files (~520)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39941
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 23 Oct 2011 11:08:37 +0000 (11:08 +0000)]
Was already supported
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39940
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 23 Oct 2011 11:08:16 +0000 (11:08 +0000)]
Script to extract only needed boost files using the bcp tool
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39939
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 23 Oct 2011 11:02:50 +0000 (11:02 +0000)]
All encodings of lib/encodings are already supported if they are supported by inputenc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39938
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 23 Oct 2011 10:58:05 +0000 (10:58 +0000)]
Import \uuline, \uwave and \sout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39937
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 23 Oct 2011 10:29:21 +0000 (10:29 +0000)]
Tie file formats of LyX and tex2lyx, since there are implicit depencies anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39936
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sun, 23 Oct 2011 10:11:39 +0000 (10:11 +0000)]
Increase tex2lyx output format to 416 (current trunk format).
414: Nothing to do (empty lyx2lyx conversion)
415: Added \use_undertilde preamble parameter
416: Nothing to do (empty lyx2lyx conversion)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39935
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Sun, 23 Oct 2011 08:42:17 +0000 (08:42 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39933
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 23 Oct 2011 06:52:03 +0000 (06:52 +0000)]
Introduce new USE_QIMAGE macro to optionally use a QImage drawing backend instead of a QPixmap. This may help when running locally under X11 with some graphics cards (there were some complain about that in the user list).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39932
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 23 Oct 2011 03:04:09 +0000 (03:04 +0000)]
As stated in r39928, conversion on the fly only works for docstrings
and not for utf8 ones. But the simple solution is to convert to a
docstring before outputting to the underlying docstream.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39930
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 23 Oct 2011 03:02:02 +0000 (03:02 +0000)]
Restore r39921, as a simple solution exists.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39929
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 23 Oct 2011 02:33:38 +0000 (02:33 +0000)]
Revert r39921. This would not work because proper facets for converting
on the fly are only available for ucs4 encoded strings and not for utf8
ones. So, it does only work with docstrings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39928
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 22 Oct 2011 19:54:31 +0000 (19:54 +0000)]
Support fontenc options in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39926
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 22 Oct 2011 19:37:10 +0000 (19:37 +0000)]
More paper sizes for tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39925
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 22 Oct 2011 19:27:46 +0000 (19:27 +0000)]
Increase tex2lyx output format to 413 (LyX 2.0.x).
411: Added \language_package preamble parameter
412: Nothing to do (empty lyx2lyx conversion)
413: Added \html_css_as_file preamble parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39924
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Sat, 22 Oct 2011 19:09:56 +0000 (19:09 +0000)]
Increase tex2lyx output format to 410.
406: Convert noweb layouts to new syntax (untested, see bug #7838)
407: Nothing to do (empty lyx2lyx conversion)
408: Activated the already existing script inset code
409: Nothing to do (tex2lyx does not support XeTeX)
410: Nothing to do (the old code already used the new layouts)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39923
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 22 Oct 2011 18:29:11 +0000 (18:29 +0000)]
Fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39922
a592a061 -630c-0410-9148-
cb99ea01b6c8