Commit Graph

664 Commits

Author SHA1 Message Date
Richard Heck
7ba836548f Fix a minor bug in the xymatrix lyx2lyx stuff and make it a bit more
pythonic.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33913 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 16:29:57 +00:00
Vincent van Ravesteijn
81dc517306 Fix bug #6341: Can't set equal spacing in xymatrix.
Fix the file format change that was introduced in r32518.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33893 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 16:29:25 +00:00
Vincent van Ravesteijn
a4ec2fc8fe New file format for InsetPreview introduced in r38890.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33891 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 14:52:47 +00:00
Richard Heck
6b8532784b Fix thinko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33829 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 21:05:14 +00:00
Richard Heck
72d110bb6e Add a math-as-LaTeX option, and fix some issues with lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33801 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-19 15:02:12 +00:00
Richard Heck
d8a1720d56 Give ourselves a little more flexibility about math output under XHTML.
I think it will be worth implementing a version of pure HTML output, for
some uses, a la eLyXer.

Note that at present none of this does anything, and there is no UI to
set it. I just want to make sure it's in the file format, in case I do
not get to this before 2.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33794 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-18 20:35:08 +00:00
Vincent van Ravesteijn
36c1de09a7 Do not output a warning about missing the width of a nomencl_print. The width will not be outputted if it's empty and this is the case when the nomencl_print has "set_width" set to auto or none.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33559 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 18:14:23 +00:00
Jean-Marc Lasgouttes
3e83e10ffe typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33448 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 13:32:38 +00:00
Pavel Sanda
5942071ccb Fileformat++ as a safety measure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33430 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:57:49 +00:00
Uwe Stöhr
59d0045a72 lyx_2_0.py: fix routine to revert multirows so that it works in all cases (independent if a table cell includes further insets)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33423 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:10:45 +00:00
Uwe Stöhr
34012e0bee lyx_2_0.py:
- fix the "revert_tabularvalign" routine (avoid endless loop when a cell contains ERT)
- add a command in routine "revert_nomencl_cwidth"
- routine to revert multirow table cells

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33419 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 04:10:57 +00:00
Uwe Stöhr
8bb69f24b6 support for multirows in tables:
- fileformat change (lyx2lyx code follows the next days)
- the patch is a joint work of Edwin and me

The patch is huge but the major parts work already. I put it in now as the minor known issues can be solved step by step the next days. I think this is the best solution because collaborating with such large patches already lead to copy/paste bugs.

The known issues are listed here:
http://wiki.lyx.org/Devel/Multirow

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33414 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:07:54 +00:00
Jürgen Spitzmüller
7a7ab8f14b Add an option to assure that all aux files are maintained when using the includeonly feature, so that the
page numbering and the references of the master file are maintained in the included children (bug 1005).

I made this optional since some people use \includeonly to save compilation time, but a proper aux file update
needs a full compilation of the complete master prior to the compilation of the \includeonly master.

Hence, a new buffer param is introduced (file format change). 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32936 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 13:25:41 +00:00
Jürgen Spitzmüller
1ccfe14914 * Add native support for \includeonly (bug 5360).
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32826 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 10:01:26 +00:00
Richard Heck
28e9474f7a Some BufferParams for XHTML output.
These are not actually implemented yet, but I wanted to make sure to get
them into the format now, so even if I can't implement them before the
1.7 release, I can do so during the release cycle, without a format
change. I don't expect that to happen, but you never know....


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32683 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 22:22:33 +00:00
Jürgen Spitzmüller
123a589bf8 * Fix bug #2144: Merge the two identical classes g-brief-de and g-brief-en into one class g-brief.
The German layouts are replaced by the English ones.
German localization is now done as it is supposed to be: via gettext.

