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

12 years agoThinking about it, it is better to always convert to docstrings all
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

12 years agoImport \textvisiblespace, \negmedspace and \negthickspace.
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

12 years agoremove unused boost files (~520)
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

12 years agoWas already supported
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

12 years agoScript to extract only needed boost files using the bcp tool
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

12 years agoAll encodings of lib/encodings are already supported if they are supported by inputenc
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

12 years agoImport \uuline, \uwave and \sout
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

12 years agoTie file formats of LyX and tex2lyx, since there are implicit depencies anyway.
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

12 years agoIncrease tex2lyx output format to 416 (current trunk format).
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

12 years ago* sk.po
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

12 years agoIntroduce new USE_QIMAGE macro to optionally use a QImage drawing backend instead...
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

12 years agoAs stated in r39928, conversion on the fly only works for docstrings
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

12 years agoRestore r39921, as a simple solution exists.
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

12 years agoRevert r39921. This would not work because proper facets for converting
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

12 years agoSupport fontenc options in tex2lyx
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

12 years agoMore paper sizes for tex2lyx
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

12 years agoIncrease tex2lyx output format to 413 (LyX 2.0.x).
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

12 years agoIncrease tex2lyx output format to 410.
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

12 years agoFix typo.
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

12 years agoAlso account for possible encoding changes embedded in utf8 strings
Enrico Forestieri [Sat, 22 Oct 2011 18:27:56 +0000 (18:27 +0000)]
Also account for possible encoding changes embedded in utf8 strings
other than docstrings.

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

