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