1 2006-03-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * lyx_1_5.py: new file, handle new format 246
4 * LyX.py: handle new format 246
5 * lyx_1_4.py (revert_booktabs): move to lyx_1_5.py
7 2006-03-06 José Matos <jamatos@lyx.org>
9 * lyx_1_4.py (remove_paperpackage): Only reset the papersize for
12 2006-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
14 * lyx_1_4.py (convert_amsmath, revert_amsmath): new, convert ams math
17 2006-02-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
19 * LyX.py: new member is_default_layout()
20 * LyX.py: new member default_layout
21 * parser_tools.py (get_layout): new, extract layout name from line
22 * lyx_1_1_5.py, lyx_1_1_6.py, lyx_1_2.py, lyx_1_4.py: Replace all
23 occurences of the "Standard" layout with file.default_layout (bug 2026)
25 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
27 * lyx_1_4.py (remove_branches): new, remove branch insets
29 2005-12-01 José Matos <jamatos@lyx.org>
31 * LyX.py (choose_io): replace open and make the choice more transparent.
33 2005-11-24 José Matos <jamatos@lyx.org>
35 * lyx_1_0_0.py (obsolete_latex_title): "LaTeX Title" -> "Title"
36 * (update_tabular): update from tabular format 3 to 4 if necessary.
38 2005-11-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
40 * lyx_1_4.py (convert_frameless_box): fix file format argument of
43 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
45 * LyX.py: enlarge range to current format (245);
46 do not use \quotes_times anymore on NewFile.
47 * lyx_1_4.py (remove_quotestimes): remove param \quotes_times (bug 2090).
49 2005-09-28 José Matos <jamatos@lyx.org>
51 * LyX.py: fix relation_format reversion
53 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
55 * LyX.py: enlarge range to current format (244).
56 * lyx_1_4.py (revert_spaces): fix so that new space insets are reverted
58 * lyx_1_4.py (rename_spaces, revert_space_names): some InsetSpace types
59 had to be renamed; conversion takes place between 243<->244.
61 2005-09-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
63 * parser_tools.py (get_paragraph, get_next_paragraph): add format
64 argument and make them work with formats newer than 220
65 * lyx_1_2.py (remove_oldfloat, remove_pextra, remove_oldertinset,
66 combine_ert): adjust to the changes above
67 * lyx_1_4.py (convert_breaks, revert_breaks): better conversion of
69 * lyx_1_4.py (convert_ertbackslash, convert_ertlen, insert_ert):
70 add format argument and make it work with formats newer than 240
71 * lyx_1_4.py (convert_frameless_box): adjust to the changes above
72 * lyx_1_4.py (ert2latex): new, convert ERT code to LaTeX
73 * lyx_1_4.py (lyxsize2latexsize): new, convert LyX font size to LaTeX
75 2005-09-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
77 * LyX.py (LyX_Base): fix paragraph parameter check
78 * LyX.py (NewFile): remove paperpackage from header
80 2005-09-09 José Matos <jamatos@lyx.org>
82 * lyx_1_1_6fix3.py (update_tabular): fix vertical alignment convertion.
84 2005-08-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
86 * lyx_1_4.py (convert_vspace): rename to revert_breaks and revert
87 \lyxline and \newpage, too
89 2005-08-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
91 * lyx_1_4.py (add_to_preamble): fix invocation of find_token (bug 2004)
93 2005-08-18 José Matos <jamatos@lyx.org>
95 * lyx_1_4.py (remove_paperpackage): fix bug 2001.
97 2005-08-18 José Matos <jamatos@lyx.org>
99 * LyX.py (read, write): add preamble as data member of LyX_Base,
100 remove if from the header.
102 * lyx_0_12.py (header_update):
103 * lyx_1_1_5.py (remove_space_in_units):
104 * lyx_1_4.py (add_to_preamble, convert_frameless_box): use the new scheme.
106 * lyx_1_2.py (change_header): change name to reflect its content.
108 2005-07-29 José Matos <jamatos@lyx.org>
111 * LyX.py: add \leftindent to the list of allowed paragraph parameters.
113 2005-07-29 José Matos <jamatos@lyx.org>
115 * lyx_1_4.py (remove_paperpackage): Take into account the lines
118 2005-07-29 José Matos <jamatos@lyx.org>
120 * lyx_1_4.py: Fix a4 package removal when the preamble is already there.
122 2005-07-29 José Matos <jamatos@lyx.org>
124 * lyx_1_4.py: Fix widemarginsa4 convertion.
126 2005-07-29 José Matos <jamatos@lyx.org>
128 * lyx_1_4.py: \end_header was added in 222, not 223
130 2005-07-29 José Matos <jamatos@lyx.org>
133 * LyX.py: do not ignore format 222.
135 2005-07-22 José Matos <jamatos@lyx.org>
137 * lyx_1_4.py (convert_paperpackage, revert_paperpackage):
138 remove wrong comments
140 * LyX.py : add 1.3.6 to the releases list
142 2005-07-18 José Matos <jamatos@lyx.org>
144 * lyx_1_4.py (convert_minipage, convert_frameless_box): small
145 fixes to minipages convertions and retroversions.
147 2005-07-18 José Matos <jamatos@lyx.org>
149 * lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
151 2005-07-18 José Matos <jamatos@lyx.org>
153 * lyx_1_4.py (convert_french): convert language also in the body.
155 2005-07-15 José Matos <jamatos@lyx.org>
157 * Makefile.am: new file for correct dealing with python scripts.
158 * .cvsignore: ignore Makefile(.in) files.
160 2005-07-12 José Matos <jamatos@lyx.org>
162 * lyx_1_4.py (add_to_preamble): Make it more robust.
163 (convert_frameless_box): Fix wrong type for parameter.
164 (revert_paperpackage): Consider empty paper package case.
166 2005-07-08 José Matos <jamatos@lyx.org>
168 * lyx_0_12.py (update_tabular): Support old tables format 1.
170 2005-07-08 José Matos <jamatos@lyx.org>
172 * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
173 Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
175 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
177 * lyx_1_4.py (convert_french): change language frenchb to french
180 2005-07-07 José Matos <jamatos@lyx.org>
182 * LyX.py (read): Ignore whitelines on header. Fix reading the
185 2005-07-06 José Matos <jamatos@lyx.org>
187 * lyx_1_1_5.py (replace_protected_separator): Make it robust
188 to layout name absence.
190 2005-07-06 José Matos <jamatos@lyx.org>
192 * LyX.py (read): Add support for cases where the body begins
193 without a whiteline before.
195 2005-07-06 José Matos <jamatos@lyx.org>
197 * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
199 2005-07-06 José Matos <jamatos@lyx.org>
201 * LyX.py (warning): Prefix warnings with label "Warning: ".
202 * lyx_1_4.py (add_end_layout): Handle truncated files.
204 2005-07-06 José Matos <jamatos@lyx.org>
206 * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
207 had \paperpackage with 'default' instead of 'none'.
209 2005-07-05 José Matos <jamatos@lyx.org>
214 * lyx2lyx: Implement return codes consistently:
216 1 - Irrecoverable error.
217 2 - Recovered from error(s).
219 2005-07-05 José Matos <jamatos@lyx.org>
224 * lyx2lyx (parse_options):
225 * lyx2lyx (main): Add support for ignoring any errors during the
228 2005-07-05 José Matos <jamatos@lyx.org>
230 * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
232 2005-05-18 Angus Leeming <leeming@lyx.org>
234 * lyx2lyx (parse_options): Add the description of the '-f' option
237 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
239 * lyx_1_4.py (convert_breaks): Don't treat every token that starts
240 with '\\' as paragraph parameter
242 2005-05-06 José Matos <jamatos@lyx.org>
244 * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
247 2005-05-04 José Matos <jamatos@lyx.org>
249 * LyX.py: fix allowed parameters for paragraphs.
251 2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
253 * lyx_1_4.py (convert_breaks): fix spelling
254 * lyx_1_4.py (convert_breaks): fix copy-and-paste error
256 2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
258 * lyx_1_4.py (lyx_support_escape): new
259 * lyx_1_4.py (revert_eqref): new, convert
260 '\begin_inset LatexCommand \eqref{label}' to ERT
261 * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
263 2005-02-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
265 * lyx_1_4.py (convert_table_valignment_middle,
266 revert_valignment_middle): use regex to recognize
267 '\\begin_inset Tabular' and '\\begin_inset Tabular'
268 * lyx_1_2.py (update_tabular, update_longtables): ditto
269 * lyx_1_1_6fix3.py (update_tabular): ditto
271 2005-02-15 José Matos <jamatos@lyx.org>
273 * lyx_1_2.py (remove_pextra): fix bug 1816.
275 2005-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
277 * lyx_1_4.py (convert_ertbackslash): convert '\n', too
278 * lyx_1_4.py (convert_len): new, split from convert_ertlen
279 * lyx_1_4.py (insert_ert): new
280 * lyx_1_4.py (add_to_preamble): new
281 * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
282 and minipages with unsupported parameters
284 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
286 * LyX.py: format up to 241
287 * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
288 * lyx_1_4.py, LyX.py: handle new format 241
290 2005-01-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
292 * LyX.py: format up to 240.
293 * lyx_1_4.py (convert_output_changes, revert_output_changes): new
295 2005-01-06 José Matos <jamatos@lyx.org>
297 * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
298 to the allowed parameters list.
300 2005-01-06 José Matos <jamatos@lyx.org>
302 * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
304 * LyX.py (convert): simplify code and add running times
305 information for higher debug levels.
307 2005-01-04 José Matos <jamatos@lyx.org>
318 * lyx_1_4.py: convert and revert change from functions to lists.
321 * lyx2lyx: version -> version_lyx2lyx
323 * LyX.py (convert): put all the convertion logic here.
325 2005-01-04 José Matos <jamatos@lyx.org>
327 * LyX.py (set_format): fix typo.
338 * lyx_1_4.py: unify the call convention of convertion
339 functions. Now they all accept a file.
341 2004-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
343 * lyx_1_4.py, LyX.py: handle new format 239
344 * lyx_1_4.py (revert_booktabs): move to 239 -> 238 conversion
346 2004-12-03 José Matos <jamatos@lyx.org>
348 * LyX.py: format up to 238.
350 * lyx_0_12.py (update_latexaccents): consider the cases where the
353 2004-12-03 José Matos <jamatos@lyx.org>
355 * lyx_1_2.py (update_longtable): Update longtables to table format 3.
357 2004-12-02 José Matos <jamatos@lyx.org>
359 * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
361 2004-11-29 José Matos <jamatos@lyx.org>
363 * lyx_1_2.py (convert): rename opt to file, as in all other files.
365 2004-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
367 * lyx_1_4.py, LyX.py: handle new format 238
368 * lyx_1_4.py (revert_booktabs): new
370 2004-10-28 José Matos <jamatos@lyx.org>
372 * LyX.pm: add internal documentation.
374 2004-10-17 José Matos <jamatos@lyx.org>
376 * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
377 interface to the LyX module.
379 * LyX.py: white space changes. New class that serves as the basis
380 to two derived classes. One for reading and another for new files.
381 New function get_toc, to be used in Doc_toc.py in the
382 documentation directory.
383 New class paragraph, to read paragraphs from the lyx file.
385 2004-10-10 José Matos <jamatos@lyx.org>
387 * .cvsignore: add entries related with profiling lyx2lyx.
388 * lyx2lyx (main): place all program inside this function, to allow
389 it to be called from profiling.
390 * profiling.py: new file to profile lyx2lyx.
392 2004-10-09 José Matos <jamatos@lyx.org>
394 * LyX.py: add support for format 237, fix variables type,
395 new function formats_list().
397 * lyx2lyx: print list of available formats on request.
399 * lyx_1_4.py: add support for 237, reorganize directory functions.
401 2004-09-29 José Matos <jamatos@lyx.org>
403 * lyx_1_4.py (get_end_format): simplify index.
405 2004-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
407 * lyx_1_4.py (convert_ertbackslash): insert the new line after the
408 backslash, this did only work by accident in most cases
410 * lyx_1_4.py: unify warning messages
412 2004-08-19 José Matos <jamatos@lyx.org>
414 * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
417 2004-08-16 José Matos <jamatos@lyx.org>
419 * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
420 (convert_names, add_begin_body, strip_end_space): use the same policy
421 of lyx of not using spaces as the last character in a line that starts
422 with a command token (\xxxxx).
424 2004-08-15 José Matos <jamatos@lyx.org>
426 * lyx_1_4.py (normalize_papersize, denormalize_papersize):
427 \papersize Default -> \papersize default
428 \papersize Custom -> \papersize custom
430 2004-08-15 José Matos <jamatos@lyx.org>
432 * LyX.py: new file that gathers all the knowleadge of the LyX file
433 format. This can be used as library.
435 * parser_tools.py: moved all the functions that are not related
436 with the parser to LyX.py.
438 * lyx2lyx: is just a client of the LyX.py library.
440 * lyx_.py (convert, revert): renamed previous opt to file. Change
441 the arguments since now file contains both the header and the
444 2004-08-14 José Matos <jamatos@lyx.org>
447 * parser_tools.py: up the format to 236.
449 2004-08-05 José Matos <jamatos@lyx.org>
451 * lyx_1.4.py (remove_color_default): move
452 \color default -> \color inherit
454 2004-08-05 José Matos <jamatos@lyx.org>
456 * parser_tools.py (read_file): remove \r from line's end when present.
458 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
460 * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
461 * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
462 * lyx_1_4.py (revert, convert): handle format 235
463 * parser_tools.py: up the format to 235.
465 2004-05-12 Angus Leeming <leeming@lyx.org>
467 * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
468 to convert the code that specifies the type of the citation engine
469 (basic, natbib or jurabib).
471 * parser_tools.py: up the format to 234.
473 2004-05-11 José Matos <jamatos@lyx.org>
475 * parser_tools.py (get_backend): get the document backend.
476 * lyx2lyx (main): new member of the document structure,
477 the textclass and backend, that default to article and latex.
478 * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
480 (insert_tracking_changes): insert \tracking_changes 0, if not present
482 (convert_names, revert_names): for docbook documents transform
483 the styles FirstName and Surname into character styles.
485 2004-05-03 José Matos <jamatos@lyx.org>
487 * lyx_1_4.py (convert_graphics):
488 * lyx2lyx: introduce new member of the structure class, dir which
489 carries the directory of the converted file.
490 * lyx2lyx: move default warning level to 1.
492 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
494 * lyx_1_4.py (convert_graphics): new, convert graphics filenames
495 * lyx_1_4.py (revert, convert): handle format 233
496 * lyx2lyx: up the format to 233.
498 2004-04-19 José Matos <jamatos@lyx.orrg>
500 * parser_tools.py (chain): fix the detection of the last format for
503 2004-04-19 Martin Vermeer <martin.vermeer@hut.fi>
505 * lyx_1_4.py (convert_frameless_box): Replace instead of adding
508 2004-04-14 José Matos <jamatos@lyx.org>
512 * lyxrevert_*: removed
523 * lyx_1_4.py: Added file with the same content as the previous that
527 * parser_tools.py: reworked for better modularity.
529 2004-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
531 * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
532 * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
533 * lyxconvert_230.py (convert_float): new, add sideways flag
534 * lyxrevert_231.py (convert_float): new, remove sideways flag
535 * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
536 * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
538 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
540 * lyx2lyx: up the format to 232.
542 * lyx2lyx: up the format to 231.
544 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
546 * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
548 2004-02-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
550 * lyx2lyx: up the format to 230.
552 2004-02-04 José Matos <jamatos@lyx.org>
553 * lyxconvert_210.py: add two new transforms:
554 remove_empty_insets and remove_formula_latex
555 little fix to existing transformations.
557 2004-02-03 José Matos <jamatos@lyx.org>
559 * lyxconvert216.py: one line fix for out of range error.
561 2004-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
563 * lyxconvert2*.py: quiet encoding warning in python 2.3
564 * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
566 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
568 * lyxrevert_228.py: convert ERT status, too
569 * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
570 \\layout in convert_collapsable()
571 * lyxconvert_228.py (convert_minipage): Add status tag conversion
572 * lyxrevert_225.py: Convert vspace and frameless box insets
573 * lyxrevert_22[3-8].py: fix the 'é' in José's name
575 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
577 * lyx2lyx: up the format to 229.
578 * lyxconvert_224.py (convert_minipage): remove function...
579 * lyxconvert_228.py: ...and place it here.
580 * lyxrevert_229.py: new file (bare bones).
582 2003-12-19 Angus Leeming <leeming@lyx.org>
584 * lyxconvert_227.py (convert_collapsable):
585 * lyxrevert_228.py (convert_collapsable): a more robust method of
586 finding the collapsed status.
588 2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
590 * lyxrevert_228.py: fix box status conversion
591 * lyxconvert_227.py: ditto
593 2003-12-16 José Matos <jamatos@lyx.org>
595 * lyxrevert_228.py: fix sys import.
597 2003-12-16 José Matos <jamatos@lyx.org>
599 * lyxconvert_227.py: fix sys import.
601 2003-12-15 Angus Leeming <leeming@lyx.org>
605 * lyxrevert_228.py: convert the InsetCollapsable format between
608 2003-12-10 Angus Leeming <leeming@lyx.org>
610 * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
611 this when reverting to format 226.
613 2003-12-10 Angus Leeming <leeming@lyx.org>
615 * lyx2lyx: up the format to 227.
616 (lyxformat): squash latent bug when reporting an inability to convert
617 to the desired format.
620 * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
622 2003-12-10 Angus Leeming <leeming@lyx.org>
624 * lyx2lyx: up the format to 226.
627 * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
629 2003-12-05 José Matos <jamatos@lyx.org>
632 * parser_tools.py: quiet encoding warning in python 2.3.
634 * lyx2lyx: add logfile as an option.
636 2003-12-03 José Matos <jamatos@lyx.org>
638 * lyx2lyx: update copyright date
639 * lyxconvert_224.py (convert_breaks): add vertical space convertion.
641 2003-11-14 Kornel Benko <kornel.benko@berlin.de>
643 * lyxconvert_224.py (convert_minipage): fix convertion of minipages
646 2003-11-14 José Matos <jamatos@lyx.org>
648 * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
649 arguments when a page breake or a line were present.
651 2003-11-07 José Matos <jamatos@lyx.org>
653 * lyxconvert_224.py (convert_minipage): deal better with default
654 parameter of minipages from lyx 1.3.x
656 2003-11-06 José Matos <jamatos@lyx.org>
658 * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
659 possible upper page and line breaks, if necessary.
661 2003-10-27 José Matos <jamatos@lyx.org>
664 * lyxconvert_224.py (convert_minipage): move funtion to its right place.
665 (convert_breaks): convert line and page break, at bottom and top.