1 2005-07-15 José Matos <jamatos@lyx.org>
3 * Makefile.am: new file for correct dealing with python scripts.
4 * .cvsignore: ignore Makefile(.in) files.
6 2005-07-12 José Matos <jamatos@lyx.org>
8 * lyx_1_4.py (add_to_preamble): Make it more robust.
9 (convert_frameless_box): Fix wrong type for parameter.
10 (revert_paperpackage): Consider empty paper package case.
12 2005-07-08 José Matos <jamatos@lyx.org>
14 * lyx_0_12.py (update_tabular): Support old tables format 1.
16 2005-07-08 José Matos <jamatos@lyx.org>
18 * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
19 Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
21 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
23 * lyx_1_4.py (convert_french): change language frenchb to french
26 2005-07-07 José Matos <jamatos@lyx.org>
28 * LyX.py (read): Ignore whitelines on header. Fix reading the
31 2005-07-06 José Matos <jamatos@lyx.org>
33 * lyx_1_1_5.py (replace_protected_separator): Make it robust
34 to layout name absence.
36 2005-07-06 José Matos <jamatos@lyx.org>
38 * LyX.py (read): Add support for cases where the body begins
39 without a whiteline before.
41 2005-07-06 José Matos <jamatos@lyx.org>
43 * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
45 2005-07-06 José Matos <jamatos@lyx.org>
47 * LyX.py (warning): Prefix warnings with label "Warning: ".
48 * lyx_1_4.py (add_end_layout): Handle truncated files.
50 2005-07-06 José Matos <jamatos@lyx.org>
52 * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
53 had \paperpackage with 'default' instead of 'none'.
55 2005-07-05 José Matos <jamatos@lyx.org>
60 * lyx2lyx: Implement return codes consistently:
62 1 - Irrecoverable error.
63 2 - Recovered from error(s).
65 2005-07-05 José Matos <jamatos@lyx.org>
70 * lyx2lyx (parse_options):
71 * lyx2lyx (main): Add support for ignoring any errors during the
74 2005-07-05 José Matos <jamatos@lyx.org>
76 * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
78 2005-05-18 Angus Leeming <leeming@lyx.org>
80 * lyx2lyx (parse_options): Add the description of the '-f' option
83 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
85 * lyx_1_4.py (convert_breaks): Don't treat every token that starts
86 with '\\' as paragraph parameter
88 2005-05-06 José Matos <jamatos@lyx.org>
90 * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
93 2005-05-04 José Matos <jamatos@lyx.org>
95 * LyX.py: fix allowed parameters for paragraphs.
97 2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
99 * lyx_1_4.py (convert_breaks): fix spelling
100 * lyx_1_4.py (convert_breaks): fix copy-and-paste error
102 2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
104 * lyx_1_4.py (lyx_support_escape): new
105 * lyx_1_4.py (revert_eqref): new, convert
106 '\begin_inset LatexCommand \eqref{label}' to ERT
107 * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
109 2005-02-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
111 * lyx_1_4.py (convert_table_valignment_middle,
112 revert_valignment_middle): use regex to recognize
113 '\\begin_inset Tabular' and '\\begin_inset Tabular'
114 * lyx_1_2.py (update_tabular, update_longtables): ditto
115 * lyx_1_1_6fix3.py (update_tabular): ditto
117 2005-02-15 José Matos <jamatos@lyx.org>
119 * lyx_1_2.py (remove_pextra): fix bug 1816.
121 2005-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
123 * lyx_1_4.py (convert_ertbackslash): convert '\n', too
124 * lyx_1_4.py (convert_len): new, split from convert_ertlen
125 * lyx_1_4.py (insert_ert): new
126 * lyx_1_4.py (add_to_preamble): new
127 * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
128 and minipages with unsupported parameters
130 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
132 * LyX.py: format up to 241
133 * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
134 * lyx_1_4.py, LyX.py: handle new format 241
136 2005-01-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
138 * LyX.py: format up to 240.
139 * lyx_1_4.py (convert_output_changes, revert_output_changes): new
141 2005-01-06 José Matos <jamatos@lyx.org>
143 * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
144 to the allowed parameters list.
146 2005-01-06 José Matos <jamatos@lyx.org>
148 * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
150 * LyX.py (convert): simplify code and add running times
151 information for higher debug levels.
153 2005-01-04 José Matos <jamatos@lyx.org>
164 * lyx_1_4.py: convert and revert change from functions to lists.
167 * lyx2lyx: version -> version_lyx2lyx
169 * LyX.py (convert): put all the convertion logic here.
171 2005-01-04 José Matos <jamatos@lyx.org>
173 * LyX.py (set_format): fix typo.
184 * lyx_1_4.py: unify the call convention of convertion
185 functions. Now they all accept a file.
187 2004-12-03 José Matos <jamatos@lyx.org>
189 * LyX.py: format up to 238.
191 * lyx_0_12.py (update_latexaccents): consider the cases where the
194 2004-12-03 José Matos <jamatos@lyx.org>
196 * lyx_1_2.py (update_longtable): Update longtables to table format 3.
198 2004-12-02 José Matos <jamatos@lyx.org>
200 * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
202 2004-11-29 José Matos <jamatos@lyx.org>
204 * lyx_1_2.py (convert): rename opt to file, as in all other files.
206 2004-10-28 José Matos <jamatos@lyx.org>
208 * LyX.pm: add internal documentation.
210 2004-10-17 José Matos <jamatos@lyx.org>
212 * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
213 interface to the LyX module.
215 * LyX.py: white space changes. New class that serves as the basis
216 to two derived classes. One for reading and another for new files.
217 New function get_toc, to be used in Doc_toc.py in the
218 documentation directory.
219 New class paragraph, to read paragraphs from the lyx file.
221 2004-10-10 José Matos <jamatos@lyx.org>
223 * .cvsignore: add entries related with profiling lyx2lyx.
224 * lyx2lyx (main): place all program inside this function, to allow
225 it to be called from profiling.
226 * profiling.py: new file to profile lyx2lyx.
228 2004-10-09 José Matos <jamatos@lyx.org>
230 * LyX.py: add support for format 237, fix variables type,
231 new function formats_list().
233 * lyx2lyx: print list of available formats on request.
235 * lyx_1_4.py: add support for 237, reorganize directory functions.
237 2004-09-29 José Matos <jamatos@lyx.org>
239 * lyx_1_4.py (get_end_format): simplify index.
241 2004-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
243 * lyx_1_4.py (convert_ertbackslash): insert the new line after the
244 backslash, this did only work by accident in most cases
246 * lyx_1_4.py: unify warning messages
248 2004-08-19 José Matos <jamatos@lyx.org>
250 * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
253 2004-08-16 José Matos <jamatos@lyx.org>
255 * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
256 (convert_names, add_begin_body, strip_end_space): use the same policy
257 of lyx of not using spaces as the last character in a line that starts
258 with a command token (\xxxxx).
260 2004-08-15 José Matos <jamatos@lyx.org>
262 * lyx_1_4.py (normalize_papersize, denormalize_papersize):
263 \papersize Default -> \papersize default
264 \papersize Custom -> \papersize custom
266 2004-08-15 José Matos <jamatos@lyx.org>
268 * LyX.py: new file that gathers all the knowleadge of the LyX file
269 format. This can be used as library.
271 * parser_tools.py: moved all the functions that are not related
272 with the parser to LyX.py.
274 * lyx2lyx: is just a client of the LyX.py library.
276 * lyx_.py (convert, revert): renamed previous opt to file. Change
277 the arguments since now file contains both the header and the
280 2004-08-14 José Matos <jamatos@lyx.org>
283 * parser_tools.py: up the format to 236.
285 2004-08-05 José Matos <jamatos@lyx.org>
287 * lyx_1.4.py (remove_color_default): move
288 \color default -> \color inherit
290 2004-08-05 José Matos <jamatos@lyx.org>
292 * parser_tools.py (read_file): remove \r from line's end when present.
294 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
296 * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
297 * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
298 * lyx_1_4.py (revert, convert): handle format 235
299 * parser_tools.py: up the format to 235.
301 2004-05-12 Angus Leeming <leeming@lyx.org>
303 * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
304 to convert the code that specifies the type of the citation engine
305 (basic, natbib or jurabib).
307 * parser_tools.py: up the format to 234.
309 2004-05-11 José Matos <jamatos@lyx.org>
311 * parser_tools.py (get_backend): get the document backend.
312 * lyx2lyx (main): new member of the document structure,
313 the textclass and backend, that default to article and latex.
314 * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
316 (insert_tracking_changes): insert \tracking_changes 0, if not present
318 (convert_names, revert_names): for docbook documents transform
319 the styles FirstName and Surname into character styles.
321 2004-05-03 José Matos <jamatos@lyx.org>
323 * lyx_1_4.py (convert_graphics):
324 * lyx2lyx: introduce new member of the structure class, dir which
325 carries the directory of the converted file.
326 * lyx2lyx: move default warning level to 1.
328 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
330 * lyx_1_4.py (convert_graphics): new, convert graphics filenames
331 * lyx_1_4.py (revert, convert): handle format 233
332 * lyx2lyx: up the format to 233.
334 2004-04-19 José Matos <jamatos@lyx.orrg>
336 * parser_tools.py (chain): fix the detection of the last format for
339 2004-04-19 Martin Vermeer <martin.vermeer@hut.fi>
341 * lyx_1_4.py (convert_frameless_box): Replace instead of adding
344 2004-04-14 José Matos <jamatos@lyx.org>
348 * lyxrevert_*: removed
359 * lyx_1_4.py: Added file with the same content as the previous that
363 * parser_tools.py: reworked for better modularity.
365 2004-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
367 * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
368 * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
369 * lyxconvert_230.py (convert_float): new, add sideways flag
370 * lyxrevert_231.py (convert_float): new, remove sideways flag
371 * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
372 * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
374 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
376 * lyx2lyx: up the format to 232.
378 * lyx2lyx: up the format to 231.
380 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
382 * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
384 2004-02-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
386 * lyx2lyx: up the format to 230.
388 2004-02-04 José Matos <jamatos@lyx.org>
389 * lyxconvert_210.py: add two new transforms:
390 remove_empty_insets and remove_formula_latex
391 little fix to existing transformations.
393 2004-02-03 José Matos <jamatos@lyx.org>
395 * lyxconvert216.py: one line fix for out of range error.
397 2004-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
399 * lyxconvert2*.py: quiet encoding warning in python 2.3
400 * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
402 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
404 * lyxrevert_228.py: convert ERT status, too
405 * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
406 \\layout in convert_collapsable()
407 * lyxconvert_228.py (convert_minipage): Add status tag conversion
408 * lyxrevert_225.py: Convert vspace and frameless box insets
409 * lyxrevert_22[3-8].py: fix the 'é' in José's name
411 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
413 * lyx2lyx: up the format to 229.
414 * lyxconvert_224.py (convert_minipage): remove function...
415 * lyxconvert_228.py: ...and place it here.
416 * lyxrevert_229.py: new file (bare bones).
418 2003-12-19 Angus Leeming <leeming@lyx.org>
420 * lyxconvert_227.py (convert_collapsable):
421 * lyxrevert_228.py (convert_collapsable): a more robust method of
422 finding the collapsed status.
424 2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
426 * lyxrevert_228.py: fix box status conversion
427 * lyxconvert_227.py: ditto
429 2003-12-16 José Matos <jamatos@lyx.org>
431 * lyxrevert_228.py: fix sys import.
433 2003-12-16 José Matos <jamatos@lyx.org>
435 * lyxconvert_227.py: fix sys import.
437 2003-12-15 Angus Leeming <leeming@lyx.org>
441 * lyxrevert_228.py: convert the InsetCollapsable format between
444 2003-12-10 Angus Leeming <leeming@lyx.org>
446 * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
447 this when reverting to format 226.
449 2003-12-10 Angus Leeming <leeming@lyx.org>
451 * lyx2lyx: up the format to 227.
452 (lyxformat): squash latent bug when reporting an inability to convert
453 to the desired format.
456 * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
458 2003-12-10 Angus Leeming <leeming@lyx.org>
460 * lyx2lyx: up the format to 226.
463 * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
465 2003-12-05 José Matos <jamatos@lyx.org>
468 * parser_tools.py: quiet encoding warning in python 2.3.
470 * lyx2lyx: add logfile as an option.
472 2003-12-03 José Matos <jamatos@lyx.org>
474 * lyx2lyx: update copyright date
475 * lyxconvert_224.py (convert_breaks): add vertical space convertion.
477 2003-11-14 Kornel Benko <kornel.benko@berlin.de>
479 * lyxconvert_224.py (convert_minipage): fix convertion of minipages
482 2003-11-14 José Matos <jamatos@lyx.org>
484 * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
485 arguments when a page breake or a line were present.
487 2003-11-07 José Matos <jamatos@lyx.org>
489 * lyxconvert_224.py (convert_minipage): deal better with default
490 parameter of minipages from lyx 1.3.x
492 2003-11-06 José Matos <jamatos@lyx.org>
494 * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
495 possible upper page and line breaks, if necessary.
497 2003-10-27 José Matos <jamatos@lyx.org>
500 * lyxconvert_224.py (convert_minipage): move funtion to its right place.
501 (convert_breaks): convert line and page break, at bottom and top.