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