1 2005-09-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * LyX.py (LyX_Base): fix paragraph parameter check
4 * LyX.py (NewFile): remove paperpackage from header
6 2005-09-09 José Matos <jamatos@lyx.org>
8 * lyx_1_1_6fix3.py (update_tabular): fix vertical alignment convertion.
10 2005-08-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
12 * lyx_1_4.py (convert_vspace): rename to revert_breaks and revert
13 \lyxline and \newpage, too
15 2005-08-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
17 * lyx_1_4.py (add_to_preamble): fix invocation of find_token (bug 2004)
19 2005-08-18 José Matos <jamatos@lyx.org>
21 * lyx_1_4.py (remove_paperpackage): fix bug 2001.
23 2005-08-18 José Matos <jamatos@lyx.org>
25 * LyX.py (read, write): add preamble as data member of LyX_Base,
26 remove if from the header.
28 * lyx_0_12.py (header_update):
29 * lyx_1_1_5.py (remove_space_in_units):
30 * lyx_1_4.py (add_to_preamble, convert_frameless_box): use the new scheme.
32 * lyx_1_2.py (change_header): change name to reflect its content.
34 2005-07-29 José Matos <jamatos@lyx.org>
37 * LyX.py: add \leftindent to the list of allowed paragraph parameters.
39 2005-07-29 José Matos <jamatos@lyx.org>
41 * lyx_1_4.py (remove_paperpackage): Take into account the lines
44 2005-07-29 José Matos <jamatos@lyx.org>
46 * lyx_1_4.py: Fix a4 package removal when the preamble is already there.
48 2005-07-29 José Matos <jamatos@lyx.org>
50 * lyx_1_4.py: Fix widemarginsa4 convertion.
52 2005-07-29 José Matos <jamatos@lyx.org>
54 * lyx_1_4.py: \end_header was added in 222, not 223
56 2005-07-29 José Matos <jamatos@lyx.org>
59 * LyX.py: do not ignore format 222.
61 2005-07-22 José Matos <jamatos@lyx.org>
63 * lyx_1_4.py (convert_paperpackage, revert_paperpackage):
66 * LyX.py : add 1.3.6 to the releases list
68 2005-07-18 José Matos <jamatos@lyx.org>
70 * lyx_1_4.py (convert_minipage, convert_frameless_box): small
71 fixes to minipages convertions and retroversions.
73 2005-07-18 José Matos <jamatos@lyx.org>
75 * lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
77 2005-07-18 José Matos <jamatos@lyx.org>
79 * lyx_1_4.py (convert_french): convert language also in the body.
81 2005-07-15 José Matos <jamatos@lyx.org>
83 * Makefile.am: new file for correct dealing with python scripts.
84 * .cvsignore: ignore Makefile(.in) files.
86 2005-07-12 José Matos <jamatos@lyx.org>
88 * lyx_1_4.py (add_to_preamble): Make it more robust.
89 (convert_frameless_box): Fix wrong type for parameter.
90 (revert_paperpackage): Consider empty paper package case.
92 2005-07-08 José Matos <jamatos@lyx.org>
94 * lyx_0_12.py (update_tabular): Support old tables format 1.
96 2005-07-08 José Matos <jamatos@lyx.org>
98 * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
99 Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
101 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
103 * lyx_1_4.py (convert_french): change language frenchb to french
106 2005-07-07 José Matos <jamatos@lyx.org>
108 * LyX.py (read): Ignore whitelines on header. Fix reading the
111 2005-07-06 José Matos <jamatos@lyx.org>
113 * lyx_1_1_5.py (replace_protected_separator): Make it robust
114 to layout name absence.
116 2005-07-06 José Matos <jamatos@lyx.org>
118 * LyX.py (read): Add support for cases where the body begins
119 without a whiteline before.
121 2005-07-06 José Matos <jamatos@lyx.org>
123 * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
125 2005-07-06 José Matos <jamatos@lyx.org>
127 * LyX.py (warning): Prefix warnings with label "Warning: ".
128 * lyx_1_4.py (add_end_layout): Handle truncated files.
130 2005-07-06 José Matos <jamatos@lyx.org>
132 * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
133 had \paperpackage with 'default' instead of 'none'.
135 2005-07-05 José Matos <jamatos@lyx.org>
140 * lyx2lyx: Implement return codes consistently:
142 1 - Irrecoverable error.
143 2 - Recovered from error(s).
145 2005-07-05 José Matos <jamatos@lyx.org>
150 * lyx2lyx (parse_options):
151 * lyx2lyx (main): Add support for ignoring any errors during the
154 2005-07-05 José Matos <jamatos@lyx.org>
156 * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
158 2005-05-18 Angus Leeming <leeming@lyx.org>
160 * lyx2lyx (parse_options): Add the description of the '-f' option
163 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
165 * lyx_1_4.py (convert_breaks): Don't treat every token that starts
166 with '\\' as paragraph parameter
168 2005-05-06 José Matos <jamatos@lyx.org>
170 * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
173 2005-05-04 José Matos <jamatos@lyx.org>
175 * LyX.py: fix allowed parameters for paragraphs.
177 2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
179 * lyx_1_4.py (convert_breaks): fix spelling
180 * lyx_1_4.py (convert_breaks): fix copy-and-paste error
182 2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
184 * lyx_1_4.py (lyx_support_escape): new
185 * lyx_1_4.py (revert_eqref): new, convert
186 '\begin_inset LatexCommand \eqref{label}' to ERT
187 * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
189 2005-02-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
191 * lyx_1_4.py (convert_table_valignment_middle,
192 revert_valignment_middle): use regex to recognize
193 '\\begin_inset Tabular' and '\\begin_inset Tabular'
194 * lyx_1_2.py (update_tabular, update_longtables): ditto
195 * lyx_1_1_6fix3.py (update_tabular): ditto
197 2005-02-15 José Matos <jamatos@lyx.org>
199 * lyx_1_2.py (remove_pextra): fix bug 1816.
201 2005-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
203 * lyx_1_4.py (convert_ertbackslash): convert '\n', too
204 * lyx_1_4.py (convert_len): new, split from convert_ertlen
205 * lyx_1_4.py (insert_ert): new
206 * lyx_1_4.py (add_to_preamble): new
207 * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
208 and minipages with unsupported parameters
210 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
212 * LyX.py: format up to 241
213 * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
214 * lyx_1_4.py, LyX.py: handle new format 241
216 2005-01-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
218 * LyX.py: format up to 240.
219 * lyx_1_4.py (convert_output_changes, revert_output_changes): new
221 2005-01-06 José Matos <jamatos@lyx.org>
223 * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
224 to the allowed parameters list.
226 2005-01-06 José Matos <jamatos@lyx.org>
228 * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
230 * LyX.py (convert): simplify code and add running times
231 information for higher debug levels.
233 2005-01-04 José Matos <jamatos@lyx.org>
244 * lyx_1_4.py: convert and revert change from functions to lists.
247 * lyx2lyx: version -> version_lyx2lyx
249 * LyX.py (convert): put all the convertion logic here.
251 2005-01-04 José Matos <jamatos@lyx.org>
253 * LyX.py (set_format): fix typo.
264 * lyx_1_4.py: unify the call convention of convertion
265 functions. Now they all accept a file.
267 2004-12-03 José Matos <jamatos@lyx.org>
269 * LyX.py: format up to 238.
271 * lyx_0_12.py (update_latexaccents): consider the cases where the
274 2004-12-03 José Matos <jamatos@lyx.org>
276 * lyx_1_2.py (update_longtable): Update longtables to table format 3.
278 2004-12-02 José Matos <jamatos@lyx.org>
280 * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
282 2004-11-29 José Matos <jamatos@lyx.org>
284 * lyx_1_2.py (convert): rename opt to file, as in all other files.
286 2004-10-28 José Matos <jamatos@lyx.org>
288 * LyX.pm: add internal documentation.
290 2004-10-17 José Matos <jamatos@lyx.org>
292 * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
293 interface to the LyX module.
295 * LyX.py: white space changes. New class that serves as the basis
296 to two derived classes. One for reading and another for new files.
297 New function get_toc, to be used in Doc_toc.py in the
298 documentation directory.
299 New class paragraph, to read paragraphs from the lyx file.
301 2004-10-10 José Matos <jamatos@lyx.org>
303 * .cvsignore: add entries related with profiling lyx2lyx.
304 * lyx2lyx (main): place all program inside this function, to allow
305 it to be called from profiling.
306 * profiling.py: new file to profile lyx2lyx.
308 2004-10-09 José Matos <jamatos@lyx.org>
310 * LyX.py: add support for format 237, fix variables type,
311 new function formats_list().
313 * lyx2lyx: print list of available formats on request.
315 * lyx_1_4.py: add support for 237, reorganize directory functions.
317 2004-09-29 José Matos <jamatos@lyx.org>
319 * lyx_1_4.py (get_end_format): simplify index.
321 2004-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
323 * lyx_1_4.py (convert_ertbackslash): insert the new line after the
324 backslash, this did only work by accident in most cases
326 * lyx_1_4.py: unify warning messages
328 2004-08-19 José Matos <jamatos@lyx.org>
330 * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
333 2004-08-16 José Matos <jamatos@lyx.org>
335 * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
336 (convert_names, add_begin_body, strip_end_space): use the same policy
337 of lyx of not using spaces as the last character in a line that starts
338 with a command token (\xxxxx).
340 2004-08-15 José Matos <jamatos@lyx.org>
342 * lyx_1_4.py (normalize_papersize, denormalize_papersize):
343 \papersize Default -> \papersize default
344 \papersize Custom -> \papersize custom
346 2004-08-15 José Matos <jamatos@lyx.org>
348 * LyX.py: new file that gathers all the knowleadge of the LyX file
349 format. This can be used as library.
351 * parser_tools.py: moved all the functions that are not related
352 with the parser to LyX.py.
354 * lyx2lyx: is just a client of the LyX.py library.
356 * lyx_.py (convert, revert): renamed previous opt to file. Change
357 the arguments since now file contains both the header and the
360 2004-08-14 José Matos <jamatos@lyx.org>
363 * parser_tools.py: up the format to 236.
365 2004-08-05 José Matos <jamatos@lyx.org>
367 * lyx_1.4.py (remove_color_default): move
368 \color default -> \color inherit
370 2004-08-05 José Matos <jamatos@lyx.org>
372 * parser_tools.py (read_file): remove \r from line's end when present.
374 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
376 * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
377 * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
378 * lyx_1_4.py (revert, convert): handle format 235
379 * parser_tools.py: up the format to 235.
381 2004-05-12 Angus Leeming <leeming@lyx.org>
383 * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
384 to convert the code that specifies the type of the citation engine
385 (basic, natbib or jurabib).
387 * parser_tools.py: up the format to 234.
389 2004-05-11 José Matos <jamatos@lyx.org>
391 * parser_tools.py (get_backend): get the document backend.
392 * lyx2lyx (main): new member of the document structure,
393 the textclass and backend, that default to article and latex.
394 * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
396 (insert_tracking_changes): insert \tracking_changes 0, if not present
398 (convert_names, revert_names): for docbook documents transform
399 the styles FirstName and Surname into character styles.
401 2004-05-03 José Matos <jamatos@lyx.org>
403 * lyx_1_4.py (convert_graphics):
404 * lyx2lyx: introduce new member of the structure class, dir which
405 carries the directory of the converted file.
406 * lyx2lyx: move default warning level to 1.
408 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
410 * lyx_1_4.py (convert_graphics): new, convert graphics filenames
411 * lyx_1_4.py (revert, convert): handle format 233
412 * lyx2lyx: up the format to 233.
414 2004-04-19 José Matos <jamatos@lyx.orrg>
416 * parser_tools.py (chain): fix the detection of the last format for
419 2004-04-19 Martin Vermeer <martin.vermeer@hut.fi>
421 * lyx_1_4.py (convert_frameless_box): Replace instead of adding
424 2004-04-14 José Matos <jamatos@lyx.org>
428 * lyxrevert_*: removed
439 * lyx_1_4.py: Added file with the same content as the previous that
443 * parser_tools.py: reworked for better modularity.
445 2004-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
447 * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
448 * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
449 * lyxconvert_230.py (convert_float): new, add sideways flag
450 * lyxrevert_231.py (convert_float): new, remove sideways flag
451 * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
452 * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
454 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
456 * lyx2lyx: up the format to 232.
458 * lyx2lyx: up the format to 231.
460 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
462 * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
464 2004-02-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
466 * lyx2lyx: up the format to 230.
468 2004-02-04 José Matos <jamatos@lyx.org>
469 * lyxconvert_210.py: add two new transforms:
470 remove_empty_insets and remove_formula_latex
471 little fix to existing transformations.
473 2004-02-03 José Matos <jamatos@lyx.org>
475 * lyxconvert216.py: one line fix for out of range error.
477 2004-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
479 * lyxconvert2*.py: quiet encoding warning in python 2.3
480 * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
482 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
484 * lyxrevert_228.py: convert ERT status, too
485 * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
486 \\layout in convert_collapsable()
487 * lyxconvert_228.py (convert_minipage): Add status tag conversion
488 * lyxrevert_225.py: Convert vspace and frameless box insets
489 * lyxrevert_22[3-8].py: fix the 'é' in José's name
491 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
493 * lyx2lyx: up the format to 229.
494 * lyxconvert_224.py (convert_minipage): remove function...
495 * lyxconvert_228.py: ...and place it here.
496 * lyxrevert_229.py: new file (bare bones).
498 2003-12-19 Angus Leeming <leeming@lyx.org>
500 * lyxconvert_227.py (convert_collapsable):
501 * lyxrevert_228.py (convert_collapsable): a more robust method of
502 finding the collapsed status.
504 2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
506 * lyxrevert_228.py: fix box status conversion
507 * lyxconvert_227.py: ditto
509 2003-12-16 José Matos <jamatos@lyx.org>
511 * lyxrevert_228.py: fix sys import.
513 2003-12-16 José Matos <jamatos@lyx.org>
515 * lyxconvert_227.py: fix sys import.
517 2003-12-15 Angus Leeming <leeming@lyx.org>
521 * lyxrevert_228.py: convert the InsetCollapsable format between
524 2003-12-10 Angus Leeming <leeming@lyx.org>
526 * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
527 this when reverting to format 226.
529 2003-12-10 Angus Leeming <leeming@lyx.org>
531 * lyx2lyx: up the format to 227.
532 (lyxformat): squash latent bug when reporting an inability to convert
533 to the desired format.
536 * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
538 2003-12-10 Angus Leeming <leeming@lyx.org>
540 * lyx2lyx: up the format to 226.
543 * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
545 2003-12-05 José Matos <jamatos@lyx.org>
548 * parser_tools.py: quiet encoding warning in python 2.3.
550 * lyx2lyx: add logfile as an option.
552 2003-12-03 José Matos <jamatos@lyx.org>
554 * lyx2lyx: update copyright date
555 * lyxconvert_224.py (convert_breaks): add vertical space convertion.
557 2003-11-14 Kornel Benko <kornel.benko@berlin.de>
559 * lyxconvert_224.py (convert_minipage): fix convertion of minipages
562 2003-11-14 José Matos <jamatos@lyx.org>
564 * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
565 arguments when a page breake or a line were present.
567 2003-11-07 José Matos <jamatos@lyx.org>
569 * lyxconvert_224.py (convert_minipage): deal better with default
570 parameter of minipages from lyx 1.3.x
572 2003-11-06 José Matos <jamatos@lyx.org>
574 * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
575 possible upper page and line breaks, if necessary.
577 2003-10-27 José Matos <jamatos@lyx.org>
580 * lyxconvert_224.py (convert_minipage): move funtion to its right place.
581 (convert_breaks): convert line and page break, at bottom and top.