Commit Graph

64 Commits

Author SHA1 Message Date
José Matox
8fc2c1dd05 * LyX.py
* lyx_1_1_5.py
	* lyx_1_2.py
	* lyx_1_3.py
	* lyx_1_4.py
	* lyx_1_5.py

	* parser_tools.py: remove functions that are not generic, i.e.
assume a specific pattern for the file format, and move them to the
places where they are used.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14503 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-27 18:30:13 +00:00
Bo Peng
34001ec175 Remove all tabs in lib/lyx2lyx/*.py, corresponding to the added -tt option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14285 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-01 19:16:09 +00:00
Martin Vermeer
f6848c168b * lyx_1_4.py
(convert_minipage): Proper handling of default height and 
	vertical position (bug report Garst Reese)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13697 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 07:43:29 +00:00
José Matox
44aad9d818 lyx_1_4.py(convert_sgml_paragraphs):
convert SGML paragraphs to Standard + ERT, as SGML are not used anymore.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13616 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 09:14:08 +00:00
Georg Baum
8d914e2c52 * parser_tools.py (find_tokens_exact): new, extract tokens with
exact match
        * parser_tools.py (find_token2): rename to find_token_exact and make
        it work for tokens with spaces
        * lyx_1_4.py (revert_box, convert_collapsable, revert_bibtopic,
        convert_float): use find_token(s)_exact instead of find_token(s).
        This does not match "FloatList" when "Float" is searched (bug 2245)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13410 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 09:52:13 +00:00
José Matox
d5da885f21 Only reset the papersize for a4* paperpackages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13312 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-07 11:21:08 +00:00
Georg Baum
3a56dd160f fix bug 2314
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13267 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-22 17:05:12 +00:00
Georg Baum
b8227ebda0 fix bug 2026 and bug 2088
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13226 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 07:48:26 +00:00
Georg Baum
d55a7468c0 fix bug 2244 (branch removal)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10804 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-02 21:30:04 +00:00
Georg Baum
a9bfd2b130 fix bug 2131
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10613 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-21 17:05:03 +00:00
Jürgen Spitzmüller
0ce45c32b6 fix bug 2090 (remove param \quotes_times). File format is up to 245 now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10549 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-13 10:59:39 +00:00
Jürgen Spitzmüller
82765345ac fix space insets, increase version to 244.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10490 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-28 09:40:50 +00:00
Georg Baum
53a118caea fix bug 2031 (\lyxline conversion)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10466 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-20 12:47:45 +00:00
Georg Baum
c8c616688f fix bug 1990
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10411 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-05 07:06:11 +00:00
Georg Baum
9826fde5c9 fix bug 2004
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10408 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-30 07:23:20 +00:00
José Matox
a0c546831e fix bug 2001
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10407 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-29 18:43:15 +00:00
José Matox
7bd4678da5 Separate preamble from from header. Make its treatment more robust.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10398 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-18 17:33:26 +00:00
José Matox
24355f90da add \\leftindent to the list of allowed paragraph parameters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10395 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-11 22:31:05 +00:00
José Matox
888342b465 Take into account the lines added to preamble.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10375 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-29 13:34:07 +00:00
José Matox
a69c7f771d Fix a4 package removal when the preamble is already there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10374 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-29 11:22:18 +00:00
José Matox
255c2c247f Fix widemargins a4 convertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10372 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-29 09:54:50 +00:00
José Matox
2479ac8f5f Added a more precise date and details about 222 to 223 change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10371 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-29 09:39:17 +00:00
José Matox
4c2d658257 Put back support for format 222.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10370 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-29 09:23:19 +00:00
José Matox
85eed78238 remove wrong comments and add 1.3.6 to the list of releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10347 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-22 15:03:44 +00:00
José Matox
7b8d863cb3 small fixes to minipages convertions and retroversions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10334 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 18:37:05 +00:00
José Matox
54502b890e fix two typos converting frenchb (Thanks to Georg)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10327 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 14:46:53 +00:00
José Matox
8ed68ea860 convert frenchb language also in the body
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10304 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 23:55:05 +00:00
José Matox
9745fb8187 Remove the support for a4.sty, a4wide.sty and a4widemargins from lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10273 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 11:17:13 +00:00
José Matox
2796b1fe32 fix lyx2lyx bugs for revertion to 221.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10172 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-12 21:27:12 +00:00
Jean-Marc Lasgouttes
108d74bc1a clean up french language handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10145 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-07 10:51:58 +00:00
José Matox
7ed89fefb1 lyx_1_4.lyx (paperpackage): Fix empty paperpackage case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10141 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 17:50:10 +00:00
José Matox
178897b091 Handle truncated files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10140 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 17:40:38 +00:00
José Matox
38801aed7f Fix handling of older tex2lyx files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10139 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 16:13:20 +00:00
Georg Baum
5179c52e66 fix lyx2lyx paragraph parameter conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9951 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-18 14:50:29 +00:00
José Matox
214cedc2e8 fix convertion of line and page breaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9915 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-06 14:31:56 +00:00
Georg Baum
f9c17f01af spelling fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9880 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 15:45:51 +00:00
Georg Baum
f402d2c6f9 fix lyx2lyx conversion of page breaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9879 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 15:42:03 +00:00
Georg Baum
8193290f0d document and convert eqref fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9657 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-21 12:04:23 +00:00
Georg Baum
3a4be311e6 repair tabular conversions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9647 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-17 19:38:40 +00:00
Georg Baum
72dccb8869 fix frameless box -> parbox conversion in lyx2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9608 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-10 12:14:51 +00:00
Georg Baum
5890d93dce file format change for bug 698 and fix for the reproducible part of bug 922
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9584 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-03 17:24:40 +00:00
Jürgen Spitzmüller
04a3819779 Fix output of change tracked documents (also fixes bug 1031)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9535 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-24 17:12:19 +00:00
José Matox
9bcc3c7368 add start_of_appendix to the paragraph parameters list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9451 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 18:32:44 +00:00
José Matox
953984e3da place one paragraph parameter per line. (file format = 239)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9450 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:52:08 +00:00
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
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
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
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