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