Commit Graph

143 Commits

Author SHA1 Message Date
José Matox
eb0de102db Unify the call to converters into LyX.py. (lyx2lyx)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9442 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-05 18:52:59 +00:00
José Matox
4bd289f1e3 Unify calling conventions for converter functions and modules. (lyx2lyx)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9433 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-05 10:57:37 +00:00
José Matox
e472c2b740 File format up to 238.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9337 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 18:39:51 +00:00
José Matox
742ffb3032 Move convertion code from the C++ source (where is never called) to lyx2lyx.
(longtables).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9336 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 18:33:19 +00:00
José Matox
bd6cb0ad58 Move compatility code for old style (0.10 !) latex accents to lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9331 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-02 12:29:21 +00:00
José Matox
b90881c010 Fix previous leftover transformation. (opt -> file)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9321 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-29 12:00:29 +00:00
José Matox
b375bbe1f9 add internal documentation to module LyX.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9135 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-28 11:21:27 +00:00
Angus Leeming
eb00187fea Whitespace, nothing but whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9131 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 21:16:44 +00:00
José Matox
3c84dfb21e lyx2lyx is now a frontend to the LyX module.
The code in LyX was refactorized and now we have two different classes that
derive from a base class. One for new files and the other for existing files.
New class for paragraphs. New code to return the toc of a file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9092 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-16 22:56:10 +00:00
José Matox
43c844920c Add code that profiles lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9075 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-10 19:25:48 +00:00
José Matox
ba7ff6f4a1 Format up to 237.
Use true or false in the header instead of 0 or 1.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9072 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-09 21:32:56 +00:00
José Matox
915304d550 simplify index (string drunkness corrected)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9027 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-29 16:34:27 +00:00
Georg Baum
3bdb83776c another small lyx2lyx fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8976 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-12 09:48:08 +00:00
Georg Baum
c7875ca865 unify lyx2lyx warning messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8975 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-12 07:36:53 +00:00
José Matox
9d87888cf5 fix bug where \end_layout was showing after \end_deeper unconditionally
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8954 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-18 13:48:33 +00:00
José Matox
f17505a8fb Remove space at end of line, when superfluous.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8953 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-16 11:27:51 +00:00
José Matox
adec8fe46d Change \papersize Default|Custom to lower letter for consistency.
Fix comment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8948 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 21:52:13 +00:00
José Matox
6c79118290 Reorganised lyx2lyx, transfering it knowleadge of the file format to LyX.py,
and using it as library. The lyx2lyx script now becomes a simple cliente.
Simple fix in the UserGuide.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8941 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 16:29:04 +00:00
José Matox
498724d21b up to file format 236 and also fix Bug 421.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8927 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 18:41:27 +00:00
José Matox
539c829bb1 Convert \color default -> \color inherit -- lyx2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8868 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-04 15:45:26 +00:00
José Matox
2e6ef4e5d5 remove \r from line's end when present -- lyx2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8867 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-04 15:12:14 +00:00
Georg Baum
25bf63f1a1 update file format to reflect the paperpackage bugfix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8829 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-01 14:40:59 +00:00
Angus Leeming
8424214209 Store the citation engine in BufferParams as biblio::CiteEngine rather
than a triplet of bools. Results in a file format change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8752 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-13 20:44:35 +00:00
José Matox
34b9ed8ac9 whitespace, bugfixes, and convertions dependent on the document type, if need.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8749 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-11 16:13:33 +00:00
José Matox
17ec2aa061 fix handling of gzipped files, move default warning level to 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8725 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-03 13:40:12 +00:00
Georg Baum
b36c13278b require file extension for included graphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8706 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 09:24:29 +00:00
José Matox
296632a2c3 Fix revert chain.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8673 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 14:30:33 +00:00
José Matox
9fd03bf560 Fix from Martin to revert frame boxes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8668 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 12:14:15 +00:00
José Matox
7b511275f6 The ChangeLog entry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8654 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-14 09:10:30 +00:00
José Matox
bc7f66b2b7 The big lyx2lyx rewrite.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8653 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-14 08:45:46 +00:00
Jürgen Spitzmüller
7aadb167bf add bibtopic support (bug 870).
That's it for now.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8560 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 13:17:25 +00:00
Jürgen Spitzmüller
4072a82b6e support for sidewaysfloats and fix for bug 1016 (float placement allows impossible settings).
BTW: floats are still broken (dialogs do not get updated). No idea where this bug sits.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8557 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 11:38:39 +00:00
Angus Leeming
57689df48b Georg's lyx2lyx patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8548 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 16:49:46 +00:00
Jürgen Spitzmüller
891bb08e37 support for second \cite option.
Natbib users can now use the before field.
file format is up to 230.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8479 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-05 14:49:10 +00:00
José Matox
bb357126a9 Improve lyx 0.10 file convertions.
The only remaings itens are whitespace and not significative.
I can now import all of the 0.10 test cases I have. :-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8403 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-04 18:11:44 +00:00
José Matox
001d4025e9 One line fix for an out of range error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8398 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 19:49:44 +00:00
Alfredo Braunstein
20198582f1 Georg Baum's patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8384 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-02 21:39:17 +00:00
Jean-Marc Lasgouttes
30f1fd59ae status tag patch from Georg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8315 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 14:36:43 +00:00
Jürgen Spitzmüller
260a79e3a5 change the file format number to 229 for the sake of a cleaner minipage/box conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-29 15:49:50 +00:00
Jürgen Spitzmüller
207ea41f2f move minipage->box conversion from 224 to 227
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8276 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-29 12:56:10 +00:00
Angus Leeming
5647dabc2a Georg's patch enabled lyx2lyx to find the collapsed status of Box insets
but Floats were failing due to the presence of 'wide false'. Rather
than special case again, I wrote a more robust method to find the
collapsed status.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8270 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-19 21:38:07 +00:00
Angus Leeming
8962f163c5 (Georg): fix lyx2lyx conversion of InsetBox.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8267 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-19 10:22:02 +00:00
José Matox
9017670276 Angus fix to lyxrevert_228.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8257 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-16 09:57:48 +00:00
José Matox
e9a3a02e5c Kayvan fix to lyxconvert_227.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8256 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-16 08:15:47 +00:00
Angus Leeming
faaea50708 Handle Michael's changes to InsetCollapsable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8255 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-15 22:04:31 +00:00
Angus Leeming
041004baac Add a 'draft' option to InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8231 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-11 11:16:19 +00:00
Angus Leeming
d43da3679e Modify the InsetBox format to always start 'Box'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8229 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 21:48:40 +00:00
Angus Leeming
f31f149037 Move ChangeLog entry to the correct place...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8228 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 21:42:53 +00:00
Angus Leeming
c2d7777341 InsetNote clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8226 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 17:28:14 +00:00
José Matox
62715f910e Fix warnings in python 2.3.
Add redirection of log as an option.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8209 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-05 20:09:24 +00:00