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