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