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