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