1 2006-03-06 José Matos <jamatos@lyx.org>
3 * lyx_1_4.py (remove_paperpackage): Only reset the papersize for
6 2006-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * lyx_1_4.py (convert_amsmath, revert_amsmath): new, convert ams math
11 2006-02-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
13 * LyX.py: new member is_default_layout()
14 * LyX.py: new member default_layout
15 * parser_tools.py (get_layout): new, extract layout name from line
16 * lyx_1_1_5.py, lyx_1_1_6.py, lyx_1_2.py, lyx_1_4.py: Replace all
17 occurences of the "Standard" layout with file.default_layout (bug 2026)
19 2006-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
21 * lyx_1_4.py (remove_branches): new, remove branch insets
23 2005-12-01 José Matos <jamatos@lyx.org>
25 * LyX.py (choose_io): replace open and make the choice more transparent.
27 2005-11-24 José Matos <jamatos@lyx.org>
29 * lyx_1_0_0.py (obsolete_latex_title): "LaTeX Title" -> "Title"
30 * (update_tabular): update from tabular format 3 to 4 if necessary.
32 2005-11-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
34 * lyx_1_4.py (convert_frameless_box): fix file format argument of
37 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
39 * LyX.py: enlarge range to current format (245);
40 do not use \quotes_times anymore on NewFile.
41 * lyx_1_4.py (remove_quotestimes): remove param \quotes_times (bug 2090).
43 2005-09-28 José Matos <jamatos@lyx.org>
45 * LyX.py: fix relation_format reversion
47 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
49 * LyX.py: enlarge range to current format (244).
50 * lyx_1_4.py (revert_spaces): fix so that new space insets are reverted
52 * lyx_1_4.py (rename_spaces, revert_space_names): some InsetSpace types
53 had to be renamed; conversion takes place between 243<->244.
55 2005-09-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
57 * parser_tools.py (get_paragraph, get_next_paragraph): add format
58 argument and make them work with formats newer than 220
59 * lyx_1_2.py (remove_oldfloat, remove_pextra, remove_oldertinset,
60 combine_ert): adjust to the changes above
61 * lyx_1_4.py (convert_breaks, revert_breaks): better conversion of
63 * lyx_1_4.py (convert_ertbackslash, convert_ertlen, insert_ert):
64 add format argument and make it work with formats newer than 240
65 * lyx_1_4.py (convert_frameless_box): adjust to the changes above
66 * lyx_1_4.py (ert2latex): new, convert ERT code to LaTeX
67 * lyx_1_4.py (lyxsize2latexsize): new, convert LyX font size to LaTeX
69 2005-09-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
71 * LyX.py (LyX_Base): fix paragraph parameter check
72 * LyX.py (NewFile): remove paperpackage from header
74 2005-09-09 José Matos <jamatos@lyx.org>
76 * lyx_1_1_6fix3.py (update_tabular): fix vertical alignment convertion.
78 2005-08-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
80 * lyx_1_4.py (convert_vspace): rename to revert_breaks and revert
81 \lyxline and \newpage, too
83 2005-08-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
85 * lyx_1_4.py (add_to_preamble): fix invocation of find_token (bug 2004)
87 2005-08-18 José Matos <jamatos@lyx.org>
89 * lyx_1_4.py (remove_paperpackage): fix bug 2001.
91 2005-08-18 José Matos <jamatos@lyx.org>
93 * LyX.py (read, write): add preamble as data member of LyX_Base,
94 remove if from the header.
96 * lyx_0_12.py (header_update):
97 * lyx_1_1_5.py (remove_space_in_units):
98 * lyx_1_4.py (add_to_preamble, convert_frameless_box): use the new scheme.
100 * lyx_1_2.py (change_header): change name to reflect its content.
102 2005-07-29 José Matos <jamatos@lyx.org>
105 * LyX.py: add \leftindent to the list of allowed paragraph parameters.
107 2005-07-29 José Matos <jamatos@lyx.org>
109 * lyx_1_4.py (remove_paperpackage): Take into account the lines
112 2005-07-29 José Matos <jamatos@lyx.org>
114 * lyx_1_4.py: Fix a4 package removal when the preamble is already there.
116 2005-07-29 José Matos <jamatos@lyx.org>
118 * lyx_1_4.py: Fix widemarginsa4 convertion.
120 2005-07-29 José Matos <jamatos@lyx.org>
122 * lyx_1_4.py: \end_header was added in 222, not 223
124 2005-07-29 José Matos <jamatos@lyx.org>
127 * LyX.py: do not ignore format 222.
129 2005-07-22 José Matos <jamatos@lyx.org>
131 * lyx_1_4.py (convert_paperpackage, revert_paperpackage):
132 remove wrong comments
134 * LyX.py : add 1.3.6 to the releases list
136 2005-07-18 José Matos <jamatos@lyx.org>
138 * lyx_1_4.py (convert_minipage, convert_frameless_box): small
139 fixes to minipages convertions and retroversions.
141 2005-07-18 José Matos <jamatos@lyx.org>
143 * lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
145 2005-07-18 José Matos <jamatos@lyx.org>
147 * lyx_1_4.py (convert_french): convert language also in the body.
149 2005-07-15 José Matos <jamatos@lyx.org>
151 * Makefile.am: new file for correct dealing with python scripts.
152 * .cvsignore: ignore Makefile(.in) files.
154 2005-07-12 José Matos <jamatos@lyx.org>
156 * lyx_1_4.py (add_to_preamble): Make it more robust.
157 (convert_frameless_box): Fix wrong type for parameter.
158 (revert_paperpackage): Consider empty paper package case.
160 2005-07-08 José Matos <jamatos@lyx.org>
162 * lyx_0_12.py (update_tabular): Support old tables format 1.
164 2005-07-08 José Matos <jamatos@lyx.org>
166 * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
167 Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
169 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
171 * lyx_1_4.py (convert_french): change language frenchb to french
174 2005-07-07 José Matos <jamatos@lyx.org>
176 * LyX.py (read): Ignore whitelines on header. Fix reading the
179 2005-07-06 José Matos <jamatos@lyx.org>
181 * lyx_1_1_5.py (replace_protected_separator): Make it robust
182 to layout name absence.
184 2005-07-06 José Matos <jamatos@lyx.org>
186 * LyX.py (read): Add support for cases where the body begins
187 without a whiteline before.
189 2005-07-06 José Matos <jamatos@lyx.org>
191 * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
193 2005-07-06 José Matos <jamatos@lyx.org>
195 * LyX.py (warning): Prefix warnings with label "Warning: ".
196 * lyx_1_4.py (add_end_layout): Handle truncated files.
198 2005-07-06 José Matos <jamatos@lyx.org>
200 * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
201 had \paperpackage with 'default' instead of 'none'.
203 2005-07-05 José Matos <jamatos@lyx.org>
208 * lyx2lyx: Implement return codes consistently:
210 1 - Irrecoverable error.
211 2 - Recovered from error(s).
213 2005-07-05 José Matos <jamatos@lyx.org>
218 * lyx2lyx (parse_options):
219 * lyx2lyx (main): Add support for ignoring any errors during the
222 2005-07-05 José Matos <jamatos@lyx.org>
224 * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
226 2005-05-18 Angus Leeming <leeming@lyx.org>
228 * lyx2lyx (parse_options): Add the description of the '-f' option
231 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
233 * lyx_1_4.py (convert_breaks): Don't treat every token that starts
234 with '\\' as paragraph parameter
236 2005-05-06 José Matos <jamatos@lyx.org>
238 * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
241 2005-05-04 José Matos <jamatos@lyx.org>
243 * LyX.py: fix allowed parameters for paragraphs.
245 2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
247 * lyx_1_4.py (convert_breaks): fix spelling
248 * lyx_1_4.py (convert_breaks): fix copy-and-paste error
250 2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
252 * lyx_1_4.py (lyx_support_escape): new
253 * lyx_1_4.py (revert_eqref): new, convert
254 '\begin_inset LatexCommand \eqref{label}' to ERT
255 * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
257 2005-02-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
259 * lyx_1_4.py (convert_table_valignment_middle,
260 revert_valignment_middle): use regex to recognize
261 '\\begin_inset Tabular' and '\\begin_inset Tabular'
262 * lyx_1_2.py (update_tabular, update_longtables): ditto
263 * lyx_1_1_6fix3.py (update_tabular): ditto
265 2005-02-15 José Matos <jamatos@lyx.org>
267 * lyx_1_2.py (remove_pextra): fix bug 1816.
269 2005-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
271 * lyx_1_4.py (convert_ertbackslash): convert '\n', too
272 * lyx_1_4.py (convert_len): new, split from convert_ertlen
273 * lyx_1_4.py (insert_ert): new
274 * lyx_1_4.py (add_to_preamble): new
275 * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
276 and minipages with unsupported parameters
278 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
280 * LyX.py: format up to 241
281 * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
282 * lyx_1_4.py, LyX.py: handle new format 241
284 2005-01-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
286 * LyX.py: format up to 240.
287 * lyx_1_4.py (convert_output_changes, revert_output_changes): new
289 2005-01-06 José Matos <jamatos@lyx.org>
291 * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
292 to the allowed parameters list.
294 2005-01-06 José Matos <jamatos@lyx.org>
296 * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
298 * LyX.py (convert): simplify code and add running times
299 information for higher debug levels.
301 2005-01-04 José Matos <jamatos@lyx.org>
312 * lyx_1_4.py: convert and revert change from functions to lists.
315 * lyx2lyx: version -> version_lyx2lyx
317 * LyX.py (convert): put all the convertion logic here.
319 2005-01-04 José Matos <jamatos@lyx.org>
321 * LyX.py (set_format): fix typo.
332 * lyx_1_4.py: unify the call convention of convertion
333 functions. Now they all accept a file.
335 2004-12-03 José Matos <jamatos@lyx.org>
337 * LyX.py: format up to 238.
339 * lyx_0_12.py (update_latexaccents): consider the cases where the
342 2004-12-03 José Matos <jamatos@lyx.org>
344 * lyx_1_2.py (update_longtable): Update longtables to table format 3.
346 2004-12-02 José Matos <jamatos@lyx.org>
348 * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
350 2004-11-29 José Matos <jamatos@lyx.org>
352 * lyx_1_2.py (convert): rename opt to file, as in all other files.
354 2004-10-28 José Matos <jamatos@lyx.org>
356 * LyX.pm: add internal documentation.
358 2004-10-17 José Matos <jamatos@lyx.org>
360 * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
361 interface to the LyX module.
363 * LyX.py: white space changes. New class that serves as the basis
364 to two derived classes. One for reading and another for new files.
365 New function get_toc, to be used in Doc_toc.py in the
366 documentation directory.
367 New class paragraph, to read paragraphs from the lyx file.
369 2004-10-10 José Matos <jamatos@lyx.org>
371 * .cvsignore: add entries related with profiling lyx2lyx.
372 * lyx2lyx (main): place all program inside this function, to allow
373 it to be called from profiling.
374 * profiling.py: new file to profile lyx2lyx.
376 2004-10-09 José Matos <jamatos@lyx.org>
378 * LyX.py: add support for format 237, fix variables type,
379 new function formats_list().
381 * lyx2lyx: print list of available formats on request.
383 * lyx_1_4.py: add support for 237, reorganize directory functions.
385 2004-09-29 José Matos <jamatos@lyx.org>
387 * lyx_1_4.py (get_end_format): simplify index.
389 2004-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
391 * lyx_1_4.py (convert_ertbackslash): insert the new line after the
392 backslash, this did only work by accident in most cases
394 * lyx_1_4.py: unify warning messages
396 2004-08-19 José Matos <jamatos@lyx.org>
398 * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
401 2004-08-16 José Matos <jamatos@lyx.org>
403 * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
404 (convert_names, add_begin_body, strip_end_space): use the same policy
405 of lyx of not using spaces as the last character in a line that starts
406 with a command token (\xxxxx).
408 2004-08-15 José Matos <jamatos@lyx.org>
410 * lyx_1_4.py (normalize_papersize, denormalize_papersize):
411 \papersize Default -> \papersize default
412 \papersize Custom -> \papersize custom
414 2004-08-15 José Matos <jamatos@lyx.org>
416 * LyX.py: new file that gathers all the knowleadge of the LyX file
417 format. This can be used as library.
419 * parser_tools.py: moved all the functions that are not related
420 with the parser to LyX.py.
422 * lyx2lyx: is just a client of the LyX.py library.
424 * lyx_.py (convert, revert): renamed previous opt to file. Change
425 the arguments since now file contains both the header and the
428 2004-08-14 José Matos <jamatos@lyx.org>
431 * parser_tools.py: up the format to 236.
433 2004-08-05 José Matos <jamatos@lyx.org>
435 * lyx_1.4.py (remove_color_default): move
436 \color default -> \color inherit
438 2004-08-05 José Matos <jamatos@lyx.org>
440 * parser_tools.py (read_file): remove \r from line's end when present.
442 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
444 * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
445 * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
446 * lyx_1_4.py (revert, convert): handle format 235
447 * parser_tools.py: up the format to 235.
449 2004-05-12 Angus Leeming <leeming@lyx.org>
451 * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
452 to convert the code that specifies the type of the citation engine
453 (basic, natbib or jurabib).
455 * parser_tools.py: up the format to 234.
457 2004-05-11 José Matos <jamatos@lyx.org>
459 * parser_tools.py (get_backend): get the document backend.
460 * lyx2lyx (main): new member of the document structure,
461 the textclass and backend, that default to article and latex.
462 * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
464 (insert_tracking_changes): insert \tracking_changes 0, if not present
466 (convert_names, revert_names): for docbook documents transform
467 the styles FirstName and Surname into character styles.
469 2004-05-03 José Matos <jamatos@lyx.org>
471 * lyx_1_4.py (convert_graphics):
472 * lyx2lyx: introduce new member of the structure class, dir which
473 carries the directory of the converted file.
474 * lyx2lyx: move default warning level to 1.
476 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
478 * lyx_1_4.py (convert_graphics): new, convert graphics filenames
479 * lyx_1_4.py (revert, convert): handle format 233
480 * lyx2lyx: up the format to 233.
482 2004-04-19 José Matos <jamatos@lyx.orrg>
484 * parser_tools.py (chain): fix the detection of the last format for
487 2004-04-19 Martin Vermeer <martin.vermeer@hut.fi>
489 * lyx_1_4.py (convert_frameless_box): Replace instead of adding
492 2004-04-14 José Matos <jamatos@lyx.org>
496 * lyxrevert_*: removed
507 * lyx_1_4.py: Added file with the same content as the previous that
511 * parser_tools.py: reworked for better modularity.
513 2004-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
515 * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
516 * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
517 * lyxconvert_230.py (convert_float): new, add sideways flag
518 * lyxrevert_231.py (convert_float): new, remove sideways flag
519 * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
520 * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
522 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
524 * lyx2lyx: up the format to 232.
526 * lyx2lyx: up the format to 231.
528 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
530 * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
532 2004-02-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
534 * lyx2lyx: up the format to 230.
536 2004-02-04 José Matos <jamatos@lyx.org>
537 * lyxconvert_210.py: add two new transforms:
538 remove_empty_insets and remove_formula_latex
539 little fix to existing transformations.
541 2004-02-03 José Matos <jamatos@lyx.org>
543 * lyxconvert216.py: one line fix for out of range error.
545 2004-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
547 * lyxconvert2*.py: quiet encoding warning in python 2.3
548 * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
550 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
552 * lyxrevert_228.py: convert ERT status, too
553 * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
554 \\layout in convert_collapsable()
555 * lyxconvert_228.py (convert_minipage): Add status tag conversion
556 * lyxrevert_225.py: Convert vspace and frameless box insets
557 * lyxrevert_22[3-8].py: fix the 'é' in José's name
559 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
561 * lyx2lyx: up the format to 229.
562 * lyxconvert_224.py (convert_minipage): remove function...
563 * lyxconvert_228.py: ...and place it here.
564 * lyxrevert_229.py: new file (bare bones).
566 2003-12-19 Angus Leeming <leeming@lyx.org>
568 * lyxconvert_227.py (convert_collapsable):
569 * lyxrevert_228.py (convert_collapsable): a more robust method of
570 finding the collapsed status.
572 2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
574 * lyxrevert_228.py: fix box status conversion
575 * lyxconvert_227.py: ditto
577 2003-12-16 José Matos <jamatos@lyx.org>
579 * lyxrevert_228.py: fix sys import.
581 2003-12-16 José Matos <jamatos@lyx.org>
583 * lyxconvert_227.py: fix sys import.
585 2003-12-15 Angus Leeming <leeming@lyx.org>
589 * lyxrevert_228.py: convert the InsetCollapsable format between
592 2003-12-10 Angus Leeming <leeming@lyx.org>
594 * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
595 this when reverting to format 226.
597 2003-12-10 Angus Leeming <leeming@lyx.org>
599 * lyx2lyx: up the format to 227.
600 (lyxformat): squash latent bug when reporting an inability to convert
601 to the desired format.
604 * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
606 2003-12-10 Angus Leeming <leeming@lyx.org>
608 * lyx2lyx: up the format to 226.
611 * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
613 2003-12-05 José Matos <jamatos@lyx.org>
616 * parser_tools.py: quiet encoding warning in python 2.3.
618 * lyx2lyx: add logfile as an option.
620 2003-12-03 José Matos <jamatos@lyx.org>
622 * lyx2lyx: update copyright date
623 * lyxconvert_224.py (convert_breaks): add vertical space convertion.
625 2003-11-14 Kornel Benko <kornel.benko@berlin.de>
627 * lyxconvert_224.py (convert_minipage): fix convertion of minipages
630 2003-11-14 José Matos <jamatos@lyx.org>
632 * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
633 arguments when a page breake or a line were present.
635 2003-11-07 José Matos <jamatos@lyx.org>
637 * lyxconvert_224.py (convert_minipage): deal better with default
638 parameter of minipages from lyx 1.3.x
640 2003-11-06 José Matos <jamatos@lyx.org>
642 * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
643 possible upper page and line breaks, if necessary.
645 2003-10-27 José Matos <jamatos@lyx.org>
648 * lyxconvert_224.py (convert_minipage): move funtion to its right place.
649 (convert_breaks): convert line and page break, at bottom and top.