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