1 2005-08-18 José Matos <jamatos@lyx.org>
3 * LyX.py (read, write): add preamble as data member of LyX_Base,
4 remove if from the header.
6 * lyx_0_12.py (header_update):
7 * lyx_1_1_5.py (remove_space_in_units):
8 * lyx_1_4.py (add_to_preamble, convert_frameless_box): use the new scheme.
10 * lyx_1_2.py (change_header): change name to reflect its content.
12 2005-07-29 José Matos <jamatos@lyx.org>
15 * LyX.py: add \leftindent to the list of allowed paragraph parameters.
17 2005-07-29 José Matos <jamatos@lyx.org>
19 * lyx_1_4.py (remove_paperpackage): Take into account the lines
22 2005-07-29 José Matos <jamatos@lyx.org>
24 * lyx_1_4.py: Fix a4 package removal when the preamble is already there.
26 2005-07-29 José Matos <jamatos@lyx.org>
28 * lyx_1_4.py: Fix widemarginsa4 convertion.
30 2005-07-29 José Matos <jamatos@lyx.org>
32 * lyx_1_4.py: \end_header was added in 222, not 223
34 2005-07-29 José Matos <jamatos@lyx.org>
37 * LyX.py: do not ignore format 222.
39 2005-07-22 José Matos <jamatos@lyx.org>
41 * lyx_1_4.py (convert_paperpackage, revert_paperpackage):
44 * LyX.py : add 1.3.6 to the releases list
46 2005-07-18 José Matos <jamatos@lyx.org>
48 * lyx_1_4.py (convert_minipage, convert_frameless_box): small
49 fixes to minipages convertions and retroversions.
51 2005-07-18 José Matos <jamatos@lyx.org>
53 * lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
55 2005-07-18 José Matos <jamatos@lyx.org>
57 * lyx_1_4.py (convert_french): convert language also in the body.
59 2005-07-15 José Matos <jamatos@lyx.org>
61 * Makefile.am: new file for correct dealing with python scripts.
62 * .cvsignore: ignore Makefile(.in) files.
64 2005-07-12 José Matos <jamatos@lyx.org>
66 * lyx_1_4.py (add_to_preamble): Make it more robust.
67 (convert_frameless_box): Fix wrong type for parameter.
68 (revert_paperpackage): Consider empty paper package case.
70 2005-07-08 José Matos <jamatos@lyx.org>
72 * lyx_0_12.py (update_tabular): Support old tables format 1.
74 2005-07-08 José Matos <jamatos@lyx.org>
76 * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
77 Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
79 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
81 * lyx_1_4.py (convert_french): change language frenchb to french
84 2005-07-07 José Matos <jamatos@lyx.org>
86 * LyX.py (read): Ignore whitelines on header. Fix reading the
89 2005-07-06 José Matos <jamatos@lyx.org>
91 * lyx_1_1_5.py (replace_protected_separator): Make it robust
92 to layout name absence.
94 2005-07-06 José Matos <jamatos@lyx.org>
96 * LyX.py (read): Add support for cases where the body begins
97 without a whiteline before.
99 2005-07-06 José Matos <jamatos@lyx.org>
101 * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
103 2005-07-06 José Matos <jamatos@lyx.org>
105 * LyX.py (warning): Prefix warnings with label "Warning: ".
106 * lyx_1_4.py (add_end_layout): Handle truncated files.
108 2005-07-06 José Matos <jamatos@lyx.org>
110 * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
111 had \paperpackage with 'default' instead of 'none'.
113 2005-07-05 José Matos <jamatos@lyx.org>
118 * lyx2lyx: Implement return codes consistently:
120 1 - Irrecoverable error.
121 2 - Recovered from error(s).
123 2005-07-05 José Matos <jamatos@lyx.org>
128 * lyx2lyx (parse_options):
129 * lyx2lyx (main): Add support for ignoring any errors during the
132 2005-07-05 José Matos <jamatos@lyx.org>
134 * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
136 2005-05-18 Angus Leeming <leeming@lyx.org>
138 * lyx2lyx (parse_options): Add the description of the '-f' option
141 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
143 * lyx_1_4.py (convert_breaks): Don't treat every token that starts
144 with '\\' as paragraph parameter
146 2005-05-06 José Matos <jamatos@lyx.org>
148 * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
151 2005-05-04 José Matos <jamatos@lyx.org>
153 * LyX.py: fix allowed parameters for paragraphs.
155 2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
157 * lyx_1_4.py (convert_breaks): fix spelling
158 * lyx_1_4.py (convert_breaks): fix copy-and-paste error
160 2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
162 * lyx_1_4.py (lyx_support_escape): new
163 * lyx_1_4.py (revert_eqref): new, convert
164 '\begin_inset LatexCommand \eqref{label}' to ERT
165 * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
167 2005-02-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
169 * lyx_1_4.py (convert_table_valignment_middle,
170 revert_valignment_middle): use regex to recognize
171 '\\begin_inset Tabular' and '\\begin_inset Tabular'
172 * lyx_1_2.py (update_tabular, update_longtables): ditto
173 * lyx_1_1_6fix3.py (update_tabular): ditto
175 2005-02-15 José Matos <jamatos@lyx.org>
177 * lyx_1_2.py (remove_pextra): fix bug 1816.
179 2005-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
181 * lyx_1_4.py (convert_ertbackslash): convert '\n', too
182 * lyx_1_4.py (convert_len): new, split from convert_ertlen
183 * lyx_1_4.py (insert_ert): new
184 * lyx_1_4.py (add_to_preamble): new
185 * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
186 and minipages with unsupported parameters
188 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
190 * LyX.py: format up to 241
191 * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
192 * lyx_1_4.py, LyX.py: handle new format 241
194 2005-01-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
196 * LyX.py: format up to 240.
197 * lyx_1_4.py (convert_output_changes, revert_output_changes): new
199 2005-01-06 José Matos <jamatos@lyx.org>
201 * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
202 to the allowed parameters list.
204 2005-01-06 José Matos <jamatos@lyx.org>
206 * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
208 * LyX.py (convert): simplify code and add running times
209 information for higher debug levels.
211 2005-01-04 José Matos <jamatos@lyx.org>
222 * lyx_1_4.py: convert and revert change from functions to lists.
225 * lyx2lyx: version -> version_lyx2lyx
227 * LyX.py (convert): put all the convertion logic here.
229 2005-01-04 José Matos <jamatos@lyx.org>
231 * LyX.py (set_format): fix typo.
242 * lyx_1_4.py: unify the call convention of convertion
243 functions. Now they all accept a file.
245 2004-12-03 José Matos <jamatos@lyx.org>
247 * LyX.py: format up to 238.
249 * lyx_0_12.py (update_latexaccents): consider the cases where the
252 2004-12-03 José Matos <jamatos@lyx.org>
254 * lyx_1_2.py (update_longtable): Update longtables to table format 3.
256 2004-12-02 José Matos <jamatos@lyx.org>
258 * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
260 2004-11-29 José Matos <jamatos@lyx.org>
262 * lyx_1_2.py (convert): rename opt to file, as in all other files.
264 2004-10-28 José Matos <jamatos@lyx.org>
266 * LyX.pm: add internal documentation.
268 2004-10-17 José Matos <jamatos@lyx.org>
270 * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
271 interface to the LyX module.
273 * LyX.py: white space changes. New class that serves as the basis
274 to two derived classes. One for reading and another for new files.
275 New function get_toc, to be used in Doc_toc.py in the
276 documentation directory.
277 New class paragraph, to read paragraphs from the lyx file.
279 2004-10-10 José Matos <jamatos@lyx.org>
281 * .cvsignore: add entries related with profiling lyx2lyx.
282 * lyx2lyx (main): place all program inside this function, to allow
283 it to be called from profiling.
284 * profiling.py: new file to profile lyx2lyx.
286 2004-10-09 José Matos <jamatos@lyx.org>
288 * LyX.py: add support for format 237, fix variables type,
289 new function formats_list().
291 * lyx2lyx: print list of available formats on request.
293 * lyx_1_4.py: add support for 237, reorganize directory functions.
295 2004-09-29 José Matos <jamatos@lyx.org>
297 * lyx_1_4.py (get_end_format): simplify index.
299 2004-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
301 * lyx_1_4.py (convert_ertbackslash): insert the new line after the
302 backslash, this did only work by accident in most cases
304 * lyx_1_4.py: unify warning messages
306 2004-08-19 José Matos <jamatos@lyx.org>
308 * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
311 2004-08-16 José Matos <jamatos@lyx.org>
313 * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
314 (convert_names, add_begin_body, strip_end_space): use the same policy
315 of lyx of not using spaces as the last character in a line that starts
316 with a command token (\xxxxx).
318 2004-08-15 José Matos <jamatos@lyx.org>
320 * lyx_1_4.py (normalize_papersize, denormalize_papersize):
321 \papersize Default -> \papersize default
322 \papersize Custom -> \papersize custom
324 2004-08-15 José Matos <jamatos@lyx.org>
326 * LyX.py: new file that gathers all the knowleadge of the LyX file
327 format. This can be used as library.
329 * parser_tools.py: moved all the functions that are not related
330 with the parser to LyX.py.
332 * lyx2lyx: is just a client of the LyX.py library.
334 * lyx_.py (convert, revert): renamed previous opt to file. Change
335 the arguments since now file contains both the header and the
338 2004-08-14 José Matos <jamatos@lyx.org>
341 * parser_tools.py: up the format to 236.
343 2004-08-05 José Matos <jamatos@lyx.org>
345 * lyx_1.4.py (remove_color_default): move
346 \color default -> \color inherit
348 2004-08-05 José Matos <jamatos@lyx.org>
350 * parser_tools.py (read_file): remove \r from line's end when present.
352 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
354 * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
355 * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
356 * lyx_1_4.py (revert, convert): handle format 235
357 * parser_tools.py: up the format to 235.
359 2004-05-12 Angus Leeming <leeming@lyx.org>
361 * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
362 to convert the code that specifies the type of the citation engine
363 (basic, natbib or jurabib).
365 * parser_tools.py: up the format to 234.
367 2004-05-11 José Matos <jamatos@lyx.org>
369 * parser_tools.py (get_backend): get the document backend.
370 * lyx2lyx (main): new member of the document structure,
371 the textclass and backend, that default to article and latex.
372 * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
374 (insert_tracking_changes): insert \tracking_changes 0, if not present
376 (convert_names, revert_names): for docbook documents transform
377 the styles FirstName and Surname into character styles.
379 2004-05-03 José Matos <jamatos@lyx.org>
381 * lyx_1_4.py (convert_graphics):
382 * lyx2lyx: introduce new member of the structure class, dir which
383 carries the directory of the converted file.
384 * lyx2lyx: move default warning level to 1.
386 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
388 * lyx_1_4.py (convert_graphics): new, convert graphics filenames
389 * lyx_1_4.py (revert, convert): handle format 233
390 * lyx2lyx: up the format to 233.
392 2004-04-19 José Matos <jamatos@lyx.orrg>
394 * parser_tools.py (chain): fix the detection of the last format for
397 2004-04-19 Martin Vermeer <martin.vermeer@hut.fi>
399 * lyx_1_4.py (convert_frameless_box): Replace instead of adding
402 2004-04-14 José Matos <jamatos@lyx.org>
406 * lyxrevert_*: removed
417 * lyx_1_4.py: Added file with the same content as the previous that
421 * parser_tools.py: reworked for better modularity.
423 2004-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
425 * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
426 * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
427 * lyxconvert_230.py (convert_float): new, add sideways flag
428 * lyxrevert_231.py (convert_float): new, remove sideways flag
429 * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
430 * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
432 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
434 * lyx2lyx: up the format to 232.
436 * lyx2lyx: up the format to 231.
438 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
440 * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
442 2004-02-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
444 * lyx2lyx: up the format to 230.
446 2004-02-04 José Matos <jamatos@lyx.org>
447 * lyxconvert_210.py: add two new transforms:
448 remove_empty_insets and remove_formula_latex
449 little fix to existing transformations.
451 2004-02-03 José Matos <jamatos@lyx.org>
453 * lyxconvert216.py: one line fix for out of range error.
455 2004-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
457 * lyxconvert2*.py: quiet encoding warning in python 2.3
458 * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
460 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
462 * lyxrevert_228.py: convert ERT status, too
463 * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
464 \\layout in convert_collapsable()
465 * lyxconvert_228.py (convert_minipage): Add status tag conversion
466 * lyxrevert_225.py: Convert vspace and frameless box insets
467 * lyxrevert_22[3-8].py: fix the 'é' in José's name
469 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
471 * lyx2lyx: up the format to 229.
472 * lyxconvert_224.py (convert_minipage): remove function...
473 * lyxconvert_228.py: ...and place it here.
474 * lyxrevert_229.py: new file (bare bones).
476 2003-12-19 Angus Leeming <leeming@lyx.org>
478 * lyxconvert_227.py (convert_collapsable):
479 * lyxrevert_228.py (convert_collapsable): a more robust method of
480 finding the collapsed status.
482 2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
484 * lyxrevert_228.py: fix box status conversion
485 * lyxconvert_227.py: ditto
487 2003-12-16 José Matos <jamatos@lyx.org>
489 * lyxrevert_228.py: fix sys import.
491 2003-12-16 José Matos <jamatos@lyx.org>
493 * lyxconvert_227.py: fix sys import.
495 2003-12-15 Angus Leeming <leeming@lyx.org>
499 * lyxrevert_228.py: convert the InsetCollapsable format between
502 2003-12-10 Angus Leeming <leeming@lyx.org>
504 * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
505 this when reverting to format 226.
507 2003-12-10 Angus Leeming <leeming@lyx.org>
509 * lyx2lyx: up the format to 227.
510 (lyxformat): squash latent bug when reporting an inability to convert
511 to the desired format.
514 * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
516 2003-12-10 Angus Leeming <leeming@lyx.org>
518 * lyx2lyx: up the format to 226.
521 * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
523 2003-12-05 José Matos <jamatos@lyx.org>
526 * parser_tools.py: quiet encoding warning in python 2.3.
528 * lyx2lyx: add logfile as an option.
530 2003-12-03 José Matos <jamatos@lyx.org>
532 * lyx2lyx: update copyright date
533 * lyxconvert_224.py (convert_breaks): add vertical space convertion.
535 2003-11-14 Kornel Benko <kornel.benko@berlin.de>
537 * lyxconvert_224.py (convert_minipage): fix convertion of minipages
540 2003-11-14 José Matos <jamatos@lyx.org>
542 * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
543 arguments when a page breake or a line were present.
545 2003-11-07 José Matos <jamatos@lyx.org>
547 * lyxconvert_224.py (convert_minipage): deal better with default
548 parameter of minipages from lyx 1.3.x
550 2003-11-06 José Matos <jamatos@lyx.org>
552 * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
553 possible upper page and line breaks, if necessary.
555 2003-10-27 José Matos <jamatos@lyx.org>
558 * lyxconvert_224.py (convert_minipage): move funtion to its right place.
559 (convert_breaks): convert line and page break, at bottom and top.