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