1 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * lyx_1_4.py (remove_branches): new, remove branch insets
5 2005-12-01 José Matos <jamatos@lyx.org>
7 * LyX.py (choose_io): replace open and make the choice more transparent.
9 2005-11-24 José Matos <jamatos@lyx.org>
11 * lyx_1_0_0.py (obsolete_latex_title): "LaTeX Title" -> "Title"
12 * (update_tabular): update from tabular format 3 to 4 if necessary.
14 2005-11-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
16 * lyx_1_4.py (convert_frameless_box): fix file format argument of
19 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
21 * LyX.py: enlarge range to current format (245);
22 do not use \quotes_times anymore on NewFile.
23 * lyx_1_4.py (remove_quotestimes): remove param \quotes_times (bug 2090).
25 2005-09-28 José Matos <jamatos@lyx.org>
27 * LyX.py: fix relation_format reversion
29 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
31 * LyX.py: enlarge range to current format (244).
32 * lyx_1_4.py (revert_spaces): fix so that new space insets are reverted
34 * lyx_1_4.py (rename_spaces, revert_space_names): some InsetSpace types
35 had to be renamed; conversion takes place between 243<->244.
37 2005-09-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
39 * parser_tools.py (get_paragraph, get_next_paragraph): add format
40 argument and make them work with formats newer than 220
41 * lyx_1_2.py (remove_oldfloat, remove_pextra, remove_oldertinset,
42 combine_ert): adjust to the changes above
43 * lyx_1_4.py (convert_breaks, revert_breaks): better conversion of
45 * lyx_1_4.py (convert_ertbackslash, convert_ertlen, insert_ert):
46 add format argument and make it work with formats newer than 240
47 * lyx_1_4.py (convert_frameless_box): adjust to the changes above
48 * lyx_1_4.py (ert2latex): new, convert ERT code to LaTeX
49 * lyx_1_4.py (lyxsize2latexsize): new, convert LyX font size to LaTeX
51 2005-09-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * LyX.py (LyX_Base): fix paragraph parameter check
54 * LyX.py (NewFile): remove paperpackage from header
56 2005-09-09 José Matos <jamatos@lyx.org>
58 * lyx_1_1_6fix3.py (update_tabular): fix vertical alignment convertion.
60 2005-08-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
62 * lyx_1_4.py (convert_vspace): rename to revert_breaks and revert
63 \lyxline and \newpage, too
65 2005-08-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
67 * lyx_1_4.py (add_to_preamble): fix invocation of find_token (bug 2004)
69 2005-08-18 José Matos <jamatos@lyx.org>
71 * lyx_1_4.py (remove_paperpackage): fix bug 2001.
73 2005-08-18 José Matos <jamatos@lyx.org>
75 * LyX.py (read, write): add preamble as data member of LyX_Base,
76 remove if from the header.
78 * lyx_0_12.py (header_update):
79 * lyx_1_1_5.py (remove_space_in_units):
80 * lyx_1_4.py (add_to_preamble, convert_frameless_box): use the new scheme.
82 * lyx_1_2.py (change_header): change name to reflect its content.
84 2005-07-29 José Matos <jamatos@lyx.org>
87 * LyX.py: add \leftindent to the list of allowed paragraph parameters.
89 2005-07-29 José Matos <jamatos@lyx.org>
91 * lyx_1_4.py (remove_paperpackage): Take into account the lines
94 2005-07-29 José Matos <jamatos@lyx.org>
96 * lyx_1_4.py: Fix a4 package removal when the preamble is already there.
98 2005-07-29 José Matos <jamatos@lyx.org>
100 * lyx_1_4.py: Fix widemarginsa4 convertion.
102 2005-07-29 José Matos <jamatos@lyx.org>
104 * lyx_1_4.py: \end_header was added in 222, not 223
106 2005-07-29 José Matos <jamatos@lyx.org>
109 * LyX.py: do not ignore format 222.
111 2005-07-22 José Matos <jamatos@lyx.org>
113 * lyx_1_4.py (convert_paperpackage, revert_paperpackage):
114 remove wrong comments
116 * LyX.py : add 1.3.6 to the releases list
118 2005-07-18 José Matos <jamatos@lyx.org>
120 * lyx_1_4.py (convert_minipage, convert_frameless_box): small
121 fixes to minipages convertions and retroversions.
123 2005-07-18 José Matos <jamatos@lyx.org>
125 * lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
127 2005-07-18 José Matos <jamatos@lyx.org>
129 * lyx_1_4.py (convert_french): convert language also in the body.
131 2005-07-15 José Matos <jamatos@lyx.org>
133 * Makefile.am: new file for correct dealing with python scripts.
134 * .cvsignore: ignore Makefile(.in) files.
136 2005-07-12 José Matos <jamatos@lyx.org>
138 * lyx_1_4.py (add_to_preamble): Make it more robust.
139 (convert_frameless_box): Fix wrong type for parameter.
140 (revert_paperpackage): Consider empty paper package case.
142 2005-07-08 José Matos <jamatos@lyx.org>
144 * lyx_0_12.py (update_tabular): Support old tables format 1.
146 2005-07-08 José Matos <jamatos@lyx.org>
148 * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
149 Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
151 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
153 * lyx_1_4.py (convert_french): change language frenchb to french
156 2005-07-07 José Matos <jamatos@lyx.org>
158 * LyX.py (read): Ignore whitelines on header. Fix reading the
161 2005-07-06 José Matos <jamatos@lyx.org>
163 * lyx_1_1_5.py (replace_protected_separator): Make it robust
164 to layout name absence.
166 2005-07-06 José Matos <jamatos@lyx.org>
168 * LyX.py (read): Add support for cases where the body begins
169 without a whiteline before.
171 2005-07-06 José Matos <jamatos@lyx.org>
173 * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
175 2005-07-06 José Matos <jamatos@lyx.org>
177 * LyX.py (warning): Prefix warnings with label "Warning: ".
178 * lyx_1_4.py (add_end_layout): Handle truncated files.
180 2005-07-06 José Matos <jamatos@lyx.org>
182 * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
183 had \paperpackage with 'default' instead of 'none'.
185 2005-07-05 José Matos <jamatos@lyx.org>
190 * lyx2lyx: Implement return codes consistently:
192 1 - Irrecoverable error.
193 2 - Recovered from error(s).
195 2005-07-05 José Matos <jamatos@lyx.org>
200 * lyx2lyx (parse_options):
201 * lyx2lyx (main): Add support for ignoring any errors during the
204 2005-07-05 José Matos <jamatos@lyx.org>
206 * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
208 2005-05-18 Angus Leeming <leeming@lyx.org>
210 * lyx2lyx (parse_options): Add the description of the '-f' option
213 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
215 * lyx_1_4.py (convert_breaks): Don't treat every token that starts
216 with '\\' as paragraph parameter
218 2005-05-06 José Matos <jamatos@lyx.org>
220 * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
223 2005-05-04 José Matos <jamatos@lyx.org>
225 * LyX.py: fix allowed parameters for paragraphs.
227 2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
229 * lyx_1_4.py (convert_breaks): fix spelling
230 * lyx_1_4.py (convert_breaks): fix copy-and-paste error
232 2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
234 * lyx_1_4.py (lyx_support_escape): new
235 * lyx_1_4.py (revert_eqref): new, convert
236 '\begin_inset LatexCommand \eqref{label}' to ERT
237 * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
239 2005-02-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
241 * lyx_1_4.py (convert_table_valignment_middle,
242 revert_valignment_middle): use regex to recognize
243 '\\begin_inset Tabular' and '\\begin_inset Tabular'
244 * lyx_1_2.py (update_tabular, update_longtables): ditto
245 * lyx_1_1_6fix3.py (update_tabular): ditto
247 2005-02-15 José Matos <jamatos@lyx.org>
249 * lyx_1_2.py (remove_pextra): fix bug 1816.
251 2005-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
253 * lyx_1_4.py (convert_ertbackslash): convert '\n', too
254 * lyx_1_4.py (convert_len): new, split from convert_ertlen
255 * lyx_1_4.py (insert_ert): new
256 * lyx_1_4.py (add_to_preamble): new
257 * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
258 and minipages with unsupported parameters
260 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
262 * LyX.py: format up to 241
263 * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
264 * lyx_1_4.py, LyX.py: handle new format 241
266 2005-01-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
268 * LyX.py: format up to 240.
269 * lyx_1_4.py (convert_output_changes, revert_output_changes): new
271 2005-01-06 José Matos <jamatos@lyx.org>
273 * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
274 to the allowed parameters list.
276 2005-01-06 José Matos <jamatos@lyx.org>
278 * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
280 * LyX.py (convert): simplify code and add running times
281 information for higher debug levels.
283 2005-01-04 José Matos <jamatos@lyx.org>
294 * lyx_1_4.py: convert and revert change from functions to lists.
297 * lyx2lyx: version -> version_lyx2lyx
299 * LyX.py (convert): put all the convertion logic here.
301 2005-01-04 José Matos <jamatos@lyx.org>
303 * LyX.py (set_format): fix typo.
314 * lyx_1_4.py: unify the call convention of convertion
315 functions. Now they all accept a file.
317 2004-12-03 José Matos <jamatos@lyx.org>
319 * LyX.py: format up to 238.
321 * lyx_0_12.py (update_latexaccents): consider the cases where the
324 2004-12-03 José Matos <jamatos@lyx.org>
326 * lyx_1_2.py (update_longtable): Update longtables to table format 3.
328 2004-12-02 José Matos <jamatos@lyx.org>
330 * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
332 2004-11-29 José Matos <jamatos@lyx.org>
334 * lyx_1_2.py (convert): rename opt to file, as in all other files.
336 2004-10-28 José Matos <jamatos@lyx.org>
338 * LyX.pm: add internal documentation.
340 2004-10-17 José Matos <jamatos@lyx.org>
342 * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
343 interface to the LyX module.
345 * LyX.py: white space changes. New class that serves as the basis
346 to two derived classes. One for reading and another for new files.
347 New function get_toc, to be used in Doc_toc.py in the
348 documentation directory.
349 New class paragraph, to read paragraphs from the lyx file.
351 2004-10-10 José Matos <jamatos@lyx.org>
353 * .cvsignore: add entries related with profiling lyx2lyx.
354 * lyx2lyx (main): place all program inside this function, to allow
355 it to be called from profiling.
356 * profiling.py: new file to profile lyx2lyx.
358 2004-10-09 José Matos <jamatos@lyx.org>
360 * LyX.py: add support for format 237, fix variables type,
361 new function formats_list().
363 * lyx2lyx: print list of available formats on request.
365 * lyx_1_4.py: add support for 237, reorganize directory functions.
367 2004-09-29 José Matos <jamatos@lyx.org>
369 * lyx_1_4.py (get_end_format): simplify index.
371 2004-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
373 * lyx_1_4.py (convert_ertbackslash): insert the new line after the
374 backslash, this did only work by accident in most cases
376 * lyx_1_4.py: unify warning messages
378 2004-08-19 José Matos <jamatos@lyx.org>
380 * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
383 2004-08-16 José Matos <jamatos@lyx.org>
385 * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
386 (convert_names, add_begin_body, strip_end_space): use the same policy
387 of lyx of not using spaces as the last character in a line that starts
388 with a command token (\xxxxx).
390 2004-08-15 José Matos <jamatos@lyx.org>
392 * lyx_1_4.py (normalize_papersize, denormalize_papersize):
393 \papersize Default -> \papersize default
394 \papersize Custom -> \papersize custom
396 2004-08-15 José Matos <jamatos@lyx.org>
398 * LyX.py: new file that gathers all the knowleadge of the LyX file
399 format. This can be used as library.
401 * parser_tools.py: moved all the functions that are not related
402 with the parser to LyX.py.
404 * lyx2lyx: is just a client of the LyX.py library.
406 * lyx_.py (convert, revert): renamed previous opt to file. Change
407 the arguments since now file contains both the header and the
410 2004-08-14 José Matos <jamatos@lyx.org>
413 * parser_tools.py: up the format to 236.
415 2004-08-05 José Matos <jamatos@lyx.org>
417 * lyx_1.4.py (remove_color_default): move
418 \color default -> \color inherit
420 2004-08-05 José Matos <jamatos@lyx.org>
422 * parser_tools.py (read_file): remove \r from line's end when present.
424 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
426 * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
427 * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
428 * lyx_1_4.py (revert, convert): handle format 235
429 * parser_tools.py: up the format to 235.
431 2004-05-12 Angus Leeming <leeming@lyx.org>
433 * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
434 to convert the code that specifies the type of the citation engine
435 (basic, natbib or jurabib).
437 * parser_tools.py: up the format to 234.
439 2004-05-11 José Matos <jamatos@lyx.org>
441 * parser_tools.py (get_backend): get the document backend.
442 * lyx2lyx (main): new member of the document structure,
443 the textclass and backend, that default to article and latex.
444 * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
446 (insert_tracking_changes): insert \tracking_changes 0, if not present
448 (convert_names, revert_names): for docbook documents transform
449 the styles FirstName and Surname into character styles.
451 2004-05-03 José Matos <jamatos@lyx.org>
453 * lyx_1_4.py (convert_graphics):
454 * lyx2lyx: introduce new member of the structure class, dir which
455 carries the directory of the converted file.
456 * lyx2lyx: move default warning level to 1.
458 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
460 * lyx_1_4.py (convert_graphics): new, convert graphics filenames
461 * lyx_1_4.py (revert, convert): handle format 233
462 * lyx2lyx: up the format to 233.
464 2004-04-19 José Matos <jamatos@lyx.orrg>
466 * parser_tools.py (chain): fix the detection of the last format for
469 2004-04-19 Martin Vermeer <martin.vermeer@hut.fi>
471 * lyx_1_4.py (convert_frameless_box): Replace instead of adding
474 2004-04-14 José Matos <jamatos@lyx.org>
478 * lyxrevert_*: removed
489 * lyx_1_4.py: Added file with the same content as the previous that
493 * parser_tools.py: reworked for better modularity.
495 2004-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
497 * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
498 * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
499 * lyxconvert_230.py (convert_float): new, add sideways flag
500 * lyxrevert_231.py (convert_float): new, remove sideways flag
501 * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
502 * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
504 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
506 * lyx2lyx: up the format to 232.
508 * lyx2lyx: up the format to 231.
510 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
512 * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
514 2004-02-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
516 * lyx2lyx: up the format to 230.
518 2004-02-04 José Matos <jamatos@lyx.org>
519 * lyxconvert_210.py: add two new transforms:
520 remove_empty_insets and remove_formula_latex
521 little fix to existing transformations.
523 2004-02-03 José Matos <jamatos@lyx.org>
525 * lyxconvert216.py: one line fix for out of range error.
527 2004-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
529 * lyxconvert2*.py: quiet encoding warning in python 2.3
530 * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
532 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
534 * lyxrevert_228.py: convert ERT status, too
535 * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
536 \\layout in convert_collapsable()
537 * lyxconvert_228.py (convert_minipage): Add status tag conversion
538 * lyxrevert_225.py: Convert vspace and frameless box insets
539 * lyxrevert_22[3-8].py: fix the 'é' in José's name
541 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
543 * lyx2lyx: up the format to 229.
544 * lyxconvert_224.py (convert_minipage): remove function...
545 * lyxconvert_228.py: ...and place it here.
546 * lyxrevert_229.py: new file (bare bones).
548 2003-12-19 Angus Leeming <leeming@lyx.org>
550 * lyxconvert_227.py (convert_collapsable):
551 * lyxrevert_228.py (convert_collapsable): a more robust method of
552 finding the collapsed status.
554 2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
556 * lyxrevert_228.py: fix box status conversion
557 * lyxconvert_227.py: ditto
559 2003-12-16 José Matos <jamatos@lyx.org>
561 * lyxrevert_228.py: fix sys import.
563 2003-12-16 José Matos <jamatos@lyx.org>
565 * lyxconvert_227.py: fix sys import.
567 2003-12-15 Angus Leeming <leeming@lyx.org>
571 * lyxrevert_228.py: convert the InsetCollapsable format between
574 2003-12-10 Angus Leeming <leeming@lyx.org>
576 * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
577 this when reverting to format 226.
579 2003-12-10 Angus Leeming <leeming@lyx.org>
581 * lyx2lyx: up the format to 227.
582 (lyxformat): squash latent bug when reporting an inability to convert
583 to the desired format.
586 * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
588 2003-12-10 Angus Leeming <leeming@lyx.org>
590 * lyx2lyx: up the format to 226.
593 * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
595 2003-12-05 José Matos <jamatos@lyx.org>
598 * parser_tools.py: quiet encoding warning in python 2.3.
600 * lyx2lyx: add logfile as an option.
602 2003-12-03 José Matos <jamatos@lyx.org>
604 * lyx2lyx: update copyright date
605 * lyxconvert_224.py (convert_breaks): add vertical space convertion.
607 2003-11-14 Kornel Benko <kornel.benko@berlin.de>
609 * lyxconvert_224.py (convert_minipage): fix convertion of minipages
612 2003-11-14 José Matos <jamatos@lyx.org>
614 * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
615 arguments when a page breake or a line were present.
617 2003-11-07 José Matos <jamatos@lyx.org>
619 * lyxconvert_224.py (convert_minipage): deal better with default
620 parameter of minipages from lyx 1.3.x
622 2003-11-06 José Matos <jamatos@lyx.org>
624 * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
625 possible upper page and line breaks, if necessary.
627 2003-10-27 José Matos <jamatos@lyx.org>
630 * lyxconvert_224.py (convert_minipage): move funtion to its right place.
631 (convert_breaks): convert line and page break, at bottom and top.