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