A file format change was needed to do this.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32406 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 11:53:25 +00:00
Jürgen Spitzmüller
48168a92b4 * Forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32229 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-29 14:43:17 +00:00
Uwe Stöhr
d5099c8605 - introduce option to suppress the LaTeX package mhchem, fileformat change
The fileformat change is also needed because of our mistake that we load mhchem since LyX 1.6.4 automatically so that files created with LyX 1.6.4 won't compile under LyX 1.6.3. Now at least all files created or opened with LyX 1.7 can be reverted to the fileformat of LyX 1.6.x and can therefore be read by all LyX 1.6.x versions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31941 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 01:48:07 +00:00
Jürgen Spitzmüller
71001a8087 Fix bug 6179 ("|" in index entries not embraced in ERT by lyx2lyx).
* OutputParams.{cpp,h}:
	- new param inIndexEntry
* InsetIndex.cpp (latex):
	- set param.
* InsetErt.cpp (plainText):
	- output active chars in IndexInsets

* lib/lyx2lyx/lyx_1_6.py:
	- embrace "|" in ERT when converting old index entries to collapsables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31360 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-10 12:07:42 +00:00
Uwe Stöhr
33eec90086 new document option to suppress the default date, fileformat change, fixes #5823
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31028 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 00:52:33 +00:00
Jürgen Spitzmüller
3a8121ddee * lyx2lyx/lyx_1_6.py: fix convert_url routine (bug 6121).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30869 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-06 08:05:31 +00:00
Vincent van Ravesteijn
716143d3d4 Fix wrong lyx2lyx routines for r30756.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30764 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-24 20:48:49 +00:00
Vincent van Ravesteijn
966687d98b Fix bug #6058: Change tracking not usable in version control.
This patch makes sure that there are minimal changes when loading and saving a file with change tracking.

