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