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