1 2005-08-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * lyx_1_4.py (convert_vspace): rename to revert_breaks and revert
4 \lyxline and \newpage, too
6 2005-08-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * lyx_1_4.py (add_to_preamble): fix invocation of find_token (bug 2004)
10 2005-08-18 José Matos <jamatos@lyx.org>
12 * lyx_1_4.py (remove_paperpackage): fix bug 2001.
14 2005-08-18 José Matos <jamatos@lyx.org>
16 * LyX.py (read, write): add preamble as data member of LyX_Base,
17 remove if from the header.
19 * lyx_0_12.py (header_update):
20 * lyx_1_1_5.py (remove_space_in_units):
21 * lyx_1_4.py (add_to_preamble, convert_frameless_box): use the new scheme.
23 * lyx_1_2.py (change_header): change name to reflect its content.
25 2005-07-29 José Matos <jamatos@lyx.org>
28 * LyX.py: add \leftindent to the list of allowed paragraph parameters.
30 2005-07-29 José Matos <jamatos@lyx.org>
32 * lyx_1_4.py (remove_paperpackage): Take into account the lines
35 2005-07-29 José Matos <jamatos@lyx.org>
37 * lyx_1_4.py: Fix a4 package removal when the preamble is already there.
39 2005-07-29 José Matos <jamatos@lyx.org>
41 * lyx_1_4.py: Fix widemarginsa4 convertion.
43 2005-07-29 José Matos <jamatos@lyx.org>
45 * lyx_1_4.py: \end_header was added in 222, not 223
47 2005-07-29 José Matos <jamatos@lyx.org>
50 * LyX.py: do not ignore format 222.
52 2005-07-22 José Matos <jamatos@lyx.org>
54 * lyx_1_4.py (convert_paperpackage, revert_paperpackage):
57 * LyX.py : add 1.3.6 to the releases list
59 2005-07-18 José Matos <jamatos@lyx.org>
61 * lyx_1_4.py (convert_minipage, convert_frameless_box): small
62 fixes to minipages convertions and retroversions.
64 2005-07-18 José Matos <jamatos@lyx.org>
66 * lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
68 2005-07-18 José Matos <jamatos@lyx.org>
70 * lyx_1_4.py (convert_french): convert language also in the body.
72 2005-07-15 José Matos <jamatos@lyx.org>
74 * Makefile.am: new file for correct dealing with python scripts.
75 * .cvsignore: ignore Makefile(.in) files.
77 2005-07-12 José Matos <jamatos@lyx.org>
79 * lyx_1_4.py (add_to_preamble): Make it more robust.
80 (convert_frameless_box): Fix wrong type for parameter.
81 (revert_paperpackage): Consider empty paper package case.
83 2005-07-08 José Matos <jamatos@lyx.org>
85 * lyx_0_12.py (update_tabular): Support old tables format 1.
87 2005-07-08 José Matos <jamatos@lyx.org>
89 * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
90 Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
92 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
94 * lyx_1_4.py (convert_french): change language frenchb to french
97 2005-07-07 José Matos <jamatos@lyx.org>
99 * LyX.py (read): Ignore whitelines on header. Fix reading the
102 2005-07-06 José Matos <jamatos@lyx.org>
104 * lyx_1_1_5.py (replace_protected_separator): Make it robust
105 to layout name absence.
107 2005-07-06 José Matos <jamatos@lyx.org>
109 * LyX.py (read): Add support for cases where the body begins
110 without a whiteline before.
112 2005-07-06 José Matos <jamatos@lyx.org>
114 * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
116 2005-07-06 José Matos <jamatos@lyx.org>
118 * LyX.py (warning): Prefix warnings with label "Warning: ".
119 * lyx_1_4.py (add_end_layout): Handle truncated files.
121 2005-07-06 José Matos <jamatos@lyx.org>
123 * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
124 had \paperpackage with 'default' instead of 'none'.
126 2005-07-05 José Matos <jamatos@lyx.org>
131 * lyx2lyx: Implement return codes consistently:
133 1 - Irrecoverable error.
134 2 - Recovered from error(s).
136 2005-07-05 José Matos <jamatos@lyx.org>
141 * lyx2lyx (parse_options):
142 * lyx2lyx (main): Add support for ignoring any errors during the
145 2005-07-05 José Matos <jamatos@lyx.org>
147 * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
149 2005-05-18 Angus Leeming <leeming@lyx.org>
151 * lyx2lyx (parse_options): Add the description of the '-f' option
154 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
156 * lyx_1_4.py (convert_breaks): Don't treat every token that starts
157 with '\\' as paragraph parameter
159 2005-05-06 José Matos <jamatos@lyx.org>
161 * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
164 2005-05-04 José Matos <jamatos@lyx.org>
166 * LyX.py: fix allowed parameters for paragraphs.
168 2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
170 * lyx_1_4.py (convert_breaks): fix spelling
171 * lyx_1_4.py (convert_breaks): fix copy-and-paste error
173 2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * lyx_1_4.py (lyx_support_escape): new
176 * lyx_1_4.py (revert_eqref): new, convert
177 '\begin_inset LatexCommand \eqref{label}' to ERT
178 * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
180 2005-02-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
182 * lyx_1_4.py (convert_table_valignment_middle,
183 revert_valignment_middle): use regex to recognize
184 '\\begin_inset Tabular' and '\\begin_inset Tabular'
185 * lyx_1_2.py (update_tabular, update_longtables): ditto
186 * lyx_1_1_6fix3.py (update_tabular): ditto
188 2005-02-15 José Matos <jamatos@lyx.org>
190 * lyx_1_2.py (remove_pextra): fix bug 1816.
192 2005-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
194 * lyx_1_4.py (convert_ertbackslash): convert '\n', too
195 * lyx_1_4.py (convert_len): new, split from convert_ertlen
196 * lyx_1_4.py (insert_ert): new
197 * lyx_1_4.py (add_to_preamble): new
198 * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
199 and minipages with unsupported parameters
201 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
203 * LyX.py: format up to 241
204 * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
205 * lyx_1_4.py, LyX.py: handle new format 241
207 2005-01-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
209 * LyX.py: format up to 240.
210 * lyx_1_4.py (convert_output_changes, revert_output_changes): new
212 2005-01-06 José Matos <jamatos@lyx.org>
214 * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
215 to the allowed parameters list.
217 2005-01-06 José Matos <jamatos@lyx.org>
219 * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
221 * LyX.py (convert): simplify code and add running times
222 information for higher debug levels.
224 2005-01-04 José Matos <jamatos@lyx.org>
235 * lyx_1_4.py: convert and revert change from functions to lists.
238 * lyx2lyx: version -> version_lyx2lyx
240 * LyX.py (convert): put all the convertion logic here.
242 2005-01-04 José Matos <jamatos@lyx.org>
244 * LyX.py (set_format): fix typo.
255 * lyx_1_4.py: unify the call convention of convertion
256 functions. Now they all accept a file.
258 2004-12-03 José Matos <jamatos@lyx.org>
260 * LyX.py: format up to 238.
262 * lyx_0_12.py (update_latexaccents): consider the cases where the
265 2004-12-03 José Matos <jamatos@lyx.org>
267 * lyx_1_2.py (update_longtable): Update longtables to table format 3.
269 2004-12-02 José Matos <jamatos@lyx.org>
271 * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
273 2004-11-29 José Matos <jamatos@lyx.org>
275 * lyx_1_2.py (convert): rename opt to file, as in all other files.
277 2004-10-28 José Matos <jamatos@lyx.org>
279 * LyX.pm: add internal documentation.
281 2004-10-17 José Matos <jamatos@lyx.org>
283 * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
284 interface to the LyX module.
286 * LyX.py: white space changes. New class that serves as the basis
287 to two derived classes. One for reading and another for new files.
288 New function get_toc, to be used in Doc_toc.py in the
289 documentation directory.
290 New class paragraph, to read paragraphs from the lyx file.
292 2004-10-10 José Matos <jamatos@lyx.org>
294 * .cvsignore: add entries related with profiling lyx2lyx.
295 * lyx2lyx (main): place all program inside this function, to allow
296 it to be called from profiling.
297 * profiling.py: new file to profile lyx2lyx.
299 2004-10-09 José Matos <jamatos@lyx.org>
301 * LyX.py: add support for format 237, fix variables type,
302 new function formats_list().
304 * lyx2lyx: print list of available formats on request.
306 * lyx_1_4.py: add support for 237, reorganize directory functions.
308 2004-09-29 José Matos <jamatos@lyx.org>
310 * lyx_1_4.py (get_end_format): simplify index.
312 2004-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
314 * lyx_1_4.py (convert_ertbackslash): insert the new line after the
315 backslash, this did only work by accident in most cases
317 * lyx_1_4.py: unify warning messages
319 2004-08-19 José Matos <jamatos@lyx.org>
321 * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
324 2004-08-16 José Matos <jamatos@lyx.org>
326 * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
327 (convert_names, add_begin_body, strip_end_space): use the same policy
328 of lyx of not using spaces as the last character in a line that starts
329 with a command token (\xxxxx).
331 2004-08-15 José Matos <jamatos@lyx.org>
333 * lyx_1_4.py (normalize_papersize, denormalize_papersize):
334 \papersize Default -> \papersize default
335 \papersize Custom -> \papersize custom
337 2004-08-15 José Matos <jamatos@lyx.org>
339 * LyX.py: new file that gathers all the knowleadge of the LyX file
340 format. This can be used as library.
342 * parser_tools.py: moved all the functions that are not related
343 with the parser to LyX.py.
345 * lyx2lyx: is just a client of the LyX.py library.
347 * lyx_.py (convert, revert): renamed previous opt to file. Change
348 the arguments since now file contains both the header and the
351 2004-08-14 José Matos <jamatos@lyx.org>
354 * parser_tools.py: up the format to 236.
356 2004-08-05 José Matos <jamatos@lyx.org>
358 * lyx_1.4.py (remove_color_default): move
359 \color default -> \color inherit
361 2004-08-05 José Matos <jamatos@lyx.org>
363 * parser_tools.py (read_file): remove \r from line's end when present.
365 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
367 * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
368 * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
369 * lyx_1_4.py (revert, convert): handle format 235
370 * parser_tools.py: up the format to 235.
372 2004-05-12 Angus Leeming <leeming@lyx.org>
374 * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
375 to convert the code that specifies the type of the citation engine
376 (basic, natbib or jurabib).
378 * parser_tools.py: up the format to 234.
380 2004-05-11 José Matos <jamatos@lyx.org>
382 * parser_tools.py (get_backend): get the document backend.
383 * lyx2lyx (main): new member of the document structure,
384 the textclass and backend, that default to article and latex.
385 * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
387 (insert_tracking_changes): insert \tracking_changes 0, if not present
389 (convert_names, revert_names): for docbook documents transform
390 the styles FirstName and Surname into character styles.
392 2004-05-03 José Matos <jamatos@lyx.org>
394 * lyx_1_4.py (convert_graphics):
395 * lyx2lyx: introduce new member of the structure class, dir which
396 carries the directory of the converted file.
397 * lyx2lyx: move default warning level to 1.
399 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
401 * lyx_1_4.py (convert_graphics): new, convert graphics filenames
402 * lyx_1_4.py (revert, convert): handle format 233
403 * lyx2lyx: up the format to 233.
405 2004-04-19 José Matos <jamatos@lyx.orrg>
407 * parser_tools.py (chain): fix the detection of the last format for
410 2004-04-19 Martin Vermeer <martin.vermeer@hut.fi>
412 * lyx_1_4.py (convert_frameless_box): Replace instead of adding
415 2004-04-14 José Matos <jamatos@lyx.org>
419 * lyxrevert_*: removed
430 * lyx_1_4.py: Added file with the same content as the previous that
434 * parser_tools.py: reworked for better modularity.
436 2004-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
438 * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
439 * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
440 * lyxconvert_230.py (convert_float): new, add sideways flag
441 * lyxrevert_231.py (convert_float): new, remove sideways flag
442 * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
443 * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
445 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
447 * lyx2lyx: up the format to 232.
449 * lyx2lyx: up the format to 231.
451 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
453 * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
455 2004-02-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
457 * lyx2lyx: up the format to 230.
459 2004-02-04 José Matos <jamatos@lyx.org>
460 * lyxconvert_210.py: add two new transforms:
461 remove_empty_insets and remove_formula_latex
462 little fix to existing transformations.
464 2004-02-03 José Matos <jamatos@lyx.org>
466 * lyxconvert216.py: one line fix for out of range error.
468 2004-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
470 * lyxconvert2*.py: quiet encoding warning in python 2.3
471 * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
473 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
475 * lyxrevert_228.py: convert ERT status, too
476 * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
477 \\layout in convert_collapsable()
478 * lyxconvert_228.py (convert_minipage): Add status tag conversion
479 * lyxrevert_225.py: Convert vspace and frameless box insets
480 * lyxrevert_22[3-8].py: fix the 'é' in José's name
482 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
484 * lyx2lyx: up the format to 229.
485 * lyxconvert_224.py (convert_minipage): remove function...
486 * lyxconvert_228.py: ...and place it here.
487 * lyxrevert_229.py: new file (bare bones).
489 2003-12-19 Angus Leeming <leeming@lyx.org>
491 * lyxconvert_227.py (convert_collapsable):
492 * lyxrevert_228.py (convert_collapsable): a more robust method of
493 finding the collapsed status.
495 2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
497 * lyxrevert_228.py: fix box status conversion
498 * lyxconvert_227.py: ditto
500 2003-12-16 José Matos <jamatos@lyx.org>
502 * lyxrevert_228.py: fix sys import.
504 2003-12-16 José Matos <jamatos@lyx.org>
506 * lyxconvert_227.py: fix sys import.
508 2003-12-15 Angus Leeming <leeming@lyx.org>
512 * lyxrevert_228.py: convert the InsetCollapsable format between
515 2003-12-10 Angus Leeming <leeming@lyx.org>
517 * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
518 this when reverting to format 226.
520 2003-12-10 Angus Leeming <leeming@lyx.org>
522 * lyx2lyx: up the format to 227.
523 (lyxformat): squash latent bug when reporting an inability to convert
524 to the desired format.
527 * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
529 2003-12-10 Angus Leeming <leeming@lyx.org>
531 * lyx2lyx: up the format to 226.
534 * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
536 2003-12-05 José Matos <jamatos@lyx.org>
539 * parser_tools.py: quiet encoding warning in python 2.3.
541 * lyx2lyx: add logfile as an option.
543 2003-12-03 José Matos <jamatos@lyx.org>
545 * lyx2lyx: update copyright date
546 * lyxconvert_224.py (convert_breaks): add vertical space convertion.
548 2003-11-14 Kornel Benko <kornel.benko@berlin.de>
550 * lyxconvert_224.py (convert_minipage): fix convertion of minipages
553 2003-11-14 José Matos <jamatos@lyx.org>
555 * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
556 arguments when a page breake or a line were present.
558 2003-11-07 José Matos <jamatos@lyx.org>
560 * lyxconvert_224.py (convert_minipage): deal better with default
561 parameter of minipages from lyx 1.3.x
563 2003-11-06 José Matos <jamatos@lyx.org>
565 * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
566 possible upper page and line breaks, if necessary.
568 2003-10-27 José Matos <jamatos@lyx.org>
571 * lyxconvert_224.py (convert_minipage): move funtion to its right place.
572 (convert_breaks): convert line and page break, at bottom and top.