1 2006-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * lyx_1_4.py (convert_amsmath, revert_amsmath): new, convert ams math
6 2006-02-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * LyX.py: new member is_default_layout()
9 * LyX.py: new member default_layout
10 * parser_tools.py (get_layout): new, extract layout name from line
11 * lyx_1_1_5.py, lyx_1_1_6.py, lyx_1_2.py, lyx_1_4.py: Replace all
12 occurences of the "Standard" layout with file.default_layout (bug 2026)
14 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
16 * lyx_1_4.py (remove_branches): new, remove branch insets
18 2005-12-01 José Matos <jamatos@lyx.org>
20 * LyX.py (choose_io): replace open and make the choice more transparent.
22 2005-11-24 José Matos <jamatos@lyx.org>
24 * lyx_1_0_0.py (obsolete_latex_title): "LaTeX Title" -> "Title"
25 * (update_tabular): update from tabular format 3 to 4 if necessary.
27 2005-11-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
29 * lyx_1_4.py (convert_frameless_box): fix file format argument of
32 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
34 * LyX.py: enlarge range to current format (245);
35 do not use \quotes_times anymore on NewFile.
36 * lyx_1_4.py (remove_quotestimes): remove param \quotes_times (bug 2090).
38 2005-09-28 José Matos <jamatos@lyx.org>
40 * LyX.py: fix relation_format reversion
42 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
44 * LyX.py: enlarge range to current format (244).
45 * lyx_1_4.py (revert_spaces): fix so that new space insets are reverted
47 * lyx_1_4.py (rename_spaces, revert_space_names): some InsetSpace types
48 had to be renamed; conversion takes place between 243<->244.
50 2005-09-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
52 * parser_tools.py (get_paragraph, get_next_paragraph): add format
53 argument and make them work with formats newer than 220
54 * lyx_1_2.py (remove_oldfloat, remove_pextra, remove_oldertinset,
55 combine_ert): adjust to the changes above
56 * lyx_1_4.py (convert_breaks, revert_breaks): better conversion of
58 * lyx_1_4.py (convert_ertbackslash, convert_ertlen, insert_ert):
59 add format argument and make it work with formats newer than 240
60 * lyx_1_4.py (convert_frameless_box): adjust to the changes above
61 * lyx_1_4.py (ert2latex): new, convert ERT code to LaTeX
62 * lyx_1_4.py (lyxsize2latexsize): new, convert LyX font size to LaTeX
64 2005-09-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
66 * LyX.py (LyX_Base): fix paragraph parameter check
67 * LyX.py (NewFile): remove paperpackage from header
69 2005-09-09 José Matos <jamatos@lyx.org>
71 * lyx_1_1_6fix3.py (update_tabular): fix vertical alignment convertion.
73 2005-08-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
75 * lyx_1_4.py (convert_vspace): rename to revert_breaks and revert
76 \lyxline and \newpage, too
78 2005-08-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
80 * lyx_1_4.py (add_to_preamble): fix invocation of find_token (bug 2004)
82 2005-08-18 José Matos <jamatos@lyx.org>
84 * lyx_1_4.py (remove_paperpackage): fix bug 2001.
86 2005-08-18 José Matos <jamatos@lyx.org>
88 * LyX.py (read, write): add preamble as data member of LyX_Base,
89 remove if from the header.
91 * lyx_0_12.py (header_update):
92 * lyx_1_1_5.py (remove_space_in_units):
93 * lyx_1_4.py (add_to_preamble, convert_frameless_box): use the new scheme.
95 * lyx_1_2.py (change_header): change name to reflect its content.
97 2005-07-29 José Matos <jamatos@lyx.org>
100 * LyX.py: add \leftindent to the list of allowed paragraph parameters.
102 2005-07-29 José Matos <jamatos@lyx.org>
104 * lyx_1_4.py (remove_paperpackage): Take into account the lines
107 2005-07-29 José Matos <jamatos@lyx.org>
109 * lyx_1_4.py: Fix a4 package removal when the preamble is already there.
111 2005-07-29 José Matos <jamatos@lyx.org>
113 * lyx_1_4.py: Fix widemarginsa4 convertion.
115 2005-07-29 José Matos <jamatos@lyx.org>
117 * lyx_1_4.py: \end_header was added in 222, not 223
119 2005-07-29 José Matos <jamatos@lyx.org>
122 * LyX.py: do not ignore format 222.
124 2005-07-22 José Matos <jamatos@lyx.org>
126 * lyx_1_4.py (convert_paperpackage, revert_paperpackage):
127 remove wrong comments
129 * LyX.py : add 1.3.6 to the releases list
131 2005-07-18 José Matos <jamatos@lyx.org>
133 * lyx_1_4.py (convert_minipage, convert_frameless_box): small
134 fixes to minipages convertions and retroversions.
136 2005-07-18 José Matos <jamatos@lyx.org>
138 * lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
140 2005-07-18 José Matos <jamatos@lyx.org>
142 * lyx_1_4.py (convert_french): convert language also in the body.
144 2005-07-15 José Matos <jamatos@lyx.org>
146 * Makefile.am: new file for correct dealing with python scripts.
147 * .cvsignore: ignore Makefile(.in) files.
149 2005-07-12 José Matos <jamatos@lyx.org>
151 * lyx_1_4.py (add_to_preamble): Make it more robust.
152 (convert_frameless_box): Fix wrong type for parameter.
153 (revert_paperpackage): Consider empty paper package case.
155 2005-07-08 José Matos <jamatos@lyx.org>
157 * lyx_0_12.py (update_tabular): Support old tables format 1.
159 2005-07-08 José Matos <jamatos@lyx.org>
161 * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
162 Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
164 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
166 * lyx_1_4.py (convert_french): change language frenchb to french
169 2005-07-07 José Matos <jamatos@lyx.org>
171 * LyX.py (read): Ignore whitelines on header. Fix reading the
174 2005-07-06 José Matos <jamatos@lyx.org>
176 * lyx_1_1_5.py (replace_protected_separator): Make it robust
177 to layout name absence.
179 2005-07-06 José Matos <jamatos@lyx.org>
181 * LyX.py (read): Add support for cases where the body begins
182 without a whiteline before.
184 2005-07-06 José Matos <jamatos@lyx.org>
186 * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
188 2005-07-06 José Matos <jamatos@lyx.org>
190 * LyX.py (warning): Prefix warnings with label "Warning: ".
191 * lyx_1_4.py (add_end_layout): Handle truncated files.
193 2005-07-06 José Matos <jamatos@lyx.org>
195 * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
196 had \paperpackage with 'default' instead of 'none'.
198 2005-07-05 José Matos <jamatos@lyx.org>
203 * lyx2lyx: Implement return codes consistently:
205 1 - Irrecoverable error.
206 2 - Recovered from error(s).
208 2005-07-05 José Matos <jamatos@lyx.org>
213 * lyx2lyx (parse_options):
214 * lyx2lyx (main): Add support for ignoring any errors during the
217 2005-07-05 José Matos <jamatos@lyx.org>
219 * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
221 2005-05-18 Angus Leeming <leeming@lyx.org>
223 * lyx2lyx (parse_options): Add the description of the '-f' option
226 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
228 * lyx_1_4.py (convert_breaks): Don't treat every token that starts
229 with '\\' as paragraph parameter
231 2005-05-06 José Matos <jamatos@lyx.org>
233 * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
236 2005-05-04 José Matos <jamatos@lyx.org>
238 * LyX.py: fix allowed parameters for paragraphs.
240 2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
242 * lyx_1_4.py (convert_breaks): fix spelling
243 * lyx_1_4.py (convert_breaks): fix copy-and-paste error
245 2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
247 * lyx_1_4.py (lyx_support_escape): new
248 * lyx_1_4.py (revert_eqref): new, convert
249 '\begin_inset LatexCommand \eqref{label}' to ERT
250 * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
252 2005-02-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
254 * lyx_1_4.py (convert_table_valignment_middle,
255 revert_valignment_middle): use regex to recognize
256 '\\begin_inset Tabular' and '\\begin_inset Tabular'
257 * lyx_1_2.py (update_tabular, update_longtables): ditto
258 * lyx_1_1_6fix3.py (update_tabular): ditto
260 2005-02-15 José Matos <jamatos@lyx.org>
262 * lyx_1_2.py (remove_pextra): fix bug 1816.
264 2005-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
266 * lyx_1_4.py (convert_ertbackslash): convert '\n', too
267 * lyx_1_4.py (convert_len): new, split from convert_ertlen
268 * lyx_1_4.py (insert_ert): new
269 * lyx_1_4.py (add_to_preamble): new
270 * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
271 and minipages with unsupported parameters
273 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
275 * LyX.py: format up to 241
276 * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
277 * lyx_1_4.py, LyX.py: handle new format 241
279 2005-01-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
281 * LyX.py: format up to 240.
282 * lyx_1_4.py (convert_output_changes, revert_output_changes): new
284 2005-01-06 José Matos <jamatos@lyx.org>
286 * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
287 to the allowed parameters list.
289 2005-01-06 José Matos <jamatos@lyx.org>
291 * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
293 * LyX.py (convert): simplify code and add running times
294 information for higher debug levels.
296 2005-01-04 José Matos <jamatos@lyx.org>
307 * lyx_1_4.py: convert and revert change from functions to lists.
310 * lyx2lyx: version -> version_lyx2lyx
312 * LyX.py (convert): put all the convertion logic here.
314 2005-01-04 José Matos <jamatos@lyx.org>
316 * LyX.py (set_format): fix typo.
327 * lyx_1_4.py: unify the call convention of convertion
328 functions. Now they all accept a file.
330 2004-12-03 José Matos <jamatos@lyx.org>
332 * LyX.py: format up to 238.
334 * lyx_0_12.py (update_latexaccents): consider the cases where the
337 2004-12-03 José Matos <jamatos@lyx.org>
339 * lyx_1_2.py (update_longtable): Update longtables to table format 3.
341 2004-12-02 José Matos <jamatos@lyx.org>
343 * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
345 2004-11-29 José Matos <jamatos@lyx.org>
347 * lyx_1_2.py (convert): rename opt to file, as in all other files.
349 2004-10-28 José Matos <jamatos@lyx.org>
351 * LyX.pm: add internal documentation.
353 2004-10-17 José Matos <jamatos@lyx.org>
355 * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
356 interface to the LyX module.
358 * LyX.py: white space changes. New class that serves as the basis
359 to two derived classes. One for reading and another for new files.
360 New function get_toc, to be used in Doc_toc.py in the
361 documentation directory.
362 New class paragraph, to read paragraphs from the lyx file.
364 2004-10-10 José Matos <jamatos@lyx.org>
366 * .cvsignore: add entries related with profiling lyx2lyx.
367 * lyx2lyx (main): place all program inside this function, to allow
368 it to be called from profiling.
369 * profiling.py: new file to profile lyx2lyx.
371 2004-10-09 José Matos <jamatos@lyx.org>
373 * LyX.py: add support for format 237, fix variables type,
374 new function formats_list().
376 * lyx2lyx: print list of available formats on request.
378 * lyx_1_4.py: add support for 237, reorganize directory functions.
380 2004-09-29 José Matos <jamatos@lyx.org>
382 * lyx_1_4.py (get_end_format): simplify index.
384 2004-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
386 * lyx_1_4.py (convert_ertbackslash): insert the new line after the
387 backslash, this did only work by accident in most cases
389 * lyx_1_4.py: unify warning messages
391 2004-08-19 José Matos <jamatos@lyx.org>
393 * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
396 2004-08-16 José Matos <jamatos@lyx.org>
398 * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
399 (convert_names, add_begin_body, strip_end_space): use the same policy
400 of lyx of not using spaces as the last character in a line that starts
401 with a command token (\xxxxx).
403 2004-08-15 José Matos <jamatos@lyx.org>
405 * lyx_1_4.py (normalize_papersize, denormalize_papersize):
406 \papersize Default -> \papersize default
407 \papersize Custom -> \papersize custom
409 2004-08-15 José Matos <jamatos@lyx.org>
411 * LyX.py: new file that gathers all the knowleadge of the LyX file
412 format. This can be used as library.
414 * parser_tools.py: moved all the functions that are not related
415 with the parser to LyX.py.
417 * lyx2lyx: is just a client of the LyX.py library.
419 * lyx_.py (convert, revert): renamed previous opt to file. Change
420 the arguments since now file contains both the header and the
423 2004-08-14 José Matos <jamatos@lyx.org>
426 * parser_tools.py: up the format to 236.
428 2004-08-05 José Matos <jamatos@lyx.org>
430 * lyx_1.4.py (remove_color_default): move
431 \color default -> \color inherit
433 2004-08-05 José Matos <jamatos@lyx.org>
435 * parser_tools.py (read_file): remove \r from line's end when present.
437 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
439 * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
440 * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
441 * lyx_1_4.py (revert, convert): handle format 235
442 * parser_tools.py: up the format to 235.
444 2004-05-12 Angus Leeming <leeming@lyx.org>
446 * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
447 to convert the code that specifies the type of the citation engine
448 (basic, natbib or jurabib).
450 * parser_tools.py: up the format to 234.
452 2004-05-11 José Matos <jamatos@lyx.org>
454 * parser_tools.py (get_backend): get the document backend.
455 * lyx2lyx (main): new member of the document structure,
456 the textclass and backend, that default to article and latex.
457 * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
459 (insert_tracking_changes): insert \tracking_changes 0, if not present
461 (convert_names, revert_names): for docbook documents transform
462 the styles FirstName and Surname into character styles.
464 2004-05-03 José Matos <jamatos@lyx.org>
466 * lyx_1_4.py (convert_graphics):
467 * lyx2lyx: introduce new member of the structure class, dir which
468 carries the directory of the converted file.
469 * lyx2lyx: move default warning level to 1.
471 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
473 * lyx_1_4.py (convert_graphics): new, convert graphics filenames
474 * lyx_1_4.py (revert, convert): handle format 233
475 * lyx2lyx: up the format to 233.
477 2004-04-19 José Matos <jamatos@lyx.orrg>
479 * parser_tools.py (chain): fix the detection of the last format for
482 2004-04-19 Martin Vermeer <martin.vermeer@hut.fi>
484 * lyx_1_4.py (convert_frameless_box): Replace instead of adding
487 2004-04-14 José Matos <jamatos@lyx.org>
491 * lyxrevert_*: removed
502 * lyx_1_4.py: Added file with the same content as the previous that
506 * parser_tools.py: reworked for better modularity.
508 2004-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
510 * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
511 * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
512 * lyxconvert_230.py (convert_float): new, add sideways flag
513 * lyxrevert_231.py (convert_float): new, remove sideways flag
514 * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
515 * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
517 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
519 * lyx2lyx: up the format to 232.
521 * lyx2lyx: up the format to 231.
523 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
525 * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
527 2004-02-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
529 * lyx2lyx: up the format to 230.
531 2004-02-04 José Matos <jamatos@lyx.org>
532 * lyxconvert_210.py: add two new transforms:
533 remove_empty_insets and remove_formula_latex
534 little fix to existing transformations.
536 2004-02-03 José Matos <jamatos@lyx.org>
538 * lyxconvert216.py: one line fix for out of range error.
540 2004-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
542 * lyxconvert2*.py: quiet encoding warning in python 2.3
543 * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
545 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
547 * lyxrevert_228.py: convert ERT status, too
548 * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
549 \\layout in convert_collapsable()
550 * lyxconvert_228.py (convert_minipage): Add status tag conversion
551 * lyxrevert_225.py: Convert vspace and frameless box insets
552 * lyxrevert_22[3-8].py: fix the 'é' in José's name
554 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
556 * lyx2lyx: up the format to 229.
557 * lyxconvert_224.py (convert_minipage): remove function...
558 * lyxconvert_228.py: ...and place it here.
559 * lyxrevert_229.py: new file (bare bones).
561 2003-12-19 Angus Leeming <leeming@lyx.org>
563 * lyxconvert_227.py (convert_collapsable):
564 * lyxrevert_228.py (convert_collapsable): a more robust method of
565 finding the collapsed status.
567 2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
569 * lyxrevert_228.py: fix box status conversion
570 * lyxconvert_227.py: ditto
572 2003-12-16 José Matos <jamatos@lyx.org>
574 * lyxrevert_228.py: fix sys import.
576 2003-12-16 José Matos <jamatos@lyx.org>
578 * lyxconvert_227.py: fix sys import.
580 2003-12-15 Angus Leeming <leeming@lyx.org>
584 * lyxrevert_228.py: convert the InsetCollapsable format between
587 2003-12-10 Angus Leeming <leeming@lyx.org>
589 * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
590 this when reverting to format 226.
592 2003-12-10 Angus Leeming <leeming@lyx.org>
594 * lyx2lyx: up the format to 227.
595 (lyxformat): squash latent bug when reporting an inability to convert
596 to the desired format.
599 * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
601 2003-12-10 Angus Leeming <leeming@lyx.org>
603 * lyx2lyx: up the format to 226.
606 * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
608 2003-12-05 José Matos <jamatos@lyx.org>
611 * parser_tools.py: quiet encoding warning in python 2.3.
613 * lyx2lyx: add logfile as an option.
615 2003-12-03 José Matos <jamatos@lyx.org>
617 * lyx2lyx: update copyright date
618 * lyxconvert_224.py (convert_breaks): add vertical space convertion.
620 2003-11-14 Kornel Benko <kornel.benko@berlin.de>
622 * lyxconvert_224.py (convert_minipage): fix convertion of minipages
625 2003-11-14 José Matos <jamatos@lyx.org>
627 * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
628 arguments when a page breake or a line were present.
630 2003-11-07 José Matos <jamatos@lyx.org>
632 * lyxconvert_224.py (convert_minipage): deal better with default
633 parameter of minipages from lyx 1.3.x
635 2003-11-06 José Matos <jamatos@lyx.org>
637 * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
638 possible upper page and line breaks, if necessary.
640 2003-10-27 José Matos <jamatos@lyx.org>
643 * lyxconvert_224.py (convert_minipage): move funtion to its right place.
644 (convert_breaks): convert line and page break, at bottom and top.