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
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
Jürgen Spitzmüller
55a9aa7149
Back to CJK sanity II: re-introduce Japanese (CJK) [bug 4700]
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25511 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 07:27:31 +00:00
Richard Heck
dc6da80146
Try to fix bug 5006. The idea here is to wrap all LaTeX commands that are not in math into ERT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25508 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-08 20:25:53 +00:00
Richard Heck
7c03f1808b
Some more cleanup of these conversion routines.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25498 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 21:20:30 +00:00
Richard Heck
77581b5c0d
Do a little more work towards making subcaptions work.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25497 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 21:13:02 +00:00
Richard Heck
bdb72502aa
Use the unicodesymbols file for the latex2lyx conversion.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 20:31:06 +00:00
Richard Heck
0b4e475bb9
Move the LaTeX to LyX-text conversion into a separate routine, so it can be used
...
in other places. This is now latex2lyx().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25492 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 19:13:01 +00:00
Richard Heck
6033b020f3
Cosmetics, mostly.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25490 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 18:50:50 +00:00
Richard Heck
d48038c87d
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25489 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 18:22:59 +00:00
Richard Heck
166e3b8c0f
Remove the FIXME.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25488 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 18:22:28 +00:00
Richard Heck
bc6c3d91ae
Fix up convert_subfig a bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25487 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 18:21:53 +00:00
Richard Heck
28fcaad580
Fix lstparams reversion.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25486 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 18:17:16 +00:00
Richard Heck
e07caa5f52
Fix up some of the reversion and conversion routines.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25485 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 18:09:29 +00:00
Richard Heck
175959580f
Fix include reversion routine.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25484 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 17:41:56 +00:00
Richard Heck
3a2153b287
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25482 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 17:23:51 +00:00
Richard Heck
13f95530be
Fix whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25478 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:22:55 +00:00
Richard Heck
10f7b8cb35
Fix bug 4984: Revert Flex URL to InsetURL.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25477 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:12:32 +00:00
Uwe Stöhr
e2e78fa20a
- support for polytonic Greek, fileformat incremented to 338, fixes bug 4969, patch by me and Jürgen
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25356 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-22 23:21:46 +00:00
Jürgen Spitzmüller
ae760fa72b
* Fix lyx2lyx and thereby make install (bug 4953).
...
* Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25259 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 14:06:14 +00:00
Abdelrazak Younes
4a1be58591
- Simplify prefs, graphics and external display options which are now true or false.
...
- the display combo in the prefs, external and graphics dialogs are gone
- the lyxrc display_graphics option now overrides any local inset display option
- The external template format has a new tag: Preview
- format incremented to 337
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 07:34:55 +00:00
Jürgen Spitzmüller
0f07e83733
Wrap figures can also have subfloats. I simply forgot that when implementing subfloat support.
...
Well, here it is. Fixes one part of bug 4927. There's a remaining problem on conversion of onld subfigs with LaTeX content (e.g. \label). I'll fix that in a second step.
There's
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25148 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 16:05:52 +00:00
Jürgen Spitzmüller
d7eaaba900
** support for CJK font argument. File Format change **
...
* src/BufferParams.{cpp,h}:
- new param fontsCJK (font_cjk).
* src/output_latex.cpp:
- use fontsCJK param.
* src/Buffer.cpp:
- increase file format
* src/frontends/qt4/GuiDocument.cpp:
* src/frontends/qt4/ui/FontUi.ui:
- GUI for the CJK font param
* lib/lyx2lyx/lyx_1_6.py:
- remove font_cjk param on reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25135 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:18:34 +00:00
Richard Heck
592dbb3284
The UserGuide now exports happily to 1.5.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25131 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 05:00:53 +00:00
Richard Heck
d12eea121c
Conversion and reversion routines for Standard --> PlainLayout --> Plain Layout business.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25130 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 03:54:18 +00:00
Richard Heck
a54ede0aff
Some comments on future cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25126 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 22:37:09 +00:00
Richard Heck
9990563fbb
The 1.5.x User's Guide now loads in 1.6.svn.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25089 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 00:41:38 +00:00
Richard Heck
66799e41fd
Another typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25087 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 00:05:03 +00:00
Richard Heck
d866df82ea
Typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25086 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 23:24:04 +00:00
Richard Heck
e41875173f
Add some LaTeX <--> LyXText conversions.
...
A lot more of this needs to be done.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25081 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 19:47:18 +00:00
Richard Heck
a97fbaa685
More work fixing lyx2lyx.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25080 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 19:42:53 +00:00
Richard Heck
0bc17b0c65
Really get revert_nocite working.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25058 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 19:59:15 +00:00
Richard Heck
44d46835fe
Fix the increment of i here.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25055 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 15:01:28 +00:00
Richard Heck
f7db6b62aa
Revert inadvertent commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25054 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 15:00:23 +00:00
Richard Heck
9ae7fa2f36
Just a comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25053 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 14:57:33 +00:00
Richard Heck
3d4f1ca1bc
Make revert_nocite work again. Similar issues with ranges and changing indices.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25052 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 14:55:47 +00:00
Richard Heck
cefb583528
Similar range-->while stuff.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25051 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 14:27:43 +00:00
Richard Heck
843fa219b6
Fix convert_spaceinset again.
...
The problem here is that
for i in range(len(document.body)):
sets the range BEFORE we do any of our manipulations. But those manipulations
can make document.body longer. As a result, we can fail to test some lines.
Instead, use:
while i < len(document.body):
and increment i in the while loop.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25050 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 14:22:11 +00:00
Jürgen Spitzmüller
16ad4a928d
* lib/lyx2lyx/lyx_1_6.py:
...
- revert wrong commit (rev. 25033)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25048 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 10:24:27 +00:00
Richard Heck
983c002dd5
More lyx2lyx fixes. Same issue.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25041 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 02:26:56 +00:00
Richard Heck
180b205049
More fixes, same issue.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25040 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 02:22:44 +00:00
Richard Heck
b40db6b561
Fix revert btprint lyx2lyx.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25039 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 02:21:29 +00:00
Richard Heck
74141d4f72
Fixes for the fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25038 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 02:18:51 +00:00
Richard Heck
3e70c177a9
Fix for revert_nocite lyx2lyx. Warnings as before.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25037 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 02:14:15 +00:00
Richard Heck
f7158c0d29
More lyx2lyx fixes. Same warning as before.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25036 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 02:04:33 +00:00
Richard Heck
72a84b1c09
Fix framed notes lyx2lyx reversion. Again, this was a mechanical fix. It should be checked.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25035 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 01:50:39 +00:00
Richard Heck
d70f3a1f3b
Fix framed notes lyx2lyx.
...
Note that this is a mechanical fix. Someone should check that it works.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25034 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 01:45:19 +00:00
Richard Heck
24165dfe3d
Fix a bunch of backslashes.
...
If this is wrong, someone revert it. But I think it must be right.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25033 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 01:37:43 +00:00
Richard Heck
07d7b03773
Fix the encoding.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25032 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 01:33:17 +00:00
Richard Heck
b5ce6e4bda
Fix space inset lyx2lyx.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25031 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 01:28:31 +00:00
Richard Heck
2a47858dda
Fix remaining issues with InsetSpace. The identifier "Space" used in the .lyx
...
file has been changed to "space" to match the identifier used for the inset in
Inset.cpp and for the dialog in GuiView.cpp.
In future, we will want to get a similar uniformity elsewhere: The identifier
used in the LyX file should match the one used as inset identifier. The easy
way to do this, in the code, is to have insets write themselves this way:
os << insetName(lyxCode()) << " ";
rather than at present:
os << "space ";
Similar things could then happen elsewhere. E.g., if the dialog names are in
sync with the inset names, then we could do something like:
hideDialogs(insetName(lyxCode()), this);
rather than
hideDialogs("space", this);
and perhaps even put that into the Inset destructor rather than have specific
versions in each inset---with a test for whether there is such a dialog, of
course.
But this is all for later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25016 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 15:38:43 +00:00
Uwe Stöhr
b2b4cb1fe3
BufferParams.cpp: fix the order for page sizes, fileformat change is needed, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4868
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24792 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-15 22:54:13 +00:00
Jürgen Spitzmüller
4144ef2223
* lib/lyx2lyx/lyx_1_6.py:
...
- more work on InsetIndex reversion. Now InsetSpecialChar and font switches are
handled (within limits)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24716 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-11 08:17:14 +00:00
Jürgen Spitzmüller
27ac72bfa9
* lib/lyx2lyx/lyx_1_6.py:
...
- more work on InsetIndex reversion. Still lots left to do.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24711 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-10 17:19:26 +00:00
Jürgen Spitzmüller
e2ed743c23
* lib/lyx2lyx/lyx_1_6.py:
...
- partial fix of bug 4838 (reversion of new index inset to 1.5)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24697 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-09 10:53:08 +00:00
Jürgen Spitzmüller
7d5fd32778
* lib/layouts/apa.layout:
...
- Use styleguide-conforming headings in the APA layout (bug 4827).
* src/Buffer.cpp:
- file format change to 333.
* lib/lyx2lyx/lyx_1_6.py:
- convert obsoleted layouts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24694 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-09 08:57:32 +00:00
José Matox
999889716a
No need to change LyX.py everytime there is a file format change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24684 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 10:01:38 +00:00
Jürgen Spitzmüller
7bf20758b5
fix bug 4837.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24682 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 09:43:27 +00:00
Pavel Sanda
13e42a8c73
Introduce groups for graphics insets. That includes:
...
- GuiGraphics dialog field for setup new groups.
- Graphics context menu for assigning to certain group.
- Fileformat change for groupId field in Graphics inset.
- Undo mechanism added to inset-apply, for catching changes
in preference dialog.
- Qt designer 4.4 used now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24644 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 21:13:09 +00:00
Jürgen Spitzmüller
98b51ebfbc
* lyx2lyx/lyx_1_6.py (revert_rotfloat, revert_widesideways, revert_subfig):
...
- when searching \begin_inset Float, exclude \begin_inset FloatList (bug 4824)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24608 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 06:37:25 +00:00
Edwin Leuven
832bbc4329
fix: http://bugzilla.lyx.org/show_bug.cgi?id=4688
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24598 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-04 07:51:50 +00:00
Jürgen Spitzmüller
a8d19aeff5
whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24568 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 20:16:37 +00:00
Jürgen Spitzmüller
95767b840b
support for rightarrowfill, leftarrowfill, upbracefill, downbracefill, by Helge Hafting.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24567 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 20:11:57 +00:00
Jürgen Spitzmüller
764b5cf859
support for default master document.
...
file format change.
This is the last feature for today. Promised.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24540 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 16:38:56 +00:00
Richard Heck
63f7d0318c
We don't need to report this. Sometimes this will be absent.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24391 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 16:35:33 +00:00
José Matox
b749e175c6
Fix calls to find_default_layout (guarentee arguments consistency)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24371 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 21:29:44 +00:00
Jürgen Spitzmüller
a125dab7fd
* lyx_1_6.py:
...
- fix typo in new helper function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24366 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 17:03:21 +00:00
Bo Peng
76d272da30
Embedding: revert embedding options and extra_embedded_files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24328 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 17:06:03 +00:00
Edwin Leuven
448bc037a0
fix index problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24319 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 21:12:24 +00:00
Uwe Stöhr
7fa7e2a9d9
languages: support for Mexican Spanish as discussed in http://bugzilla.lyx.org/show_bug.cgi?id=4736
...
fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24288 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 00:25:08 +00:00
Richard Heck
58d58dfe55
Try to fix the PlainLayout issue a bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24276 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 17:59:01 +00:00
Richard Heck
27dd040f6d
PlainLayout is now Plain Layout.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24272 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 15:53:35 +00:00
Richard Heck
fa9959fd41
Check for Plain Layout as well as for Standard in these cases. We should always do this in the 1.6.x lyx2lyx.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24270 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 15:52:01 +00:00
Richard Heck
5ae2f40671
Fix bug 4737.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24269 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 15:41:14 +00:00
Jürgen Spitzmüller
0fab956f4a
* lib/lyx2lyx/lyx_1_6.py:
...
- fix reversion when hyperref is _not_ selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24259 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 14:02:42 +00:00
Uwe Stöhr
17c3888d25
lyx2lyx: lyx2lyx: lyx_1_6.py, parser_tools.py:
...
add some comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24246 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-12 13:54:30 +00:00
Uwe Stöhr
c594c4d561
lyx2lyx: lyx_1_6.py, parser_tools.py:
...
add a conversion routine for the PDF options, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4612
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-12 13:48:17 +00:00
Jürgen Spitzmüller
345be8a6d0
* lib/lyx2lyx/lyx_1_6.py:
...
- put in a reversion for the embed tag of InsetExternal as close as possible to the
actual change. This fixes the reversion of documents with external insets to 1.5,
but still leaves a range of invalid file formats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24239 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 17:20:59 +00:00
Jürgen Spitzmüller
5997d41b38
** support pdfpages via external inset **
...
* development/FORMAT:
* src/Buffer.cpp:
- format incremented to 326
* src/LaTeXFeatures.cpp:
* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
- support pdfpages
* lib/external_templates:
- add template for pdfpages
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- add reversion routine.
* lib/configure.py:
- fix call to "pdftops --eps"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24237 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 14:07:25 +00:00
José Matox
bfdee3f1cd
Fix invalid mix of int and strings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24092 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 12:03:09 +00:00
Uwe Stöhr
30663a8019
Fileformat change.
...
Provide only one Japanese language that is encoding independent, patch partly by Koji Yokata.
This fixes http://bugzilla.lyx.org/show_bug.cgi?id=4597
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24053 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 23:25:40 +00:00
Jürgen Spitzmüller
c876a2e7c7
Merge the two linebreak insets into one.
...
* src/Buffer.cpp:
- file format change to 324
* development/FORMAT:
- document file format change
* src/insets/InsetNewline.{cpp,h}:
- the former two separate derivates are now merged into one inset
with proper Params and Mailer. This simplifies the structure and allows for
switching between the two kinds.
* src/Text3.cpp:
- The newline insets are now being generated with
newline-insert [newline|linebreak]
* src/factory.cpp:
* src/Text.cpp:
- Newline inset is now a proper inset with opening and closing tag.
* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetTabular.cpp:
* src/mathed/InsetMathGrid.cpp:
* src/mathed/InsetMathHull.cpp:
- remove LFUN_NEW_LINE, LFUN_LINE_BREAK,
add LFUN_NEWLINE_INSERT
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion and reversion routines for newline insets.
* lib/ui/stdmenus.inc:
* lib/ui/stdcontext.inc
- adapt menu and add context menu to switch between newpage variants.
* lib/bind/*.bind:
- adapt to new lfuns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23966 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 08:10:01 +00:00
Jürgen Spitzmüller
e8ffafef99
* lyx_1_6.py: attempt to fix the make install problem.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23953 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 19:10:04 +00:00
Jürgen Spitzmüller
d2a4c97ab8
Merge the diverse newpage insets into one.
...
* src/Buffer.cpp:
- file format change to 323
* development/FORMAT:
- document file format change
* src/insets/InsetNewpage.cpp:
- the former four separate derivates are now merged into one inset
with proper Params and Mailer. This simplifies the structure and allows for
switching between the various kinds.
* factory.cpp:
- The newpage insets are now being generated with
newpage-insert [newpage|pagebreak|clearpage|cleardoublepage]
* src/Text.cpp:
- Newpage inset is now a proper inset with opening and closing tag.
* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
- remove LFUN_PAGEBREAK_INSERT, LFUN_CLEARPAGE_INSERT
and LFUN_CLEARDOUBLEPAGE_INSERT
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion and reversion routines for newpage insets.
* lib/ui/stdmenus.inc:
- adapt menu and add context menu to switch between newpage variants.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23942 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 09:26:03 +00:00
Richard Heck
700af7e701
Add support for document-local layout information. GUI is to follow.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23913 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 12:31:07 +00:00
José Matox
7535cabd60
Normalize the begining of Tabular insets (+ cosmetics: remove spaces at the end of lines)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23823 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 09:40:24 +00:00
Edwin Leuven
57041a9b84
take care of superfluous space in 1.3 tabular format
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23821 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 08:41:44 +00:00
José Matox
6c57005797
fix bug 4639
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23813 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 19:41:50 +00:00
Edwin Leuven
e01e14872d
Free line setting in tabulars. FILE FORMAT CHANGE.
...
- gets rid of the M_TOGGLE_LINE_... functions
- allows arbitrary clines without multicol
- sets arbitrary vertical lines through multicol
- drop row/col line properties, everything is now stored at the cell level
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23812 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 18:08:32 +00:00
Jürgen Spitzmüller
18101eea7b
** add support for protected horizontal fill. FILE FORMAT CHANGE. **
...
* src/Buffer.cpp:
- increment file format to 320.
* src/insets(InsetSpace.{cpp, h}:
- add HFILL_PROTECTED, a protected horizontal fill
(LaTeX: \hspace*{\fill})
* src/factory.cpp:
* src/frontends/qt4/GuiHSpace.{cpp, h}:
- handle the new space type.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- reversion routine for protected hfill.
* development/FORMAT:
- document file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23805 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 12:11:28 +00:00
Jürgen Spitzmüller
66afc03a54
* lib/lyx2lyx/lyx_1_6.py:
...
- fix convert_spaceinset routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23794 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 14:35:03 +00:00
Jürgen Spitzmüller
e14f384a2c
* lib/lyx2lyx/lyx_1_6.py:
...
- fix error in convert_subfig triggered by the User Guide.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23792 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 14:12:42 +00:00
Jürgen Spitzmüller
f2e8cd3cd9
*** File Format Change: UI and enhancement for InsetSpace ***
...
* src/insets/InsetSpace.{cpp,h}:
- merge in HFill inset, add support for dotfill, hrulefill,
hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
- remove
* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
- new GUI for Space insets.
* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
new Inset member isStretchableSpace() to indicate HFill and friends.
* Buffer.cpp:
- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion/reversion routines
* development/FORMAT:
- document file format change
* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
- deal with UI changes.
* src/LyXAction.cpp:
- remove LFUN_HFILL_INSERT
* src/LyXFunc.cpp:
- handle space dialog.
* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
- adapt to changes
* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
- add HSpace dialog, remove HFill.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00
Bo Peng
932998494b
Embedding: add option \extra_embedded_files to buffer params. This increase
...
LyX file format to 318. The Embedded files panel of document settings has
been simplied, with working add and remove buttons. Note that bease BufferParams
lacks buffer path information, extraEmbeddedFiles are vector<string>, instead
of EmbeddedFileList (as previously planned).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23606 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 23:04:14 +00:00
Uwe Stöhr
3db3b9930a
fileformat incremented to 317:
...
support for floating placement settings for wrap floats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23394 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-02 17:12:22 +00:00
Uwe Stöhr
eb1b57f0f5
lyx_1_6.py: fix fileformat number
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23391 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-02 16:51:53 +00:00
Jürgen Spitzmüller
ac1977018b
** subfig support **
...
* src/Buffer.cpp:
* development/FORMAT:
- bump format to 316.
* src/insets/InsetFloat.{cpp, h}:
- let nested floats be subfloats
NOTE: docbook support is missing.
* src/insets/InsetCaption.{cpp, h}:
- handle subfigure captions
* src/insets/InsetGraphics.cpp:
* src/insets/InsetGraphicsParams.{cpp, h}:
- remove old subfigure support
* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
- check for subfig instead of subfigure.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion/reversion routines for subfig -> subfloats
NOTE: the reversion routine still has bugs.
* src/Counters.{cpp, h}:
- add identifiers for subfloats
* src/LaTeXFeatures.{cpp, h}:
- support for subfig
* src/TextClass.cpp:
- set up subfloat counter for all custom floats.
* src/frontends/qt4/GuiGraphics.cpp:
* src/frontends/qt4/ui/GrahicsUi.ui:
- remove subfigure UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23381 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-02 11:30:50 +00:00
Jürgen Spitzmüller
ca6246e4da
* lib/lyx2lyx/lyx_1_5.py:
...
- implement wrapper around normalize that handles specific cases
that must not be normalized (rest of bug 3313).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23227 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-25 13:32:08 +00:00
Richard Heck
4ab6f265e9
Add support for column separation in page margins. Fixes bug 3337.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23059 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-19 05:24:48 +00:00
Jürgen Spitzmüller
0c6c52943b
* lib/lyx2lyx/LyX.py (get_encoding):
...
- handle the "utf8x" inputenc option (part of bug 4503).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22884 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 07:52:26 +00:00
Uwe Stöhr
a58f6d8025
lyx_1_6.py: remove the serial letter routine because due to r22811 more ERT would have to be converted. By the removal I follow the rule not to convert ERT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22813 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 20:23:44 +00:00
Uwe Stöhr
427f0b739c
lyx_1_6.py: adjust the serial letter routine according to r22811
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22812 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 20:07:21 +00:00
Uwe Stöhr
886db92f82
enable the scrlttr 2 class for serial letters:
...
- file format change
- new example files and an example address database
- remove ugly hack from scrlttr2.layout and fix bug 4529
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22764 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 11:56:44 +00:00
Jürgen Spitzmüller
76c98826a2
* lib/lyx2lyx/lyx_1_4.py:
...
* lib/lyx2lyx/lyx_1_6.py:
- improve reversion method for floats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22508 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 09:59:37 +00:00
Richard Heck
df4634968a
Fix bugs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22506 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 06:43:44 +00:00
Richard Heck
d5d665482e
This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.
...
The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.
By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.
So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i) GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.
The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework.
I've also updated the module documenation to accord with this change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 04:28:12 +00:00
Jürgen Spitzmüller
4b799833e7
*** Support for generic sideways floats ***
...
* src/Buffer.cpp:
- format is up to 312.
* src/LaTeXFeatures.cpp:
- add rotfloat.
* src/Insets/InsetFloat.cpp:
- handle starred and generic sideways floats.
* src/frontends/qt4/FloatPlacement.{cpp,h}:
- adjust GUI to the new features.
* lib/chkconfig.ltx:
- add rotfloat
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- add reversion methods for new floats
* lib/lyx2lyx/lyx_1_4.py:
- add proper reversion method for sideways floats (this was missing).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 18:56:53 +00:00
Richard Heck
a8d2d891ee
Wow.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22489 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 08:03:48 +00:00
Richard Heck
9f8bf4c9da
Dummy format change for AMS modularization.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22470 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 07:22:43 +00:00
Jürgen Spitzmüller
a229a78dff
Support for \nocite* from Berhard Reiter. Increments file format to 210.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-28 16:56:57 +00:00
Richard Heck
2f22c881ee
Routine for adding modules to the list of modules. Preparatory for AMS modularization.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22318 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 20:15:31 +00:00
Richard Heck
e285d2a7d8
Support for nocite, provided by Bernhard Reiter.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-20 15:46:14 +00:00
Uwe Stöhr
90c14f8c12
support for Serbian with Latin letters
...
- fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22143 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 23:29:56 +00:00
José Matox
73655dbbee
Add "default" to language list. (fixes a crash).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-10 18:51:54 +00:00
Jürgen Spitzmüller
4770eb8ae2
* lib/lyx2lyx/lyx_1_1.py (revert_latexcommand_index):
...
- umlauts must be reverted to escaped forms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22022 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-08 15:56:19 +00:00
Jürgen Spitzmüller
7feaac16d2
* lib/lyx2lyx/lyx_1_5.py:
...
- fix bug 4333.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22019 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-08 15:38:39 +00:00
Jürgen Spitzmüller
61e1643821
Support for \slash and \nobreakdash-
...
* src/lfuns.h:
* src/Text3.cpp:
* src/insets/InsetMathNest.cpp:
* src/insets/insetCollapsable:
- new LFUN_SPECIALCHAR_INSERT
- nuke LFUN_HYPHENATION_POINT_INSERT,
LFUN_LIGATURE_BREAK_INSERT,
LFUN_DOTS_INSERT,
LFUN_END_OF_SENTENCE_PERIOD_INSERT,
LFUN_MENU_SEPARATOR_INSERT
(functions now handled as arguments of the above)
* src/insets/InsetSpecialChar.{cpp,h}:
- implement \slash and \nobreakdash-
* src/Buffer.cpp:
- increment format to 307.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- reversion methods for SpecialChar \slash{} and
SpecialChar \nobreakdash-
* development/FORMAT:
- document file format change
* lib/ui/stdmenus.inc:
* lib/ui/classic.ui:
- add new SpecialChars to the menus, adapt lfuns to new scheme
* lib/bind/aqua.bind:
* lib/bind/cua.bind:
* lib/bind/emacs.bind:
* lib/bind/fi/menus.bind:
* lib/bind/mac.bind:
* lib/bind/menus.bind:
* lib/bind/sciword.bind:
* lib/bind/xemacs.bind:
- add shortcuts for new SpecialChars, adapt lfuns to new scheme
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21989 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-06 11:04:56 +00:00
Uwe Stöhr
d21c9a2c07
support for the language Interlingua
...
- fileformat change
(Interlingua was the last missing language supported by babel)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21976 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 22:04:33 +00:00
Uwe Stöhr
fa37b1c4b1
support for the language Bahasa Malaysia
...
- fileformat change
- rename "Bahasa" to "Bahasa Indonesia"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 21:42:57 +00:00
Jürgen Spitzmüller
3582be1441
framed.sty goes InsetBox:
...
* src/insets/InsetBox.{cpp,h}:
* src/frontends/qt4/GuiBox.{cpp,h}:
* src/frontends/qt4/ui/BoxUi.ui:
- add and handle Framed and Shaded boxes
- use more descriptive label names
- implement name() function for Box:Shaded's sake
* src/insets/InsetNote.{cpp,h}:
* src/frontends/qt4/GuiNote.cpp:
* src/frontends/qt4/ui/NoteUi.ui:
- remove Framed and Shaded.
* lib/layouts/stdinsets.inc:
- remove Note:Framed and Note:Shaded
- add Box:Shaded
* Buffer.cpp:
- bump format to 304.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- add conversion/reversion of framed/shaded notes to boxes.
* development/FORMAT:
- document file format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21945 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-04 09:25:50 +00:00
Uwe Stöhr
bfec9543b3
lyx2lyx/lyx_1_6.py: revert \linebreak and \pagebreak correctly to ERT
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21806 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 22:36:49 +00:00
Uwe Stöhr
0ef6b7c5fe
- remove Serbocroatian from the language list because this was a fake. Croatian was used under the hood but we already have Croatian separately.
...
- implement Serbian
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21786 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 22:39:04 +00:00
Uwe Stöhr
9608e4971b
support for the languages Latin and North Sami
...
- fileformat change
(I wonder why support for them was removed (must be before LyX 1.3), because the old reLyX script listed them as supported)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21783 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 21:09:01 +00:00
Uwe Stöhr
12f7869ac0
support for \linebreak:
...
- fileformat change
- tex2lyx support
- rename LFUN_BREAK_LINE to LFUN_NEW_LINE because this is what the lfun does and to avoid confusions
- new menu entry
- new shortcut C-S-Return
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21778 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 18:34:37 +00:00
Uwe Stöhr
97aa558cac
support for \pagebreak:
...
- rename former "pagebreak" to "newpage" since it produces a \newpage
- new LFUN
- menu entry
- tex2lyx support
- fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 02:10:00 +00:00
Martin Vermeer
9df0ce8504
Improve conversion/reversion of index strings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21692 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 18:18:24 +00:00
Martin Vermeer
4bdd6f7937
Correct conversion of math insets inside Index
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21680 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 19:53:54 +00:00
Richard Heck
70055b3422
Change lyx2lyx to conform to new standard URL inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21586 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 15:30:29 +00:00
Uwe Stöhr
a5c7679887
lyx_1_6.py: fix for previous commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21360 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 22:40:31 +00:00
Uwe Stöhr
c750446566
lyx_1_6.py: fix dataloss in URL conversion routine
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21359 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 22:17:54 +00:00
Uwe Stöhr
0a7567ce3b
- add entry to FORMATS file for Stefan's format change (Richards to 296 change is still not correctly listed)
...
- add support for hyerlink targets - fileformat changed
(For Hyperlink.cpp I still need help to get rid of the strings and chars and use docstrings and char_type instead!)
Can anyone please open the changed Hyperlink.ui with a Qt 4.2 designer or below, save it and commit? Thanks. (Otherwise you cannot compile it.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21347 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 17:37:43 +00:00
Stefan Schimanski
9d9c5959f3
* file format 298 to convert macro definitions with optional parameters into ERT. This is still just an empty convertion, waiting for Uwe to find time to implement it.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21326 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 11:03:51 +00:00
Uwe Stöhr
751fc1dc5e
missing lyx2lyx stuff for the fileformat change to 297
...
(previous fileformat change to 296 by Richard is not yet described in FORMAT)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21302 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 22:07:16 +00:00
Uwe Stöhr
68167ee254
lyx_1_6.py: fix copy/paste bug from my previous commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21274 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 22:42:58 +00:00
Uwe Stöhr
bb46fe5f0e
fileformat change for my previous commit: Albanian and lower Sorbian support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21273 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 22:38:36 +00:00
Richard Heck
4064d2c468
InsetInclude becomes an InsetCommand.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21149 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 15:02:15 +00:00
Bo Peng
7063b33b1b
Remove the manifest section of the .lyx file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 18:06:00 +00:00
Enrico Forestieri
b96754bd88
Fix lyx2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21038 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 16:49:22 +00:00
Richard Heck
bfbf9c14e2
Fix up the HREF inset reversion routine.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21027 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 05:34:00 +00:00
Richard Heck
17fafa7f3d
The lyx2lyx for recent work on href inset done by Uwe.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20975 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-15 16:40:47 +00:00
Uwe Stöhr
7075eaadef
The huge URL patch:
...
- rename the lfun to href-insert.png
- rename the files to Hyperlink...
- the former URLUi produces now \href commands (hyperref)
Only missing thing is the lyx2lyx conversion routine - this will be done by Richard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 19:06:09 +00:00
Uwe Stöhr
dfc7fc59c1
lyx_1_6.py: avoid the same name of two different functions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20934 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 03:18:51 +00:00
Uwe Stöhr
ed43dea031
fileformat change to 294 for Pavel's PDFOptions cleanup in r20881
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20933 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-12 23:51:56 +00:00
Bo Peng
353aacab4b
InsetInfo: lyx2lyx support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20905 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 14:56:34 +00:00
Uwe Stöhr
d44d755732
lyx2lyx/lyx_1_6.py: forgot to revert the encoding too in my last commit (r20859)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 00:12:48 +00:00
Uwe Stöhr
a9b5b1ff9a
Fileformat incremented to 293 due to yesterdays' support for japanese-plain (r20831)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20859 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 23:40:23 +00:00
Bo Peng
b352c78905
Fix indentation (from 2 spaces to 4) in lyx_1_6.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20818 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 14:26:16 +00:00
Uwe Stöhr
ae0f514870
support for the Vietnamese languages
...
fileformat increased to 291
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20738 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-04 23:20:39 +00:00
Uwe Stöhr
d162028a9c
lyx2lyx/lyx_1_6.py: fix a comma
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20720 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 22:00:45 +00:00
Uwe Stöhr
e6498670fb
lyx2lyx/lyx_1_6.py: remove now obsolete comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20718 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 21:39:32 +00:00
Uwe Stöhr
2492def7da
provide wrap tables based on the current wrap float implementation
...
file format increased to 290
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 21:07:01 +00:00
Martin Vermeer
d21a3bb445
Index as collapsible, preserving existing feature set
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20699 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 13:38:19 +00:00
Uwe Stöhr
2b16811b46
lyx2lyx/lyx_1_6.py: small code change for better understanding
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20689 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 09:55:37 +00:00
Richard Heck
e4558862ba
Stupid mistake.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20678 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 00:37:08 +00:00
Uwe Stöhr
612504b796
lyx_1_6.py: fix endless loop, but routine is still not working, see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg128426.html
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20677 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 00:09:47 +00:00
André Pönitz
581b67b26e
move ChangeLogs to the attic
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 14:12:55 +00:00
Uwe Stöhr
643780f4e4
lyx2lyx/lyx_1_6.py: small tweak
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20553 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 22:52:37 +00:00
Richard Heck
0787ade6c0
This is the first part of a cleanup of how we handle the InsetCommand hierarchy. This part starts to disentangle the type of the inset from the command that a single instance of the inset represents. This involves two sorts of changes:
...
(i) The file format is changed, so that command insets are represented as:
\begin_inset CommandInset insetype
LatexCommand command
...
\end_inset
This involves some lyx2lyx and changes to the readInset() routine in factory.cpp
(ii) The InsetCommand and InsetCommandParams classes also have to be changed, as the command name was used in these classes for various purposes for which the inset type ought really to be used.
Further clean-up to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20544 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 18:24:18 +00:00
Uwe Stöhr
c5372ca60e
lyx2lyx/lyx_1_6.py: add conversion routine I forgot in r20462
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20466 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 14:37:10 +00:00
Uwe Stöhr
3ab8eef56a
lyx2lyx/lyx_1_4.py: fix typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 13:46:40 +00:00
Uwe Stöhr
b7d0510502
Fileformat increased to 287: support for optional arguments of package wrapfig that is used for wrap floats
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20462 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 13:43:58 +00:00
Uwe Stöhr
011459ce46
- increase fileformat to 286: this has been forgotten in Pavel's PDF-support patch
...
(besides this, note that the fileformat change to 285 is not yet documented in FORMAT)
- lyx2lyx/lyx_1_6.py: fix routine to revert the PDF-support stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20448 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 12:39:31 +00:00
Richard Heck
a1a395d4e7
Missing things in lyx2lyx from PDFOptions commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20393 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 22:57:23 +00:00
André Pönitz
21f0dd25f1
Pavel Sanda's "PDFOptions" patch, part II
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20390 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 22:32:20 +00:00
José Matox
1a221943db
Fix handling of cjk_encoding for documents made with versions older than 1.5
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20380 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 16:12:47 +00:00
Bo Peng
93196b1f73
Embedding: add a check box to InsetGraphic and show/change embedding status
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20297 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 18:31:32 +00:00
José Matox
dbe7b13f65
lyx2lyx: use parseopt instead of getopt (the documentation of options
...
is kept in sync with its usage)
LyX.py: make source more readable, place whitespaces, break long
lines, add documentation strings, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20279 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-14 14:37:14 +00:00
Bo Peng
e2d5893eab
Embedding: move manifest to .lyx file, as a separate section between header and body
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20212 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 14:23:12 +00:00
Uwe Stöhr
17112f655d
Helge's wrapfig patch:
...
- Format incremented to 284
- LaTeX-package wrapfig is now used instead of flotflt for wrap floats (this allows us to implement now also a table wrap float)
(the optional overhang argument of wrapfig will be implemented later)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20185 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 23:47:22 +00:00
Uwe Stöhr
ff9143b226
LyX.py: fix for previous commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20175 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 18:37:50 +00:00
Uwe Stöhr
350dad6f65
doc_toc.py: remove non-ascii character since LyX.py can't encode it at the moment
...
LyX.py: fix thinko that lead to out of range list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20173 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 17:02:48 +00:00
Martin Vermeer
2e5355e4c2
Convert CharStyle to Flex also in file format
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20138 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 13:01:29 +00:00
José Matox
b3d5000a64
Increment file format due to the embedded feature
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19938 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 09:46:14 +00:00
Richard Heck
8a947f63da
This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.
...
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.
This patch adds the backend. The ModuleList class holds a list of the available modules, which are retrieved from lyxmodules.lst, itself generated by configure.py. There are two LFUNs available: modules-clear and module-add, which do the obvious thing; you can test by typing these into the minibuffer, along with the name of one of the available modules: URL (a CharStyle), Endnote (a Custom Inset), and---with the spaces---End To Foot (View>LaTeX and look at the user preamble), which are themselves in lib/layouts. There are some others, too, that allow theorems to be added to classes like article and book.
The GUI will come next.
Issues: (i) The configure.py script could be improved. It'd be nice, for example, if it tested for the presence of the LaTeX packages a particular module needs. But this would mean re-working the LaTeX script, and I don't know how to do that. Note that at present, the packages are ignored. This will change shortly. (ii) I've used std::string in LyXModule, following what seemed to be a precedent in TextClass. If some of these should be docstrings, please let me know, and I'll change them. (iii) There is at present no distinction between LaTeX and DocBook modules. Should there be? That is: Should there be modules that are available when the document class is a LaTeX class and others that are available only when it is DocBook? Or should there just be one set of modules? Each module can of course indicate for what it is suitable in its description.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 17:59:49 +00:00
José Matox
f6e94c8b24
Fix bug 4158.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19886 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 13:39:15 +00:00
Alfredo Braunstein
b100b0a4c4
fix tabulation bug (python is amazing)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19646 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-19 14:03:51 +00:00
Martin Vermeer
3c504502bf
Further inset configurability, moving charstyle stuff to collapsable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19640 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-18 23:26:07 +00:00
Martin Vermeer
ff682ec3e4
partial merge of charstyle and insetlayout stuff, part 2 (lyx2lyx)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19622 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-17 15:48:41 +00:00
José Matox
f130c13c7b
Increase the file format, now every \\begin_deeper has a corresponding \\end_deeper.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19461 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 14:56:49 +00:00
José Matox
ca81b43f03
Fix bug 518 (thanks to Jean Marc and Martin for the help)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19455 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 13:25:36 +00:00
José Matox
a8dcedb3b1
Prepare for lyx 1.4.5
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19182 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-24 14:29:21 +00:00
José Matox
155058a362
Another take at bug 4049
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19172 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-23 17:06:32 +00:00
José Matox
61cb6824a6
Second part of bug 4050 fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19168 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-22 20:10:28 +00:00
José Matox
972ec40b73
Fix problem reported by bug 4050 (I am not sure if this fixes the bug)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19167 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-22 19:03:11 +00:00
José Matox
b03bc96912
Fix bug 2049
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19166 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-22 18:20:22 +00:00
Bo Peng
cce9cfc975
fix wrong fix r19160. I did not have an extra \end_layout, but missed a \begin_layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19163 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-21 05:45:50 +00:00
Bo Peng
f668844789
Remove an extra \end_layout from revert_listings_inset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19160 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 19:02:52 +00:00
José Matox
ce87f9dd49
(Atempt to) Fix bug 4048
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19159 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 16:02:24 +00:00
José Matox
6dfd1c17f3
Prepare code for refactorisation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19158 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 15:06:48 +00:00
José Matox
d3f7996cdd
Move related code together (no code added or deleted)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19157 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 14:25:04 +00:00
Jürgen Spitzmüller
586a07709f
* lib/lyx2lyx/lyx_1_5.py (revert_unicode):
...
- reintroduce \n's accidentally removed in revision 19145
(fixes bug 4046)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19153 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 10:26:01 +00:00
Dov Feldstern
11441c8560
Fix a few edge-cases which in the lyx2lyx conversion to format 249
...
(multi-encoding -> utf8); specifically, the language was being
incorrectly identified in certain insets, which of course led to
encoding problems.
This fixes part of bug 3613 (http://bugzilla.lyx.org/show_bug.cgi?id=3613 ).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19151 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 02:10:28 +00:00
José Matox
aa5848f957
Clean and speedup code in revert_unicode
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19145 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 17:15:31 +00:00
Jürgen Spitzmüller
f36e1b4b31
* lib/lyx2lyx/lyx_1_5.py (revert_unicode): fixes by Georg Baum (bug 3985)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19138 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 14:59:43 +00:00
José Matox
b3059e2070
Fix bug 4033 (Georg)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19137 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 12:24:01 +00:00
Jürgen Spitzmüller
e12b2d31ed
* lib/lyx2lyx/lyx_1_5.py:
...
- use document.default_layout instead of hardcoded "Standard" layout (bug 4035)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19135 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 10:33:40 +00:00
José Matox
74f45fc0e9
Fix bug 3404 (from Bo Peng)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19114 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 10:49:33 +00:00
José Matox
8397a051fa
Improve revert unicode (bug 3958) from Anders Ekberg
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19113 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 10:47:44 +00:00
José Matox
aafefdbe26
Fix crash loading old files ( http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg57472.html )
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19101 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 16:46:19 +00:00
José Matox
95cf1d65f3
Old lyx files (from 1.0 era) can start with a begin deeper
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 11:53:46 +00:00
José Matox
e983dba010
Add frenchb to languages for compatibility with older files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19044 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 15:10:13 +00:00
Uwe Stöhr
d4fb110865
lyx_1_5.py: fix typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18995 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 00:30:29 +00:00
Jürgen Spitzmüller
7562340249
fix unicode decomposition (bugs 3313 and 3498):
...
* src/support/docstring.{cpp,h}:
- rename normalize_kc to normalize_c and use normalization form C (instead of KC)
* src/callback.cpp:
* src/Trans.cpp:
* src/frontends/qt4/GuiClipboard.cpp:
* src/frontends/qt4/GuiSelection.cpp:
* lib/lyx2lyx/lyx_1_5.py:
- use normalization forms C and D instead of KC and KD.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 14:45:00 +00:00
Jürgen Spitzmüller
768addedfd
* lib/lyx2lyx/lyx_1_5.py (revert_unicode): fix typo in comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-30 06:56:15 +00:00
Jürgen Spitzmüller
2bde238feb
* lib/lyx2lyx/lyx_1_5.py:
...
- fix convert_graphics_rotation and make revert_graphics_rotation actually work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18948 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-30 06:07:20 +00:00