12 years agoIncrease tex2lyx output format to 405.
Georg Baum [Sat, 22 Oct 2011 17:25:34 +0000 (17:25 +0000)]
Increase tex2lyx output format to 405.
402: Nothing to do (tex2lyx does not support bibtotoc)
403: Nothing to do (the old code already used the new layouts, bug #7780)
404: Nothing to do (write new prettyref syntax)
405: Nothing to do (empty lyx2lyx conversion)

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

12 years agoIncrease tex2lyx output format to 401.
Georg Baum [Sat, 22 Oct 2011 16:58:32 +0000 (16:58 +0000)]
Increase tex2lyx output format to 401.
400: Convert \lyxline to new InsetLine syntax
401: Nothing to do (empty lyx2lyx conversion)

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

12 years agoFix bug #7835 (Relative paths are not supported by the TEXINPUTS prefix)
Enrico Forestieri [Sat, 22 Oct 2011 15:10:43 +0000 (15:10 +0000)]
Fix bug #7835 (Relative paths are not supported by the TEXINPUTS prefix)
This restores \input@path handling, which turns out to be necessary, as
the TEXINPUTS mechanism is not used with relative paths. It turns out
that both methods must be used, because \input@path does not work in all
cases (most notably with tikz).

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

12 years agoIncrease tex2lyx output format to 399.
Georg Baum [Sat, 22 Oct 2011 11:17:57 +0000 (11:17 +0000)]
Increase tex2lyx output format to 399.
399: Added \use_mathdots preamble parameter

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

12 years agoIncrease tex2lyx output format to 398.
Georg Baum [Sat, 22 Oct 2011 11:11:50 +0000 (11:11 +0000)]
Increase tex2lyx output format to 398.
394: Added use_makebox parameter to InsetBox
395: Nothing to do (empty lyx2lyx conversion)
396: Nothing to do (empty lyx2lyx conversion)
397: Nothing to do (tex2lyx does not support nameref)
398: Nothing to do (empty lyx2lyx conversion)

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

12 years agoIncrease tex2lyx output format to 393.
Georg Baum [Sat, 22 Oct 2011 10:59:39 +0000 (10:59 +0000)]
Increase tex2lyx output format to 393.
389: Nothing to do (html output changes)
390: Nothing to do (empty lyx2lyx conversion)
391: Nothing to do (empty lyx2lyx conversion)
392: Activated already prepared required arguments code
393: Renamed OptArg inset to Argument

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

12 years agocmake fix po generation/update: msguniq.exe doesn't like dos line endings (produces...
Peter Kümmel [Fri, 21 Oct 2011 23:22:58 +0000 (23:22 +0000)]
cmake fix po generation/update: msguniq.exe doesn't like dos line endings (produces broken pot files)

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

12 years agocmake fix po generation/update: msguniq.exe doesn't like dos line endings (produces...
Peter Kümmel [Fri, 21 Oct 2011 23:14:35 +0000 (23:14 +0000)]
cmake fix po generation/update: msguniq.exe doesn't like dos line endings (produces broken pot files)

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

12 years agoIncrease tex2lyx output format to 388.
Georg Baum [Fri, 21 Oct 2011 21:11:37 +0000 (21:11 +0000)]
Increase tex2lyx output format to 388.
379: Nothing to do (html output changes)
380: Nothing to do (empty lyx2lyx conversion)
381: Nothing to do (empty lyx2lyx conversion)
382: Activated already prepared notefontcolor code
383: Nothing to do (empty lyx2lyx conversion)
384: Nothing to do (empty lyx2lyx conversion)
385: Nothing to do (empty lyx2lyx conversion)
386: Nothing to do (empty lyx2lyx conversion)
387: Nothing to do (empty lyx2lyx conversion)
388: Nothing to do (empty lyx2lyx conversion)

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

12 years agoIncrease tex2lyx output format to 378.
Georg Baum [Fri, 21 Oct 2011 20:18:49 +0000 (20:18 +0000)]
Increase tex2lyx output format to 378.
369: Nothing to do (empty lyx2lyx conversion)
370: Nothing to do (empty lyx2lyx conversion)
371: Added \use_mhchem parameter
372: Nothing to do (empty lyx2lyx conversion)
373: Nothing to do (the old version was wrong since it used the new g-brief
     layout files with the old file format)
374: Nothing to do (html output changes)
375: Nothing to do (empty lyx2lyx conversion)
376: Nothing to do (empty lyx2lyx conversion)
377: Nothing to do (empty lyx2lyx conversion)
378: Nothing to do (empty lyx2lyx conversion)

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

12 years agoIncrease tex2lyx output format to 368.
Georg Baum [Fri, 21 Oct 2011 19:57:03 +0000 (19:57 +0000)]
Increase tex2lyx output format to 368.
357: Added comment about \underbar and \ulem
358: Nothing to do (empty lyx2lyx conversion)
359: Nothing to do (empty lyx2lyx conversion)
360: Nothing to do (empty lyx2lyx conversion)
361: Nothing to do (empty lyx2lyx conversion)
362: Nothing to do (empty lyx2lyx conversion)
363: Nothing to do (empty lyx2lyx conversion)
364: Nothing to do (empty lyx2lyx conversion)
365: Nothing to do (empty lyx2lyx conversion)
366: Nothing to do (empty lyx2lyx conversion)
367: Nothing to do (empty lyx2lyx conversion)
368: Nothing to do (empty lyx2lyx conversion)

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

12 years agoUse the python found by configure to build po files, part 2
Julien Rioux [Fri, 21 Oct 2011 18:26:12 +0000 (18:26 +0000)]
Use the python found by configure to build po files, part 2

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

12 years agoSolve shortcut conflict
Enrico Forestieri [Fri, 21 Oct 2011 13:31:30 +0000 (13:31 +0000)]
Solve shortcut conflict

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

12 years agoUpdate it.po
Enrico Forestieri [Fri, 21 Oct 2011 13:22:20 +0000 (13:22 +0000)]
Update it.po

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

12 years ago* sk.po
Kornel Benko [Fri, 21 Oct 2011 13:16:38 +0000 (13:16 +0000)]
* sk.po

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

12 years agoDiscrimination of "New" string per Jean-Pierre's request.
Pavel Sanda [Fri, 21 Oct 2011 12:59:30 +0000 (12:59 +0000)]
Discrimination of "New" string per Jean-Pierre's request.

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

12 years agoRemerge sk.po (to test autotools vs cmake)
Pavel Sanda [Fri, 21 Oct 2011 12:27:55 +0000 (12:27 +0000)]
Remerge sk.po (to test autotools vs cmake)

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

12 years agoFix #7816: Edit->Table incorrectly activated inside index entries
Jürgen Spitzmüller [Fri, 21 Oct 2011 07:27:11 +0000 (07:27 +0000)]
Fix #7816: Edit->Table incorrectly activated inside index entries

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

12 years agothat was wrong
Georg Baum [Thu, 20 Oct 2011 20:55:25 +0000 (20:55 +0000)]
that was wrong

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

12 years agoIncrease tex2lyx output format to 356.
Georg Baum [Thu, 20 Oct 2011 20:52:19 +0000 (20:52 +0000)]
Increase tex2lyx output format to 356.
352: New syntax for InsetIndex and printindex command inset
353: Nothing to do (empty lyx2lyx conversion)
354: Nothing to do (empty lyx2lyx conversion)
355: Nothing to do (empty lyx2lyx conversion)
356: Nothing to do (empty lyx2lyx conversion)

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