Commit Graph

551 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
a0a8b578fb * lyx2lyx/lyx_2_0.py:
- add reversion method for XeTeX.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29135 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 08:03:16 +00:00
Jürgen Spitzmüller
737e9b2c20 start XeTeX support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29119 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-06 06:58:30 +00:00
Richard Heck
376853cd7a Fix problem with conversion of empty insets. Also, fix problem with error message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28753 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-11 18:58:38 +00:00
Uwe Stöhr
b742ff6406 support for the LaTeX commands \*phantom, fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28292 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 00:56:37 +00:00
Jürgen Spitzmüller
3d018a6d94 * lyx2lyx/lyx_1_6.py:
- (convert_latexcommand_index): do not stop if a print_index inset is found,
	  but just skip this inset and proceed. There might be index insets after this (bug 5713).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28273 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 10:55:06 +00:00
Vincent van Ravesteijn
dd64c572c2 Allow users to specify toolbar icons for commands with a backslash. This is in the same style as the replacements made for math-insert commands.
See the user's list:
http://thread.gmane.org/gmane.editors.lyx.general/52712

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27979 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-03 18:33:09 +00:00
Jürgen Spitzmüller
8382d7a9dc * lyx_1_6.py (revert_wrapplacement):
- fix reversion of placement argument (bug 5618).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27875 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 09:45:52 +00:00
Jürgen Spitzmüller
a9f15e7cb9 * install lyx_2_0.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27767 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-03 22:46:53 +00:00
Jürgen Spitzmüller
cf6e817709 * lyx_1_6.py:
- fix the conversion of some more complex index insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27759 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-02 07:40:23 +00:00
Jürgen Spitzmüller
9b39fbf557 Add support for Swiss German (bug 5450). File format change.
Babel doesn't support this variant (yet), so we use ngerman. However, for spell checking and thesaurus, this makes
a difference.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27725 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-28 13:44:03 +00:00
José Matox
32f469b851 If it is not broken then break it:
* Fix lyx2lyx default debug level
* Fix lyx2lyx verbose mode
* Use stderr consistently
* Update default version when running from src directory
* Output prettier and more useful information
* Allow to specify the target version, the format will be accordingly
* Have a more reliable chain of dependencies (fixes corner cases < 2.15)
* Add placeholder for future file format changes



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27506 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 22:55:53 +00:00
Jürgen Spitzmüller
c86be3e543 * lyx_1_6.py:
- another bug manifesting in the UG reversion: \slash and \nobreakdash can also occur
               in the middle of a line.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27394 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-12 09:42:37 +00:00
Richard Heck
0ff926b77b Fix lyx2lyx problem connected with subfloats that prevented the User Guide from being exported.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27390 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-12 01:17:47 +00:00
Richard Heck
d5d1987d99 Avoid infinite loop.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27387 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-11 17:44:55 +00:00
Jürgen Spitzmüller
24fe5b08c0 * lyx_1_6.py:
- fix reversion of info insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27386 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-11 17:24:07 +00:00
José Matox
bd64e75489 Fix bug 5411
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27329 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 19:17:35 +00:00
José Matox
c7b7331315 Do not reload unicode symbols each time they are used
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27166 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 16:00:42 +00:00
José Matox
bbb9075e51 Adjust profiling to new lyx2lyx call
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27155 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 16:55:53 +00:00
José Matox
c014f26820 Remove unneeded whitespaces (to help with another patch)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27154 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 16:51:51 +00:00
Richard Heck
e171ec6929 Fix for problem when subfigures in 1.5 don't have captions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27108 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 13:43:07 +00:00
Richard Heck
f67069ed4d Stupider still.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27061 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 19:18:42 +00:00
Richard Heck
cf06f04955 Stupid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27060 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 19:18:21 +00:00
Richard Heck
d6a0a94883 Revert unintentional commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27059 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 18:16:12 +00:00
Richard Heck
87f291c706 Fix issue with convert_macro_global reported by Enrico.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27058 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 18:08:26 +00:00
Uwe Stöhr
14adc7047d lyx2lyx/lyx_1_6.py: fix lyx2lyx for MathMacro conversions, fixes part of http://bugzilla.lyx.org/show_bug.cgi?id=5371
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26964 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 10:50:32 +00:00
Uwe Stöhr
263e72d53a lyx2lyx/lyx_1_6.py: fix remaining lyx2lyx issue of r26882
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26890 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 00:56:17 +00:00
Uwe Stöhr
2fe68fa743 lyx2lyx/lyx_1_6.py: fixes for r26882 as promised
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26885 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 21:43:14 +00:00
Pavel Sanda
308e2d9df3 Sanitize backreferences in hyperref.
http://bugzilla.lyx.org/show_bug.cgi?id=5340
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg144958.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26882 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 16:01:02 +00:00
Jürgen Spitzmüller
cc12f477d2 * lyx2lyx/lyx_1_6.py:
- fix reversion of aligned subfloats (bug 5352).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26879 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 07:51:02 +00:00
Jürgen Spitzmüller
d45ca67d1d ** fix bug 2114. Fileformat change.
** fix bug 5343 (patch from Richard, prerequisite for the other fix)

