1 2005-07-29 José Matos <jamatos@lyx.org>
3 * lyx_1_4.py: Fix a4 package removal when the preamble is already there.
5 2005-07-29 José Matos <jamatos@lyx.org>
7 * lyx_1_4.py: Fix widemarginsa4 convertion.
9 2005-07-29 José Matos <jamatos@lyx.org>
11 * lyx_1_4.py: \end_header was added in 222, not 223
13 2005-07-29 José Matos <jamatos@lyx.org>
16 * LyX.py: do not ignore format 222.
18 2005-07-22 José Matos <jamatos@lyx.org>
20 * lyx_1_4.py (convert_paperpackage, revert_paperpackage):
23 * LyX.py : add 1.3.6 to the releases list
25 2005-07-18 José Matos <jamatos@lyx.org>
27 * lyx_1_4.py (convert_minipage, convert_frameless_box): small
28 fixes to minipages convertions and retroversions.
30 2005-07-18 José Matos <jamatos@lyx.org>
32 * lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
34 2005-07-18 José Matos <jamatos@lyx.org>
36 * lyx_1_4.py (convert_french): convert language also in the body.
38 2005-07-15 José Matos <jamatos@lyx.org>
40 * Makefile.am: new file for correct dealing with python scripts.
41 * .cvsignore: ignore Makefile(.in) files.
43 2005-07-12 José Matos <jamatos@lyx.org>
45 * lyx_1_4.py (add_to_preamble): Make it more robust.
46 (convert_frameless_box): Fix wrong type for parameter.
47 (revert_paperpackage): Consider empty paper package case.
49 2005-07-08 José Matos <jamatos@lyx.org>
51 * lyx_0_12.py (update_tabular): Support old tables format 1.
53 2005-07-08 José Matos <jamatos@lyx.org>
55 * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
56 Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
58 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
60 * lyx_1_4.py (convert_french): change language frenchb to french
63 2005-07-07 José Matos <jamatos@lyx.org>
65 * LyX.py (read): Ignore whitelines on header. Fix reading the
68 2005-07-06 José Matos <jamatos@lyx.org>
70 * lyx_1_1_5.py (replace_protected_separator): Make it robust
71 to layout name absence.
73 2005-07-06 José Matos <jamatos@lyx.org>
75 * LyX.py (read): Add support for cases where the body begins
76 without a whiteline before.
78 2005-07-06 José Matos <jamatos@lyx.org>
80 * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
82 2005-07-06 José Matos <jamatos@lyx.org>
84 * LyX.py (warning): Prefix warnings with label "Warning: ".
85 * lyx_1_4.py (add_end_layout): Handle truncated files.
87 2005-07-06 José Matos <jamatos@lyx.org>
89 * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
90 had \paperpackage with 'default' instead of 'none'.
92 2005-07-05 José Matos <jamatos@lyx.org>
97 * lyx2lyx: Implement return codes consistently:
99 1 - Irrecoverable error.
100 2 - Recovered from error(s).
102 2005-07-05 José Matos <jamatos@lyx.org>
107 * lyx2lyx (parse_options):
108 * lyx2lyx (main): Add support for ignoring any errors during the
111 2005-07-05 José Matos <jamatos@lyx.org>
113 * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
115 2005-05-18 Angus Leeming <leeming@lyx.org>
117 * lyx2lyx (parse_options): Add the description of the '-f' option
120 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
122 * lyx_1_4.py (convert_breaks): Don't treat every token that starts
123 with '\\' as paragraph parameter
125 2005-05-06 José Matos <jamatos@lyx.org>
127 * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
130 2005-05-04 José Matos <jamatos@lyx.org>
132 * LyX.py: fix allowed parameters for paragraphs.
134 2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
136 * lyx_1_4.py (convert_breaks): fix spelling
137 * lyx_1_4.py (convert_breaks): fix copy-and-paste error
139 2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
141 * lyx_1_4.py (lyx_support_escape): new
142 * lyx_1_4.py (revert_eqref): new, convert
143 '\begin_inset LatexCommand \eqref{label}' to ERT
144 * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
146 2005-02-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * lyx_1_4.py (convert_table_valignment_middle,
149 revert_valignment_middle): use regex to recognize
150 '\\begin_inset Tabular' and '\\begin_inset Tabular'
151 * lyx_1_2.py (update_tabular, update_longtables): ditto
152 * lyx_1_1_6fix3.py (update_tabular): ditto
154 2005-02-15 José Matos <jamatos@lyx.org>
156 * lyx_1_2.py (remove_pextra): fix bug 1816.
158 2005-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
160 * lyx_1_4.py (convert_ertbackslash): convert '\n', too
161 * lyx_1_4.py (convert_len): new, split from convert_ertlen
162 * lyx_1_4.py (insert_ert): new
163 * lyx_1_4.py (add_to_preamble): new
164 * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
165 and minipages with unsupported parameters
167 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
169 * LyX.py: format up to 241
170 * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
171 * lyx_1_4.py, LyX.py: handle new format 241
173 2005-01-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * LyX.py: format up to 240.
176 * lyx_1_4.py (convert_output_changes, revert_output_changes): new
178 2005-01-06 José Matos <jamatos@lyx.org>
180 * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
181 to the allowed parameters list.
183 2005-01-06 José Matos <jamatos@lyx.org>
185 * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
187 * LyX.py (convert): simplify code and add running times
188 information for higher debug levels.
190 2005-01-04 José Matos <jamatos@lyx.org>
201 * lyx_1_4.py: convert and revert change from functions to lists.
204 * lyx2lyx: version -> version_lyx2lyx
206 * LyX.py (convert): put all the convertion logic here.
208 2005-01-04 José Matos <jamatos@lyx.org>
210 * LyX.py (set_format): fix typo.
221 * lyx_1_4.py: unify the call convention of convertion
222 functions. Now they all accept a file.
224 2004-12-03 José Matos <jamatos@lyx.org>
226 * LyX.py: format up to 238.
228 * lyx_0_12.py (update_latexaccents): consider the cases where the
231 2004-12-03 José Matos <jamatos@lyx.org>
233 * lyx_1_2.py (update_longtable): Update longtables to table format 3.
235 2004-12-02 José Matos <jamatos@lyx.org>
237 * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
239 2004-11-29 José Matos <jamatos@lyx.org>
241 * lyx_1_2.py (convert): rename opt to file, as in all other files.
243 2004-10-28 José Matos <jamatos@lyx.org>
245 * LyX.pm: add internal documentation.
247 2004-10-17 José Matos <jamatos@lyx.org>
249 * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
250 interface to the LyX module.
252 * LyX.py: white space changes. New class that serves as the basis
253 to two derived classes. One for reading and another for new files.
254 New function get_toc, to be used in Doc_toc.py in the
255 documentation directory.
256 New class paragraph, to read paragraphs from the lyx file.
258 2004-10-10 José Matos <jamatos@lyx.org>
260 * .cvsignore: add entries related with profiling lyx2lyx.
261 * lyx2lyx (main): place all program inside this function, to allow
262 it to be called from profiling.
263 * profiling.py: new file to profile lyx2lyx.
265 2004-10-09 José Matos <jamatos@lyx.org>
267 * LyX.py: add support for format 237, fix variables type,
268 new function formats_list().
270 * lyx2lyx: print list of available formats on request.
272 * lyx_1_4.py: add support for 237, reorganize directory functions.
274 2004-09-29 José Matos <jamatos@lyx.org>
276 * lyx_1_4.py (get_end_format): simplify index.
278 2004-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
280 * lyx_1_4.py (convert_ertbackslash): insert the new line after the
281 backslash, this did only work by accident in most cases
283 * lyx_1_4.py: unify warning messages
285 2004-08-19 José Matos <jamatos@lyx.org>
287 * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
290 2004-08-16 José Matos <jamatos@lyx.org>
292 * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
293 (convert_names, add_begin_body, strip_end_space): use the same policy
294 of lyx of not using spaces as the last character in a line that starts
295 with a command token (\xxxxx).
297 2004-08-15 José Matos <jamatos@lyx.org>
299 * lyx_1_4.py (normalize_papersize, denormalize_papersize):
300 \papersize Default -> \papersize default
301 \papersize Custom -> \papersize custom
303 2004-08-15 José Matos <jamatos@lyx.org>
305 * LyX.py: new file that gathers all the knowleadge of the LyX file
306 format. This can be used as library.
308 * parser_tools.py: moved all the functions that are not related
309 with the parser to LyX.py.
311 * lyx2lyx: is just a client of the LyX.py library.
313 * lyx_.py (convert, revert): renamed previous opt to file. Change
314 the arguments since now file contains both the header and the
317 2004-08-14 José Matos <jamatos@lyx.org>
320 * parser_tools.py: up the format to 236.
322 2004-08-05 José Matos <jamatos@lyx.org>
324 * lyx_1.4.py (remove_color_default): move
325 \color default -> \color inherit
327 2004-08-05 José Matos <jamatos@lyx.org>
329 * parser_tools.py (read_file): remove \r from line's end when present.
331 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
333 * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
334 * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
335 * lyx_1_4.py (revert, convert): handle format 235
336 * parser_tools.py: up the format to 235.
338 2004-05-12 Angus Leeming <leeming@lyx.org>
340 * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
341 to convert the code that specifies the type of the citation engine
342 (basic, natbib or jurabib).
344 * parser_tools.py: up the format to 234.
346 2004-05-11 José Matos <jamatos@lyx.org>
348 * parser_tools.py (get_backend): get the document backend.
349 * lyx2lyx (main): new member of the document structure,
350 the textclass and backend, that default to article and latex.
351 * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
353 (insert_tracking_changes): insert \tracking_changes 0, if not present
355 (convert_names, revert_names): for docbook documents transform
356 the styles FirstName and Surname into character styles.
358 2004-05-03 José Matos <jamatos@lyx.org>
360 * lyx_1_4.py (convert_graphics):
361 * lyx2lyx: introduce new member of the structure class, dir which
362 carries the directory of the converted file.
363 * lyx2lyx: move default warning level to 1.
365 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
367 * lyx_1_4.py (convert_graphics): new, convert graphics filenames
368 * lyx_1_4.py (revert, convert): handle format 233
369 * lyx2lyx: up the format to 233.
371 2004-04-19 José Matos <jamatos@lyx.orrg>
373 * parser_tools.py (chain): fix the detection of the last format for
376 2004-04-19 Martin Vermeer <martin.vermeer@hut.fi>
378 * lyx_1_4.py (convert_frameless_box): Replace instead of adding
381 2004-04-14 José Matos <jamatos@lyx.org>
385 * lyxrevert_*: removed
396 * lyx_1_4.py: Added file with the same content as the previous that
400 * parser_tools.py: reworked for better modularity.
402 2004-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
404 * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
405 * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
406 * lyxconvert_230.py (convert_float): new, add sideways flag
407 * lyxrevert_231.py (convert_float): new, remove sideways flag
408 * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
409 * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
411 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
413 * lyx2lyx: up the format to 232.
415 * lyx2lyx: up the format to 231.
417 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
419 * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
421 2004-02-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
423 * lyx2lyx: up the format to 230.
425 2004-02-04 José Matos <jamatos@lyx.org>
426 * lyxconvert_210.py: add two new transforms:
427 remove_empty_insets and remove_formula_latex
428 little fix to existing transformations.
430 2004-02-03 José Matos <jamatos@lyx.org>
432 * lyxconvert216.py: one line fix for out of range error.
434 2004-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
436 * lyxconvert2*.py: quiet encoding warning in python 2.3
437 * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
439 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
441 * lyxrevert_228.py: convert ERT status, too
442 * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
443 \\layout in convert_collapsable()
444 * lyxconvert_228.py (convert_minipage): Add status tag conversion
445 * lyxrevert_225.py: Convert vspace and frameless box insets
446 * lyxrevert_22[3-8].py: fix the 'é' in José's name
448 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
450 * lyx2lyx: up the format to 229.
451 * lyxconvert_224.py (convert_minipage): remove function...
452 * lyxconvert_228.py: ...and place it here.
453 * lyxrevert_229.py: new file (bare bones).
455 2003-12-19 Angus Leeming <leeming@lyx.org>
457 * lyxconvert_227.py (convert_collapsable):
458 * lyxrevert_228.py (convert_collapsable): a more robust method of
459 finding the collapsed status.
461 2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
463 * lyxrevert_228.py: fix box status conversion
464 * lyxconvert_227.py: ditto
466 2003-12-16 José Matos <jamatos@lyx.org>
468 * lyxrevert_228.py: fix sys import.
470 2003-12-16 José Matos <jamatos@lyx.org>
472 * lyxconvert_227.py: fix sys import.
474 2003-12-15 Angus Leeming <leeming@lyx.org>
478 * lyxrevert_228.py: convert the InsetCollapsable format between
481 2003-12-10 Angus Leeming <leeming@lyx.org>
483 * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
484 this when reverting to format 226.
486 2003-12-10 Angus Leeming <leeming@lyx.org>
488 * lyx2lyx: up the format to 227.
489 (lyxformat): squash latent bug when reporting an inability to convert
490 to the desired format.
493 * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
495 2003-12-10 Angus Leeming <leeming@lyx.org>
497 * lyx2lyx: up the format to 226.
500 * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
502 2003-12-05 José Matos <jamatos@lyx.org>
505 * parser_tools.py: quiet encoding warning in python 2.3.
507 * lyx2lyx: add logfile as an option.
509 2003-12-03 José Matos <jamatos@lyx.org>
511 * lyx2lyx: update copyright date
512 * lyxconvert_224.py (convert_breaks): add vertical space convertion.
514 2003-11-14 Kornel Benko <kornel.benko@berlin.de>
516 * lyxconvert_224.py (convert_minipage): fix convertion of minipages
519 2003-11-14 José Matos <jamatos@lyx.org>
521 * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
522 arguments when a page breake or a line were present.
524 2003-11-07 José Matos <jamatos@lyx.org>
526 * lyxconvert_224.py (convert_minipage): deal better with default
527 parameter of minipages from lyx 1.3.x
529 2003-11-06 José Matos <jamatos@lyx.org>
531 * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
532 possible upper page and line breaks, if necessary.
534 2003-10-27 José Matos <jamatos@lyx.org>
537 * lyxconvert_224.py (convert_minipage): move funtion to its right place.
538 (convert_breaks): convert line and page break, at bottom and top.