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