- the authors are assigned a buffer_id, such that when the file is saved, they get the same id,
- the authorlist is sorted according to the buffer_id,
- the buffer_id is written to the file in the author list (file format change)
- the ids start with 1, because 0 is internally reserved for the current Author,
- when writing the file, the current author is assigned an id if he didn't already have it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30756 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-23 20:08:05 +00:00
Jürgen Spitzmüller
d2bba0b048 * lyx_2_0.py (latex_length):
- simplify.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30745 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-22 07:39:57 +00:00
Jürgen Spitzmüller
42218ca7b1 * lyx_2_0.py:
- further code simplifications.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30744 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-22 06:34:34 +00:00
Jürgen Spitzmüller
8d898ad5b7 * lyx_2_0.py (revert_hspace_glue_lengths):
- proceed after non-glue hspace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30739 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 17:48:03 +00:00
Jürgen Spitzmüller
9a594992d2 * lyx_2_0.py (revert_percent_hspace_lengths, revert_hspace_glue_lengths):
- further simplifications of the code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30738 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 17:41:00 +00:00
Jürgen Spitzmüller
21c5e4633d * lyx_2_0.py (revert_percent_hspace_lengths, revert_hspace_glue_lengths):
- fix bug where a \hspace*{} was not reverted if it was followed by a \hspace{}.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30737 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 17:19:33 +00:00
Jürgen Spitzmüller
e59b0d2c28 * lyx_2_0.py:
- use predefined methods for getting length values.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30736 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 17:02:26 +00:00
Uwe Stöhr
e09862ec15 lyx_2_0.py: fix glue length reversion routine again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30733 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 15:51:36 +00:00
Uwe Stöhr
34ab111257 lyx_2_0.py: re-add comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30729 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 13:19:51 +00:00
Uwe Stöhr
e65445a650 lyx_2_0.py: fix glue length reversion routine
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30728 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 13:14:02 +00:00
Uwe Stöhr
1016353a5e lyx_2_0.py: add comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30725 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 12:02:48 +00:00
Uwe Stöhr
0b33b9d090 allow to use glue lengths in the HSpace dialog; file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30724 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 11:51:43 +00:00
Uwe Stöhr
efd4f71fbd allow the usage of relative lengths in the HSpace and the VSpace dialog; file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30710 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 11:22:51 +00:00
Uwe Stöhr
da35be8a07 lyx_2_0.py: remove unnecessary initializations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30697 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 22:24:42 +00:00
Uwe Stöhr
6b970c0339 GuiDocument.cpp: allow to use percent lengths for the paragraph skip separation; file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30696 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 22:08:58 +00:00
Uwe Stöhr
d7e6c2a539 lyx_2_0.py: correct comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30695 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 21:18:31 +00:00
Uwe Stöhr
53e7a92494 support to specify the paragraph indentation in the document settings dialog; introduces the new class HSpace; - file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30694 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 21:13:27 +00:00
Jürgen Spitzmüller
4e31cd60b3 * lyx2lyx/lyx_1_5.py:
- fix bug 6018.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30644 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 15:03:13 +00:00
Jürgen Spitzmüller
e6f922009f * Add possibility to append active branch names to the output file name (#3105).
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30546 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 14:30:08 +00:00
Uwe Stöhr
3fcd8ee4de lyx_2_0.py: fix revert_tabularvalign to make it work also for booktabs and for more than one table in a line
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30484 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 15:36:11 +00:00
Uwe Stöhr
424943af89 - support for longtable alignment, fileformat change
- GUI support for table alignment

(all comments to the polished layout of the table dialog welcome)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30477 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 13:09:45 +00:00
Uwe Stöhr
fa76010250 lyx_2_0.py: fix revert_tabularvalign
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30476 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 13:01:16 +00:00
Jürgen Spitzmüller
bd4c74b3b7 * add support for the applemac encoding. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30064 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 08:47:38 +00:00
Jürgen Spitzmüller
1d494512fc empty file format change due to r29840.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29841 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 08:27:12 +00:00
Jürgen Spitzmüller
e9cbe2f80f A GUI for nomencl settings. Adds the possibility to enter a custom length.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29779 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:26:15 +00:00
Jürgen Spitzmüller
18cfe15b64 file format change due to r29770.
No automatic width calculation is done for old documents, because these might rely on settings in
nomencl.cfg.

A GUI to alter this is needed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29775 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 08:31:43 +00:00
Jürgen Spitzmüller
7ba2bfb81d * Per-document setting for bibtex and makeindex.
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29774 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 07:20:00 +00:00
Pavel Sanda
0920fd7b5e Introduce new format as a safety measure
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150868.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150895.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29552 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 16:58:15 +00:00
Enrico Forestieri
cd62043a1b Solve problem with underlining citations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29550 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 10:20:40 +00:00
Pavel Sanda
2f69859d2f Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29543 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 09:26:38 +00:00
Pavel Sanda
6fde8f8067 Introduce double underline and wavy underline styles from ulem
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150803.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29542 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 09:26:28 +00:00
Pavel Sanda
47c821789f Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29525 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 22:58:31 +00:00
Pavel Sanda
381b86788d Introduce strikeout text style (strike-through)
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150743.html

Somewhat related to http://www.lyx.org/trac/ticket/4248 .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29523 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 22:45:14 +00:00
Jürgen Spitzmüller
5ef8c7bc54 * lyx_1_6.py:
- Fix reversion of aligned tables in subfloats to LyX 1.5 (bug 5918).
	- Fix reversion of info insets with a backslash to LyX 1.5.
	- Fix unicode characters > LaTeX macro reversion to LyX 1.5.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29421 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 09:50:10 +00:00
Jürgen Spitzmüller
dd930b4535 * final splitindex feature addition: support for \printindex* and \printsubindex*
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 06:10:25 +00:00
Jürgen Spitzmüller
0bd5c5fca8 * Add support for splitindex's \printsubindex command. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29409 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 11:24:38 +00:00
Jürgen Spitzmüller
c52bd08442 Introduce splitindex support. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:29:01 +00:00
Uwe Stöhr
4d30bc7579 support for \pagecolor, fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29220 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 21:40:11 +00:00
Uwe Stöhr
0e8f00dbe1 lyx_1_6.py: remove wrong comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29219 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 21:17:58 +00:00
Jürgen Spitzmüller
60d2b3295a * new per-document default output format. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29181 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 11:06:53 +00:00
Jürgen Spitzmüller
336cb70ae2 * lyx_2_0.py: fix xetex routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29150 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 08:07:42 +00:00
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