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