1 2005-12-01 José Matos <jamatos@lyx.org>
3 * LyX.py (choose_io): replace open and make the choice more transparent.
5 2005-11-24 José Matos <jamatos@lyx.org>
7 * lyx_1_0_0.py (obsolete_latex_title): "LaTeX Title" -> "Title"
8 * (update_tabular): update from tabular format 3 to 4 if necessary.
10 2005-11-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
12 * lyx_1_4.py (convert_frameless_box): fix file format argument of
15 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
17 * LyX.py: enlarge range to current format (245);
18 do not use \quotes_times anymore on NewFile.
19 * lyx_1_4.py (remove_quotestimes): remove param \quotes_times (bug 2090).
21 2005-09-28 José Matos <jamatos@lyx.org>
23 * LyX.py: fix relation_format reversion
25 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
27 * LyX.py: enlarge range to current format (244).
28 * lyx_1_4.py (revert_spaces): fix so that new space insets are reverted
30 * lyx_1_4.py (rename_spaces, revert_space_names): some InsetSpace types
31 had to be renamed; conversion takes place between 243<->244.
33 2005-09-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
35 * parser_tools.py (get_paragraph, get_next_paragraph): add format
36 argument and make them work with formats newer than 220
37 * lyx_1_2.py (remove_oldfloat, remove_pextra, remove_oldertinset,
38 combine_ert): adjust to the changes above
39 * lyx_1_4.py (convert_breaks, revert_breaks): better conversion of
41 * lyx_1_4.py (convert_ertbackslash, convert_ertlen, insert_ert):
42 add format argument and make it work with formats newer than 240
43 * lyx_1_4.py (convert_frameless_box): adjust to the changes above
44 * lyx_1_4.py (ert2latex): new, convert ERT code to LaTeX
45 * lyx_1_4.py (lyxsize2latexsize): new, convert LyX font size to LaTeX
47 2005-09-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
49 * LyX.py (LyX_Base): fix paragraph parameter check
50 * LyX.py (NewFile): remove paperpackage from header
52 2005-09-09 José Matos <jamatos@lyx.org>
54 * lyx_1_1_6fix3.py (update_tabular): fix vertical alignment convertion.
56 2005-08-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
58 * lyx_1_4.py (convert_vspace): rename to revert_breaks and revert
59 \lyxline and \newpage, too
61 2005-08-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
63 * lyx_1_4.py (add_to_preamble): fix invocation of find_token (bug 2004)
65 2005-08-18 José Matos <jamatos@lyx.org>
67 * lyx_1_4.py (remove_paperpackage): fix bug 2001.
69 2005-08-18 José Matos <jamatos@lyx.org>
71 * LyX.py (read, write): add preamble as data member of LyX_Base,
72 remove if from the header.
74 * lyx_0_12.py (header_update):
75 * lyx_1_1_5.py (remove_space_in_units):
76 * lyx_1_4.py (add_to_preamble, convert_frameless_box): use the new scheme.
78 * lyx_1_2.py (change_header): change name to reflect its content.
80 2005-07-29 José Matos <jamatos@lyx.org>
83 * LyX.py: add \leftindent to the list of allowed paragraph parameters.
85 2005-07-29 José Matos <jamatos@lyx.org>
87 * lyx_1_4.py (remove_paperpackage): Take into account the lines
90 2005-07-29 José Matos <jamatos@lyx.org>
92 * lyx_1_4.py: Fix a4 package removal when the preamble is already there.
94 2005-07-29 José Matos <jamatos@lyx.org>
96 * lyx_1_4.py: Fix widemarginsa4 convertion.
98 2005-07-29 José Matos <jamatos@lyx.org>
100 * lyx_1_4.py: \end_header was added in 222, not 223
102 2005-07-29 José Matos <jamatos@lyx.org>
105 * LyX.py: do not ignore format 222.
107 2005-07-22 José Matos <jamatos@lyx.org>
109 * lyx_1_4.py (convert_paperpackage, revert_paperpackage):
110 remove wrong comments
112 * LyX.py : add 1.3.6 to the releases list
114 2005-07-18 José Matos <jamatos@lyx.org>
116 * lyx_1_4.py (convert_minipage, convert_frameless_box): small
117 fixes to minipages convertions and retroversions.
119 2005-07-18 José Matos <jamatos@lyx.org>
121 * lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
123 2005-07-18 José Matos <jamatos@lyx.org>
125 * lyx_1_4.py (convert_french): convert language also in the body.
127 2005-07-15 José Matos <jamatos@lyx.org>
129 * Makefile.am: new file for correct dealing with python scripts.
130 * .cvsignore: ignore Makefile(.in) files.
132 2005-07-12 José Matos <jamatos@lyx.org>
134 * lyx_1_4.py (add_to_preamble): Make it more robust.
135 (convert_frameless_box): Fix wrong type for parameter.
136 (revert_paperpackage): Consider empty paper package case.
138 2005-07-08 José Matos <jamatos@lyx.org>
140 * lyx_0_12.py (update_tabular): Support old tables format 1.
142 2005-07-08 José Matos <jamatos@lyx.org>
144 * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
145 Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
147 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
149 * lyx_1_4.py (convert_french): change language frenchb to french
152 2005-07-07 José Matos <jamatos@lyx.org>
154 * LyX.py (read): Ignore whitelines on header. Fix reading the
157 2005-07-06 José Matos <jamatos@lyx.org>
159 * lyx_1_1_5.py (replace_protected_separator): Make it robust
160 to layout name absence.
162 2005-07-06 José Matos <jamatos@lyx.org>
164 * LyX.py (read): Add support for cases where the body begins
165 without a whiteline before.
167 2005-07-06 José Matos <jamatos@lyx.org>
169 * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
171 2005-07-06 José Matos <jamatos@lyx.org>
173 * LyX.py (warning): Prefix warnings with label "Warning: ".
174 * lyx_1_4.py (add_end_layout): Handle truncated files.
176 2005-07-06 José Matos <jamatos@lyx.org>
178 * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
179 had \paperpackage with 'default' instead of 'none'.
181 2005-07-05 José Matos <jamatos@lyx.org>
186 * lyx2lyx: Implement return codes consistently:
188 1 - Irrecoverable error.
189 2 - Recovered from error(s).
191 2005-07-05 José Matos <jamatos@lyx.org>
196 * lyx2lyx (parse_options):
197 * lyx2lyx (main): Add support for ignoring any errors during the
200 2005-07-05 José Matos <jamatos@lyx.org>
202 * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
204 2005-05-18 Angus Leeming <leeming@lyx.org>
206 * lyx2lyx (parse_options): Add the description of the '-f' option
209 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
211 * lyx_1_4.py (convert_breaks): Don't treat every token that starts
212 with '\\' as paragraph parameter
214 2005-05-06 José Matos <jamatos@lyx.org>
216 * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
219 2005-05-04 José Matos <jamatos@lyx.org>
221 * LyX.py: fix allowed parameters for paragraphs.
223 2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
225 * lyx_1_4.py (convert_breaks): fix spelling
226 * lyx_1_4.py (convert_breaks): fix copy-and-paste error
228 2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
230 * lyx_1_4.py (lyx_support_escape): new
231 * lyx_1_4.py (revert_eqref): new, convert
232 '\begin_inset LatexCommand \eqref{label}' to ERT
233 * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
235 2005-02-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
237 * lyx_1_4.py (convert_table_valignment_middle,
238 revert_valignment_middle): use regex to recognize
239 '\\begin_inset Tabular' and '\\begin_inset Tabular'
240 * lyx_1_2.py (update_tabular, update_longtables): ditto
241 * lyx_1_1_6fix3.py (update_tabular): ditto
243 2005-02-15 José Matos <jamatos@lyx.org>
245 * lyx_1_2.py (remove_pextra): fix bug 1816.
247 2005-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
249 * lyx_1_4.py (convert_ertbackslash): convert '\n', too
250 * lyx_1_4.py (convert_len): new, split from convert_ertlen
251 * lyx_1_4.py (insert_ert): new
252 * lyx_1_4.py (add_to_preamble): new
253 * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
254 and minipages with unsupported parameters
256 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
258 * LyX.py: format up to 241
259 * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
260 * lyx_1_4.py, LyX.py: handle new format 241
262 2005-01-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
264 * LyX.py: format up to 240.
265 * lyx_1_4.py (convert_output_changes, revert_output_changes): new
267 2005-01-06 José Matos <jamatos@lyx.org>
269 * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
270 to the allowed parameters list.
272 2005-01-06 José Matos <jamatos@lyx.org>
274 * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
276 * LyX.py (convert): simplify code and add running times
277 information for higher debug levels.
279 2005-01-04 José Matos <jamatos@lyx.org>
290 * lyx_1_4.py: convert and revert change from functions to lists.
293 * lyx2lyx: version -> version_lyx2lyx
295 * LyX.py (convert): put all the convertion logic here.
297 2005-01-04 José Matos <jamatos@lyx.org>
299 * LyX.py (set_format): fix typo.
310 * lyx_1_4.py: unify the call convention of convertion
311 functions. Now they all accept a file.
313 2004-12-03 José Matos <jamatos@lyx.org>
315 * LyX.py: format up to 238.
317 * lyx_0_12.py (update_latexaccents): consider the cases where the
320 2004-12-03 José Matos <jamatos@lyx.org>
322 * lyx_1_2.py (update_longtable): Update longtables to table format 3.
324 2004-12-02 José Matos <jamatos@lyx.org>
326 * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
328 2004-11-29 José Matos <jamatos@lyx.org>
330 * lyx_1_2.py (convert): rename opt to file, as in all other files.
332 2004-10-28 José Matos <jamatos@lyx.org>
334 * LyX.pm: add internal documentation.
336 2004-10-17 José Matos <jamatos@lyx.org>
338 * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
339 interface to the LyX module.
341 * LyX.py: white space changes. New class that serves as the basis
342 to two derived classes. One for reading and another for new files.
343 New function get_toc, to be used in Doc_toc.py in the
344 documentation directory.
345 New class paragraph, to read paragraphs from the lyx file.
347 2004-10-10 José Matos <jamatos@lyx.org>
349 * .cvsignore: add entries related with profiling lyx2lyx.
350 * lyx2lyx (main): place all program inside this function, to allow
351 it to be called from profiling.
352 * profiling.py: new file to profile lyx2lyx.
354 2004-10-09 José Matos <jamatos@lyx.org>
356 * LyX.py: add support for format 237, fix variables type,
357 new function formats_list().
359 * lyx2lyx: print list of available formats on request.
361 * lyx_1_4.py: add support for 237, reorganize directory functions.
363 2004-09-29 José Matos <jamatos@lyx.org>
365 * lyx_1_4.py (get_end_format): simplify index.
367 2004-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
369 * lyx_1_4.py (convert_ertbackslash): insert the new line after the
370 backslash, this did only work by accident in most cases
372 * lyx_1_4.py: unify warning messages
374 2004-08-19 José Matos <jamatos@lyx.org>
376 * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
379 2004-08-16 José Matos <jamatos@lyx.org>
381 * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
382 (convert_names, add_begin_body, strip_end_space): use the same policy
383 of lyx of not using spaces as the last character in a line that starts
384 with a command token (\xxxxx).
386 2004-08-15 José Matos <jamatos@lyx.org>
388 * lyx_1_4.py (normalize_papersize, denormalize_papersize):
389 \papersize Default -> \papersize default
390 \papersize Custom -> \papersize custom
392 2004-08-15 José Matos <jamatos@lyx.org>
394 * LyX.py: new file that gathers all the knowleadge of the LyX file
395 format. This can be used as library.
397 * parser_tools.py: moved all the functions that are not related
398 with the parser to LyX.py.
400 * lyx2lyx: is just a client of the LyX.py library.
402 * lyx_.py (convert, revert): renamed previous opt to file. Change
403 the arguments since now file contains both the header and the
406 2004-08-14 José Matos <jamatos@lyx.org>
409 * parser_tools.py: up the format to 236.
411 2004-08-05 José Matos <jamatos@lyx.org>
413 * lyx_1.4.py (remove_color_default): move
414 \color default -> \color inherit
416 2004-08-05 José Matos <jamatos@lyx.org>
418 * parser_tools.py (read_file): remove \r from line's end when present.
420 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
422 * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
423 * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
424 * lyx_1_4.py (revert, convert): handle format 235
425 * parser_tools.py: up the format to 235.
427 2004-05-12 Angus Leeming <leeming@lyx.org>
429 * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
430 to convert the code that specifies the type of the citation engine
431 (basic, natbib or jurabib).
433 * parser_tools.py: up the format to 234.
435 2004-05-11 José Matos <jamatos@lyx.org>
437 * parser_tools.py (get_backend): get the document backend.
438 * lyx2lyx (main): new member of the document structure,
439 the textclass and backend, that default to article and latex.
440 * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
442 (insert_tracking_changes): insert \tracking_changes 0, if not present
444 (convert_names, revert_names): for docbook documents transform
445 the styles FirstName and Surname into character styles.
447 2004-05-03 José Matos <jamatos@lyx.org>
449 * lyx_1_4.py (convert_graphics):
450 * lyx2lyx: introduce new member of the structure class, dir which
451 carries the directory of the converted file.
452 * lyx2lyx: move default warning level to 1.
454 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
456 * lyx_1_4.py (convert_graphics): new, convert graphics filenames
457 * lyx_1_4.py (revert, convert): handle format 233
458 * lyx2lyx: up the format to 233.
460 2004-04-19 José Matos <jamatos@lyx.orrg>
462 * parser_tools.py (chain): fix the detection of the last format for
465 2004-04-19 Martin Vermeer <martin.vermeer@hut.fi>
467 * lyx_1_4.py (convert_frameless_box): Replace instead of adding
470 2004-04-14 José Matos <jamatos@lyx.org>
474 * lyxrevert_*: removed
485 * lyx_1_4.py: Added file with the same content as the previous that
489 * parser_tools.py: reworked for better modularity.
491 2004-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
493 * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
494 * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
495 * lyxconvert_230.py (convert_float): new, add sideways flag
496 * lyxrevert_231.py (convert_float): new, remove sideways flag
497 * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
498 * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
500 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
502 * lyx2lyx: up the format to 232.
504 * lyx2lyx: up the format to 231.
506 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
508 * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
510 2004-02-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
512 * lyx2lyx: up the format to 230.
514 2004-02-04 José Matos <jamatos@lyx.org>
515 * lyxconvert_210.py: add two new transforms:
516 remove_empty_insets and remove_formula_latex
517 little fix to existing transformations.
519 2004-02-03 José Matos <jamatos@lyx.org>
521 * lyxconvert216.py: one line fix for out of range error.
523 2004-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
525 * lyxconvert2*.py: quiet encoding warning in python 2.3
526 * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
528 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
530 * lyxrevert_228.py: convert ERT status, too
531 * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
532 \\layout in convert_collapsable()
533 * lyxconvert_228.py (convert_minipage): Add status tag conversion
534 * lyxrevert_225.py: Convert vspace and frameless box insets
535 * lyxrevert_22[3-8].py: fix the 'é' in José's name
537 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
539 * lyx2lyx: up the format to 229.
540 * lyxconvert_224.py (convert_minipage): remove function...
541 * lyxconvert_228.py: ...and place it here.
542 * lyxrevert_229.py: new file (bare bones).
544 2003-12-19 Angus Leeming <leeming@lyx.org>
546 * lyxconvert_227.py (convert_collapsable):
547 * lyxrevert_228.py (convert_collapsable): a more robust method of
548 finding the collapsed status.
550 2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
552 * lyxrevert_228.py: fix box status conversion
553 * lyxconvert_227.py: ditto
555 2003-12-16 José Matos <jamatos@lyx.org>
557 * lyxrevert_228.py: fix sys import.
559 2003-12-16 José Matos <jamatos@lyx.org>
561 * lyxconvert_227.py: fix sys import.
563 2003-12-15 Angus Leeming <leeming@lyx.org>
567 * lyxrevert_228.py: convert the InsetCollapsable format between
570 2003-12-10 Angus Leeming <leeming@lyx.org>
572 * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
573 this when reverting to format 226.
575 2003-12-10 Angus Leeming <leeming@lyx.org>
577 * lyx2lyx: up the format to 227.
578 (lyxformat): squash latent bug when reporting an inability to convert
579 to the desired format.
582 * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
584 2003-12-10 Angus Leeming <leeming@lyx.org>
586 * lyx2lyx: up the format to 226.
589 * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
591 2003-12-05 José Matos <jamatos@lyx.org>
594 * parser_tools.py: quiet encoding warning in python 2.3.
596 * lyx2lyx: add logfile as an option.
598 2003-12-03 José Matos <jamatos@lyx.org>
600 * lyx2lyx: update copyright date
601 * lyxconvert_224.py (convert_breaks): add vertical space convertion.
603 2003-11-14 Kornel Benko <kornel.benko@berlin.de>
605 * lyxconvert_224.py (convert_minipage): fix convertion of minipages
608 2003-11-14 José Matos <jamatos@lyx.org>
610 * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
611 arguments when a page breake or a line were present.
613 2003-11-07 José Matos <jamatos@lyx.org>
615 * lyxconvert_224.py (convert_minipage): deal better with default
616 parameter of minipages from lyx 1.3.x
618 2003-11-06 José Matos <jamatos@lyx.org>
620 * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
621 possible upper page and line breaks, if necessary.
623 2003-10-27 José Matos <jamatos@lyx.org>
626 * lyxconvert_224.py (convert_minipage): move funtion to its right place.
627 (convert_breaks): convert line and page break, at bottom and top.