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