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