]> git.lyx.org Git - lyx.git/blob - lib/lyx2lyx/ChangeLog
fix bug 2001
[lyx.git] / lib / lyx2lyx / ChangeLog
1 2005-08-18  José Matos  <jamatos@lyx.org>
2
3         * lyx_1_4.py (remove_paperpackage): fix bug 2001.
4
5 2005-08-18  José Matos  <jamatos@lyx.org>
6
7         * LyX.py (read, write): add preamble as data member of LyX_Base,
8         remove if from the header.
9
10         * lyx_0_12.py (header_update):
11         * lyx_1_1_5.py (remove_space_in_units):
12         * lyx_1_4.py (add_to_preamble, convert_frameless_box): use the new scheme.
13
14         * lyx_1_2.py (change_header): change name to reflect its content.
15
16 2005-07-29  José Matos  <jamatos@lyx.org>
17
18         * lyx_1_4.py:
19         * LyX.py: add \leftindent to the list of allowed paragraph parameters.
20
21 2005-07-29  José Matos  <jamatos@lyx.org>
22
23         * lyx_1_4.py (remove_paperpackage): Take into account the lines
24         added to preamble.
25
26 2005-07-29  José Matos  <jamatos@lyx.org>
27
28         * lyx_1_4.py: Fix a4 package removal when the preamble is already there.
29
30 2005-07-29  José Matos  <jamatos@lyx.org>
31
32         * lyx_1_4.py: Fix widemarginsa4 convertion.
33
34 2005-07-29  José Matos  <jamatos@lyx.org>
35
36         * lyx_1_4.py: \end_header was added in 222, not 223
37
38 2005-07-29  José Matos  <jamatos@lyx.org>
39
40         * lyx_1_4.py:
41         * LyX.py: do not ignore format 222.
42
43 2005-07-22  José Matos  <jamatos@lyx.org>
44
45         * lyx_1_4.py (convert_paperpackage, revert_paperpackage):
46         remove wrong comments
47
48         * LyX.py : add 1.3.6 to the releases list
49
50 2005-07-18  José Matos  <jamatos@lyx.org>
51
52         * lyx_1_4.py (convert_minipage, convert_frameless_box): small
53         fixes to minipages convertions and retroversions.
54
55 2005-07-18  José Matos  <jamatos@lyx.org>
56
57         * lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
58
59 2005-07-18  José Matos  <jamatos@lyx.org>
60
61         * lyx_1_4.py (convert_french): convert language also in the body.
62
63 2005-07-15  José Matos  <jamatos@lyx.org>
64
65         * Makefile.am: new file for correct dealing with python scripts.        
66         * .cvsignore: ignore Makefile(.in) files.
67
68 2005-07-12  José Matos  <jamatos@lyx.org>
69
70         * lyx_1_4.py (add_to_preamble): Make it more robust.
71         (convert_frameless_box): Fix wrong type for parameter.
72         (revert_paperpackage): Consider empty paper package case.
73
74 2005-07-08  José Matos  <jamatos@lyx.org>
75
76         * lyx_0_12.py (update_tabular): Support old tables format 1.
77
78 2005-07-08  José Matos  <jamatos@lyx.org>
79
80         * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
81         Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
82
83 2005-06-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
84
85         * lyx_1_4.py (convert_french): change language frenchb to french
86         for format 242.
87
88 2005-07-07  José Matos  <jamatos@lyx.org>
89
90         * LyX.py (read): Ignore whitelines on header. Fix reading the
91         first body line.
92
93 2005-07-06  José Matos  <jamatos@lyx.org>
94
95         * lyx_1_1_5.py (replace_protected_separator): Make it robust
96         to layout name absence.
97
98 2005-07-06  José Matos  <jamatos@lyx.org>
99
100         * LyX.py (read): Add support for cases where the body begins
101         without a whiteline before.
102
103 2005-07-06  José Matos  <jamatos@lyx.org>
104
105         * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
106
107 2005-07-06  José Matos  <jamatos@lyx.org>
108
109         * LyX.py (warning): Prefix warnings with label "Warning: ".
110         * lyx_1_4.py (add_end_layout): Handle truncated files.
111
112 2005-07-06  José Matos  <jamatos@lyx.org>
113
114         * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
115         had \paperpackage with 'default' instead of 'none'.
116         
117 2005-07-05  José Matos  <jamatos@lyx.org>
118
119         * LyX.py (LyX_Base):
120         * LyX.py (error):
121         * LyX.py (convert):
122         * lyx2lyx: Implement return codes consistently:
123         0 - OK.
124         1 - Irrecoverable error.
125         2 - Recovered from error(s).
126
127 2005-07-05  José Matos  <jamatos@lyx.org>
128
129         * LyX.py (LyX_Base):
130         * LyX.py (File):
131         * lyx2lyx (usage):
132         * lyx2lyx (parse_options):      
133         * lyx2lyx (main): Add support for ignoring any errors during the
134         file convertion.
135
136 2005-07-05  José Matos  <jamatos@lyx.org>
137
138         * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
139
140 2005-05-18  Angus Leeming  <leeming@lyx.org>
141
142         * lyx2lyx (parse_options): Add the description of the '-f' option
143         back again.
144
145 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
146
147         * lyx_1_4.py (convert_breaks): Don't treat every token that starts
148         with '\\' as paragraph parameter
149
150 2005-05-06  José Matos  <jamatos@lyx.org>
151
152         * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
153         single line.
154
155 2005-05-04  José Matos  <jamatos@lyx.org>
156
157         * LyX.py: fix allowed parameters for paragraphs.
158
159 2005-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
160
161         * lyx_1_4.py (convert_breaks): fix spelling
162         * lyx_1_4.py (convert_breaks): fix copy-and-paste error
163
164 2005-02-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
165
166         * lyx_1_4.py (lyx_support_escape): new
167         * lyx_1_4.py (revert_eqref): new, convert
168         '\begin_inset LatexCommand \eqref{label}' to ERT
169         * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
170
171 2005-02-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
172
173         * lyx_1_4.py (convert_table_valignment_middle,
174         revert_valignment_middle): use regex to recognize
175         '\\begin_inset Tabular' and '\\begin_inset  Tabular'
176         * lyx_1_2.py (update_tabular, update_longtables): ditto
177         * lyx_1_1_6fix3.py (update_tabular): ditto
178
179 2005-02-15  José Matos  <jamatos@lyx.org>
180
181         * lyx_1_2.py (remove_pextra): fix bug 1816.
182
183 2005-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
184
185         * lyx_1_4.py (convert_ertbackslash): convert '\n', too
186         * lyx_1_4.py (convert_len): new, split from convert_ertlen
187         * lyx_1_4.py (insert_ert): new
188         * lyx_1_4.py (add_to_preamble): new
189         * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
190         and minipages with unsupported parameters
191
192 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
193
194         * LyX.py: format up to 241
195         * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
196         * lyx_1_4.py, LyX.py: handle new format 241
197
198 2005-01-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
199
200         * LyX.py: format up to 240.
201         * lyx_1_4.py (convert_output_changes, revert_output_changes): new
202
203 2005-01-06  José Matos  <jamatos@lyx.org>
204
205         * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
206         to the allowed parameters list.
207
208 2005-01-06  José Matos  <jamatos@lyx.org>
209
210         * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
211
212         * LyX.py (convert): simplify code and add running times
213         information for higher debug levels.
214
215 2005-01-04  José Matos  <jamatos@lyx.org>
216
217         * lyx_0_12.py:
218         * lyx_1_0_0.py:
219         * lyx_1_0_1.py:
220         * lyx_1_1_4.py:
221         * lyx_1_1_5.py:
222         * lyx_1_1_6.py:
223         * lyx_1_1_6fix3.py:
224         * lyx_1_2.py:
225         * lyx_1_3.py:
226         * lyx_1_4.py: convert and revert change from functions to lists.
227
228         * LyX.py:
229         * lyx2lyx: version -> version_lyx2lyx
230
231         * LyX.py (convert): put all the convertion logic here.
232
233 2005-01-04  José Matos  <jamatos@lyx.org>
234
235         * LyX.py (set_format): fix typo.
236
237         * lyx_0_12.py:
238         * lyx_1_0_0.py:
239         * lyx_1_0_1.py:
240         * lyx_1_1_4.py:
241         * lyx_1_1_5.py:
242         * lyx_1_1_6.py:
243         * lyx_1_1_6fix3.py:
244         * lyx_1_2.py:
245         * lyx_1_3.py:
246         * lyx_1_4.py: unify the call convention of convertion
247         functions. Now they all accept a file.
248
249 2004-12-03  José Matos  <jamatos@lyx.org>
250
251         * LyX.py: format up to 238.
252         * lyx_1_4.py:
253         * lyx_0_12.py (update_latexaccents): consider the cases where the
254         inset is updated.
255
256 2004-12-03  José Matos  <jamatos@lyx.org>
257
258         * lyx_1_2.py (update_longtable): Update longtables to table format 3.
259
260 2004-12-02  José Matos  <jamatos@lyx.org>
261
262         * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
263
264 2004-11-29  José Matos  <jamatos@lyx.org>
265
266         * lyx_1_2.py (convert): rename opt to file, as in all other files.
267
268 2004-10-28  José Matos  <jamatos@lyx.org>
269
270         * LyX.pm: add internal documentation.
271
272 2004-10-17  José Matos  <jamatos@lyx.org>
273
274         * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
275         interface to the LyX module.
276
277         * LyX.py: white space changes.  New class that serves as the basis
278         to two derived classes. One for reading and another for new files.
279         New function get_toc, to be used in Doc_toc.py in the
280         documentation directory.
281         New class paragraph, to read paragraphs from the lyx file.
282
283 2004-10-10  José Matos  <jamatos@lyx.org>
284
285         * .cvsignore: add entries related with profiling lyx2lyx.
286         * lyx2lyx (main): place all program inside this function, to allow
287         it to be called from profiling.
288         * profiling.py: new file to profile lyx2lyx.
289
290 2004-10-09  José Matos  <jamatos@lyx.org>
291
292         * LyX.py: add support for format 237, fix variables type,
293         new function formats_list().
294
295         * lyx2lyx: print list of available formats on request.
296
297         * lyx_1_4.py: add support for 237, reorganize directory functions.
298
299 2004-09-29  José Matos  <jamatos@lyx.org>
300
301         * lyx_1_4.py (get_end_format): simplify index.
302
303 2004-09-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
304
305         * lyx_1_4.py (convert_ertbackslash): insert the new line after the
306         backslash, this did only work by accident in most cases
307
308         * lyx_1_4.py: unify warning messages
309
310 2004-08-19  José Matos  <jamatos@lyx.org>
311
312         * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
313         \end_deeper.
314
315 2004-08-16  José Matos  <jamatos@lyx.org>
316
317         * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
318         (convert_names, add_begin_body, strip_end_space): use the same policy
319         of lyx of not using spaces as the last character in a line that starts
320         with a command token (\xxxxx).
321
322 2004-08-15  José Matos  <jamatos@lyx.org>
323
324         * lyx_1_4.py (normalize_papersize, denormalize_papersize):
325         \papersize Default -> \papersize default
326         \papersize Custom -> \papersize custom
327
328 2004-08-15  José Matos  <jamatos@lyx.org>
329
330         * LyX.py: new file that gathers all the knowleadge of the LyX file
331         format. This can be used as library.
332
333         * parser_tools.py: moved all the functions that are not related
334         with the parser to LyX.py.
335
336         * lyx2lyx: is just a client of the LyX.py library.
337
338         * lyx_.py (convert, revert): renamed previous opt to file.  Change
339         the arguments since now file contains both the header and the
340         body.
341
342 2004-08-14  José Matos  <jamatos@lyx.org>
343
344         * lyx_1_4.py:
345         * parser_tools.py: up the format to 236.
346
347 2004-08-05  José Matos  <jamatos@lyx.org>
348
349         * lyx_1.4.py (remove_color_default): move
350         \color default -> \color inherit
351
352 2004-08-05  José Matos  <jamatos@lyx.org>
353
354         * parser_tools.py (read_file): remove \r from line's end when present.
355
356 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
357
358         * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
359         * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
360         * lyx_1_4.py (revert, convert): handle format 235
361         * parser_tools.py: up the format to 235.
362
363 2004-05-12  Angus Leeming  <leeming@lyx.org>
364
365         * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
366         to convert the code that specifies the type of the citation engine
367         (basic, natbib or jurabib).
368
369         * parser_tools.py: up the format to 234.
370
371 2004-05-11  José Matos  <jamatos@lyx.org>
372
373         * parser_tools.py (get_backend): get the document backend.
374         * lyx2lyx (main): new member of the document structure,
375         the textclass and backend, that default to article and latex.
376         * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
377         and \end_layout
378         (insert_tracking_changes): insert \tracking_changes 0, if not present
379         in the header.
380         (convert_names, revert_names): for docbook documents transform
381         the styles FirstName and Surname into character styles.
382
383 2004-05-03  José Matos  <jamatos@lyx.org>
384
385         * lyx_1_4.py (convert_graphics):
386         * lyx2lyx: introduce new member of the structure class, dir which
387         carries the directory of the converted file.
388         * lyx2lyx: move default warning level to 1.
389
390 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
391
392         * lyx_1_4.py (convert_graphics): new, convert graphics filenames
393         * lyx_1_4.py (revert, convert): handle format 233
394         * lyx2lyx: up the format to 233.
395
396 2004-04-19  José Matos   <jamatos@lyx.orrg>
397
398         * parser_tools.py (chain): fix the detection of the last format for
399         revertions.
400
401 2004-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
402
403         * lyx_1_4.py (convert_frameless_box): Replace instead of adding
404         new code.
405
406 2004-04-14  José Matos  <jamatos@lyx.org>
407
408         * error.py
409         * lyxconvert_*
410         * lyxrevert_*: removed
411
412         * lyx_0_12.py
413         * lyx_1_0_0.py
414         * lyx_1_0_1.py
415         + lyx_1_1_4.py
416         * lyx_1_1_5.py
417         * lyx_1_1_6.py
418         * lyx_1_1_6fix3.py
419         * lyx_1_2.py
420         * lyx_1_3.py
421         * lyx_1_4.py: Added file with the same content as the previous that
422         were removed.
423
424         * lyx2lyx
425         * parser_tools.py: reworked for better modularity.
426
427 2004-03-31  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
428
429         * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
430         * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
431         * lyxconvert_230.py (convert_float): new, add sideways flag
432         * lyxrevert_231.py (convert_float): new, remove sideways flag
433         * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
434         * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
435
436 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
437
438         * lyx2lyx: up the format to 232.
439
440         * lyx2lyx: up the format to 231.
441
442 2004-03-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
443
444         * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
445
446 2004-02-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
447
448         * lyx2lyx: up the format to 230.
449
450 2004-02-04  José Matos  <jamatos@lyx.org>
451         * lyxconvert_210.py: add two new transforms:
452         remove_empty_insets and remove_formula_latex
453         little fix to existing transformations.
454
455 2004-02-03  José Matos  <jamatos@lyx.org>
456
457         * lyxconvert216.py: one line fix for out of range error.
458
459 2004-02-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
460
461         * lyxconvert2*.py: quiet encoding warning in python 2.3
462         * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
463
464 2004-01-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
465
466         * lyxrevert_228.py: convert ERT status, too
467         * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
468         \\layout in convert_collapsable()
469         * lyxconvert_228.py (convert_minipage): Add status tag conversion
470         * lyxrevert_225.py: Convert vspace and frameless box insets
471         * lyxrevert_22[3-8].py: fix the 'é' in José's name
472
473 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
474
475         * lyx2lyx: up the format to 229.
476         * lyxconvert_224.py (convert_minipage): remove function...
477         * lyxconvert_228.py: ...and place it here.
478         * lyxrevert_229.py: new file (bare bones).
479
480 2003-12-19  Angus Leeming  <leeming@lyx.org>
481
482         * lyxconvert_227.py (convert_collapsable):
483         * lyxrevert_228.py (convert_collapsable): a more robust method of
484         finding the collapsed status.
485
486 2003-12-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
487
488         * lyxrevert_228.py: fix box status conversion
489         * lyxconvert_227.py: ditto
490
491 2003-12-16  José Matos  <jamatos@lyx.org>
492
493         * lyxrevert_228.py: fix sys import.
494
495 2003-12-16  José Matos  <jamatos@lyx.org>
496
497         * lyxconvert_227.py: fix sys import.
498
499 2003-12-15  Angus Leeming  <leeming@lyx.org>
500
501         * lyx2lyx:
502         * lyxconvert_227.py:
503         * lyxrevert_228.py: convert the InsetCollapsable format between
504         formats 227 and 228.
505
506 2003-12-10  Angus Leeming  <leeming@lyx.org>
507
508         * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
509         this when reverting to format 226.
510
511 2003-12-10  Angus Leeming  <leeming@lyx.org>
512
513         * lyx2lyx: up the format to 227.
514         (lyxformat): squash latent bug when reporting an inability to convert
515         to the desired format.
516
517         * lyxconvert_226.py:
518         * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
519
520 2003-12-10  Angus Leeming  <leeming@lyx.org>
521
522         * lyx2lyx: up the format to 226.
523
524         * lyxconvert_225.py:
525         * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
526
527 2003-12-05  José Matos  <jamatos@lyx.org>
528
529         * error.py:
530         * parser_tools.py: quiet encoding warning in python 2.3.
531
532         * lyx2lyx: add logfile as an option.
533
534 2003-12-03  José Matos  <jamatos@lyx.org>
535
536         * lyx2lyx: update copyright date
537         * lyxconvert_224.py (convert_breaks): add vertical space convertion.
538
539 2003-11-14  Kornel Benko  <kornel.benko@berlin.de>
540
541         * lyxconvert_224.py (convert_minipage): fix convertion of minipages
542         from lyx 1.3.x.
543
544 2003-11-14  José Matos  <jamatos@lyx.org>
545
546         * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
547         arguments when a page breake or a line were present.
548
549 2003-11-07  José Matos  <jamatos@lyx.org>
550
551         * lyxconvert_224.py (convert_minipage): deal better with default
552         parameter of minipages from lyx 1.3.x
553
554 2003-11-06  José Matos  <jamatos@lyx.org>
555
556         * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
557         possible upper page and line breaks, if necessary.
558
559 2003-10-27  José Matos  <jamatos@lyx.org>
560
561         * lyxconvert_223.py:
562         * lyxconvert_224.py (convert_minipage): move funtion to its right place.
563         (convert_breaks): convert line and page break, at bottom and top.