* Buffer.cpp:
	- increment format to 343
* src/BufferParams.{cpp,h}:
	- new param \use_default_options that allows to select/deselect
	  the "Other" class options defined in the layout file.
* src/frontends/qt4/GuiDocument.cpp:
* src/frontends/qt4/ui/LaTeXUi.ui:
	- add GUI to set \use_default_options, display predefined options in the dialog
	- update dialog correctly on class change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26860 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 09:36:00 +00:00
Jürgen Spitzmüller
41c028cce5 * lyx2lyx/lyx_1_6.py:
- fix conversion of empty index insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26859 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 08:58:42 +00:00
Uwe Stöhr
d30e01fd08 Support for Mongolian, fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26848 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-11 23:52:31 +00:00
José Matox
391ba1e592 fix bug 5333
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26828 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-09 13:07:13 +00:00
José Matox
13bf36618c possible fix to bug 5333
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26827 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-09 12:53:13 +00:00
José Matox
e90f9ea0f7 preview comes always after a latecommand
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26826 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-09 12:51:37 +00:00
José Matox
dec8e81ebd Trim end of line whitespaces (need to clean the difference for further fixes)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26825 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-09 12:09:01 +00:00
Uwe Stöhr
7382c55fd7 add support for TABs in Listings, fileformat change, fixes http://bugzilla.lyx.org/show_bug.cgi?id=3629 , patch by Vincent, lyx2lyx and UI stuff by me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26647 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 18:00:02 +00:00
Richard Heck
87d4bd72b3 Don't use '\n'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26095 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-08 15:22:43 +00:00
Uwe Stöhr
0b115f57db lyx2lyx/lyx_1_6.py: fix bug 5137 and another bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26094 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-07 22:37:27 +00:00
Richard Heck
c451eefaf8 Fix bug 5129.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26080 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-06 12:59:54 +00:00
Uwe Stöhr
35bfca8f60 lyx2lyx/lyx_1_6.py: fix reversion of PDF properties
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26077 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 22:37:28 +00:00
Richard Heck
e5a783d853 Polish the index conversion routine a bit, fixing bug 5119.
We had been assuming too much about the format. Reference.lyx violated it, maybe because it is so old. But anyway, this is a bit more reliable.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26068 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 15:07:37 +00:00
Richard Heck
be3171e15e Fix bug 5122. Silly mistake.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26066 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 14:33:42 +00:00
José Matox
94b2838bec Update format to 340.
Move

\begin_layout

to

\begin_layout Plain Layout

for consistency.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26020 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-01 17:57:01 +00:00
Richard Heck
9380f489b8 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25884 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-25 20:43:32 +00:00
Richard Heck
f119b8f4de Fix bug 4927 again. The latex2ert routine was geared too much toward IndexInset, where
the initial backslash in a LaTeX command is escaped, which it is not in a subfigure.

Note that we are NOT converting labels here into InsetLabel objects. That would not be 
all that hard to do. I've put a comment in about how we could do that. It would be fairly
easy to do.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25581 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 19:24:09 +00:00
Richard Heck
a3cfc7aea3 I suppose a line could begin: status openly. So we'll try harder.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25547 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 22:18:14 +00:00
Richard Heck
d06e468995 Move the lyx2latex conversion into a separate routine, so that it could be used elsewhere, too.
People should welcome to add more conversions, if they seem necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25543 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 22:01:57 +00:00
Richard Heck
2debd7d780 Revert IndexQuotes for Index entries. Note that this is totally basic. Someone
who understands quotes is welcome to fix it up.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25542 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 21:55:06 +00:00
Richard Heck
82152ac435 More work on 5006.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25539 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 16:24:19 +00:00