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
Georg Baum
2d6bc1d0aa
Avoid endless loops, e.g when an end_deeper is missing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17225 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 18:33:36 +00:00
José Matox
de0c8aef7c
Give to get value a default argument,
...
if the value is not found the default value is returned.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14556 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-07 13:59:01 +00:00
José Matox
552a471c99
Start to consolidate the functions in parser tools.
...
Add a unit testing for parser tools functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14536 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 14:25:43 +00:00
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
José Matox
857eb02a5c
parser_tools.py (del_token): rename arguments to be coherent with other functions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14499 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-27 11:37:26 +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
José Matox
bb23ef468d
parser_tools.py (find_tokens, find_tokens_exact): replace range with xrange.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13625 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 15:50:31 +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
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
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
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
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
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
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
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
José Matox
2b2b83803a
lyx2lyx supports gziped files, version header correct
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7426 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 21:14:33 +00:00
Dekel Tsur
ab3b768c24
Fix conversion of minipages that contains tabulars.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6504 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-14 15:00:02 +00:00
José Matox
25cebf4af3
Fix bug 436
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-08 15:47:15 +00:00
Dekel Tsur
0ad10a39d0
Small change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5536 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-28 21:23:31 +00:00
Dekel Tsur
36afcb3f8e
Fix bug reported by Martin.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5385 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 18:08:21 +00:00
Dekel Tsur
5036183ea4
Prevent changing of non-tabular lines.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5195 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 15:21:24 +00:00
Dekel Tsur
e579a794e2
Work with nested tabulars
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5189 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-31 11:27:01 +00:00
Dekel Tsur
f2d6c172d4
lyxconvert_220 module for Rob's patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5089 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-24 12:13:44 +00:00
Dekel Tsur
839002cb96
Cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5027 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-19 19:51:01 +00:00
Dekel Tsur
cbbfb29048
old ERT insets should just be ignored
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4949 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 21:48:47 +00:00
Dekel Tsur
7edacbcbea
Small changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4929 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-10 13:34:57 +00:00
Dekel Tsur
a99f3cc3c6
- Fix ert conversion
...
- Convert old ERT insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4875 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 12:10:09 +00:00
Dekel Tsur
013d66f033
Small changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4863 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 15:49:20 +00:00
Dekel Tsur
ac51eb8283
Few improvements
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4853 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-03 14:29:12 +00:00
Dekel Tsur
33e6f2089a
Few improvements
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4852 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-03 10:31:31 +00:00
Dekel Tsur
1bd999fa65
Handle LaTeX layout, and collapse consecutive ERT insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4851 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 20:34:20 +00:00
Dekel Tsur
7d2326f31f
Convert ERT and figinsets. Perhaps incomplete.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4850 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 19:25:14 +00:00
José Matox
f7d8239dae
Initial inclusion of lyx2lyx files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4827 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 15:26:32 +00:00