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