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