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