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