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