Commit Graph

593 Commits

Author SHA1 Message Date
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