1 2005-07-18 José Matos <jamatos@lyx.org>
3 * lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
5 2005-07-18 José Matos <jamatos@lyx.org>
7 * lyx_1_4.py (convert_french): convert language also in the body.
9 2005-07-15 José Matos <jamatos@lyx.org>
11 * Makefile.am: new file for correct dealing with python scripts.
12 * .cvsignore: ignore Makefile(.in) files.
14 2005-07-12 José Matos <jamatos@lyx.org>
16 * lyx_1_4.py (add_to_preamble): Make it more robust.
17 (convert_frameless_box): Fix wrong type for parameter.
18 (revert_paperpackage): Consider empty paper package case.
20 2005-07-08 José Matos <jamatos@lyx.org>
22 * lyx_0_12.py (update_tabular): Support old tables format 1.
24 2005-07-08 José Matos <jamatos@lyx.org>
26 * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
27 Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
29 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
31 * lyx_1_4.py (convert_french): change language frenchb to french
34 2005-07-07 José Matos <jamatos@lyx.org>
36 * LyX.py (read): Ignore whitelines on header. Fix reading the
39 2005-07-06 José Matos <jamatos@lyx.org>
41 * lyx_1_1_5.py (replace_protected_separator): Make it robust
42 to layout name absence.
44 2005-07-06 José Matos <jamatos@lyx.org>
46 * LyX.py (read): Add support for cases where the body begins
47 without a whiteline before.
49 2005-07-06 José Matos <jamatos@lyx.org>
51 * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
53 2005-07-06 José Matos <jamatos@lyx.org>
55 * LyX.py (warning): Prefix warnings with label "Warning: ".
56 * lyx_1_4.py (add_end_layout): Handle truncated files.
58 2005-07-06 José Matos <jamatos@lyx.org>
60 * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
61 had \paperpackage with 'default' instead of 'none'.
63 2005-07-05 José Matos <jamatos@lyx.org>
68 * lyx2lyx: Implement return codes consistently:
70 1 - Irrecoverable error.
71 2 - Recovered from error(s).
73 2005-07-05 José Matos <jamatos@lyx.org>
78 * lyx2lyx (parse_options):
79 * lyx2lyx (main): Add support for ignoring any errors during the
82 2005-07-05 José Matos <jamatos@lyx.org>
84 * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
86 2005-05-18 Angus Leeming <leeming@lyx.org>
88 * lyx2lyx (parse_options): Add the description of the '-f' option
91 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
93 * lyx_1_4.py (convert_breaks): Don't treat every token that starts
94 with '\\' as paragraph parameter
96 2005-05-06 José Matos <jamatos@lyx.org>
98 * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
101 2005-05-04 José Matos <jamatos@lyx.org>
103 * LyX.py: fix allowed parameters for paragraphs.
105 2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
107 * lyx_1_4.py (convert_breaks): fix spelling
108 * lyx_1_4.py (convert_breaks): fix copy-and-paste error
110 2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
112 * lyx_1_4.py (lyx_support_escape): new
113 * lyx_1_4.py (revert_eqref): new, convert
114 '\begin_inset LatexCommand \eqref{label}' to ERT
115 * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
117 2005-02-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
119 * lyx_1_4.py (convert_table_valignment_middle,
120 revert_valignment_middle): use regex to recognize
121 '\\begin_inset Tabular' and '\\begin_inset Tabular'
122 * lyx_1_2.py (update_tabular, update_longtables): ditto
123 * lyx_1_1_6fix3.py (update_tabular): ditto
125 2005-02-15 José Matos <jamatos@lyx.org>
127 * lyx_1_2.py (remove_pextra): fix bug 1816.
129 2005-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
131 * lyx_1_4.py (convert_ertbackslash): convert '\n', too
132 * lyx_1_4.py (convert_len): new, split from convert_ertlen
133 * lyx_1_4.py (insert_ert): new
134 * lyx_1_4.py (add_to_preamble): new
135 * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
136 and minipages with unsupported parameters
138 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
140 * LyX.py: format up to 241
141 * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
142 * lyx_1_4.py, LyX.py: handle new format 241
144 2005-01-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
146 * LyX.py: format up to 240.
147 * lyx_1_4.py (convert_output_changes, revert_output_changes): new
149 2005-01-06 José Matos <jamatos@lyx.org>
151 * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
152 to the allowed parameters list.
154 2005-01-06 José Matos <jamatos@lyx.org>
156 * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
158 * LyX.py (convert): simplify code and add running times
159 information for higher debug levels.
161 2005-01-04 José Matos <jamatos@lyx.org>
172 * lyx_1_4.py: convert and revert change from functions to lists.
175 * lyx2lyx: version -> version_lyx2lyx
177 * LyX.py (convert): put all the convertion logic here.
179 2005-01-04 José Matos <jamatos@lyx.org>
181 * LyX.py (set_format): fix typo.
192 * lyx_1_4.py: unify the call convention of convertion
193 functions. Now they all accept a file.
195 2004-12-03 José Matos <jamatos@lyx.org>
197 * LyX.py: format up to 238.
199 * lyx_0_12.py (update_latexaccents): consider the cases where the
202 2004-12-03 José Matos <jamatos@lyx.org>
204 * lyx_1_2.py (update_longtable): Update longtables to table format 3.
206 2004-12-02 José Matos <jamatos@lyx.org>
208 * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
210 2004-11-29 José Matos <jamatos@lyx.org>
212 * lyx_1_2.py (convert): rename opt to file, as in all other files.
214 2004-10-28 José Matos <jamatos@lyx.org>
216 * LyX.pm: add internal documentation.
218 2004-10-17 José Matos <jamatos@lyx.org>
220 * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
221 interface to the LyX module.
223 * LyX.py: white space changes. New class that serves as the basis
224 to two derived classes. One for reading and another for new files.
225 New function get_toc, to be used in Doc_toc.py in the
226 documentation directory.
227 New class paragraph, to read paragraphs from the lyx file.
229 2004-10-10 José Matos <jamatos@lyx.org>
231 * .cvsignore: add entries related with profiling lyx2lyx.
232 * lyx2lyx (main): place all program inside this function, to allow
233 it to be called from profiling.
234 * profiling.py: new file to profile lyx2lyx.
236 2004-10-09 José Matos <jamatos@lyx.org>
238 * LyX.py: add support for format 237, fix variables type,
239 new function formats_list().
241 * lyx2lyx: print list of available formats on request.
243 * lyx_1_4.py: add support for 237, reorganize directory functions.
245 2004-09-29 José Matos <jamatos@lyx.org>
247 * lyx_1_4.py (get_end_format): simplify index.
249 2004-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
251 * lyx_1_4.py (convert_ertbackslash): insert the new line after the
252 backslash, this did only work by accident in most cases
254 * lyx_1_4.py: unify warning messages
256 2004-08-19 José Matos <jamatos@lyx.org>
258 * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
261 2004-08-16 José Matos <jamatos@lyx.org>
263 * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
264 (convert_names, add_begin_body, strip_end_space): use the same policy
265 of lyx of not using spaces as the last character in a line that starts
266 with a command token (\xxxxx).
268 2004-08-15 José Matos <jamatos@lyx.org>
270 * lyx_1_4.py (normalize_papersize, denormalize_papersize):
271 \papersize Default -> \papersize default
272 \papersize Custom -> \papersize custom
274 2004-08-15 José Matos <jamatos@lyx.org>
276 * LyX.py: new file that gathers all the knowleadge of the LyX file
277 format. This can be used as library.
279 * parser_tools.py: moved all the functions that are not related
280 with the parser to LyX.py.
282 * lyx2lyx: is just a client of the LyX.py library.
284 * lyx_.py (convert, revert): renamed previous opt to file. Change
285 the arguments since now file contains both the header and the
288 2004-08-14 José Matos <jamatos@lyx.org>
291 * parser_tools.py: up the format to 236.
293 2004-08-05 José Matos <jamatos@lyx.org>
295 * lyx_1.4.py (remove_color_default): move
296 \color default -> \color inherit
298 2004-08-05 José Matos <jamatos@lyx.org>
300 * parser_tools.py (read_file): remove \r from line's end when present.
302 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
304 * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
305 * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
306 * lyx_1_4.py (revert, convert): handle format 235
307 * parser_tools.py: up the format to 235.
309 2004-05-12 Angus Leeming <leeming@lyx.org>
311 * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
312 to convert the code that specifies the type of the citation engine
313 (basic, natbib or jurabib).
315 * parser_tools.py: up the format to 234.
317 2004-05-11 José Matos <jamatos@lyx.org>
319 * parser_tools.py (get_backend): get the document backend.
320 * lyx2lyx (main): new member of the document structure,
321 the textclass and backend, that default to article and latex.
322 * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
324 (insert_tracking_changes): insert \tracking_changes 0, if not present
326 (convert_names, revert_names): for docbook documents transform
327 the styles FirstName and Surname into character styles.
329 2004-05-03 José Matos <jamatos@lyx.org>
331 * lyx_1_4.py (convert_graphics):
332 * lyx2lyx: introduce new member of the structure class, dir which
333 carries the directory of the converted file.
334 * lyx2lyx: move default warning level to 1.
336 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
338 * lyx_1_4.py (convert_graphics): new, convert graphics filenames
339 * lyx_1_4.py (revert, convert): handle format 233
340 * lyx2lyx: up the format to 233.
342 2004-04-19 José Matos <jamatos@lyx.orrg>
344 * parser_tools.py (chain): fix the detection of the last format for
347 2004-04-19 Martin Vermeer <martin.vermeer@hut.fi>
349 * lyx_1_4.py (convert_frameless_box): Replace instead of adding
352 2004-04-14 José Matos <jamatos@lyx.org>
356 * lyxrevert_*: removed
367 * lyx_1_4.py: Added file with the same content as the previous that
371 * parser_tools.py: reworked for better modularity.
373 2004-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
375 * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
376 * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
377 * lyxconvert_230.py (convert_float): new, add sideways flag
378 * lyxrevert_231.py (convert_float): new, remove sideways flag
379 * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
380 * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
382 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
384 * lyx2lyx: up the format to 232.
386 * lyx2lyx: up the format to 231.
388 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
390 * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
392 2004-02-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
394 * lyx2lyx: up the format to 230.
396 2004-02-04 José Matos <jamatos@lyx.org>
397 * lyxconvert_210.py: add two new transforms:
398 remove_empty_insets and remove_formula_latex
399 little fix to existing transformations.
401 2004-02-03 José Matos <jamatos@lyx.org>
403 * lyxconvert216.py: one line fix for out of range error.
405 2004-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
407 * lyxconvert2*.py: quiet encoding warning in python 2.3
408 * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
410 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
412 * lyxrevert_228.py: convert ERT status, too
413 * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
414 \\layout in convert_collapsable()
415 * lyxconvert_228.py (convert_minipage): Add status tag conversion
416 * lyxrevert_225.py: Convert vspace and frameless box insets
417 * lyxrevert_22[3-8].py: fix the 'é' in José's name
419 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
421 * lyx2lyx: up the format to 229.
422 * lyxconvert_224.py (convert_minipage): remove function...
423 * lyxconvert_228.py: ...and place it here.
424 * lyxrevert_229.py: new file (bare bones).
426 2003-12-19 Angus Leeming <leeming@lyx.org>
428 * lyxconvert_227.py (convert_collapsable):
429 * lyxrevert_228.py (convert_collapsable): a more robust method of
430 finding the collapsed status.
432 2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
434 * lyxrevert_228.py: fix box status conversion
435 * lyxconvert_227.py: ditto
437 2003-12-16 José Matos <jamatos@lyx.org>
439 * lyxrevert_228.py: fix sys import.
441 2003-12-16 José Matos <jamatos@lyx.org>
443 * lyxconvert_227.py: fix sys import.
445 2003-12-15 Angus Leeming <leeming@lyx.org>
449 * lyxrevert_228.py: convert the InsetCollapsable format between
452 2003-12-10 Angus Leeming <leeming@lyx.org>
454 * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
455 this when reverting to format 226.
457 2003-12-10 Angus Leeming <leeming@lyx.org>
459 * lyx2lyx: up the format to 227.
460 (lyxformat): squash latent bug when reporting an inability to convert
461 to the desired format.
464 * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
466 2003-12-10 Angus Leeming <leeming@lyx.org>
468 * lyx2lyx: up the format to 226.
471 * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
473 2003-12-05 José Matos <jamatos@lyx.org>
476 * parser_tools.py: quiet encoding warning in python 2.3.
478 * lyx2lyx: add logfile as an option.
480 2003-12-03 José Matos <jamatos@lyx.org>
482 * lyx2lyx: update copyright date
483 * lyxconvert_224.py (convert_breaks): add vertical space convertion.
485 2003-11-14 Kornel Benko <kornel.benko@berlin.de>
487 * lyxconvert_224.py (convert_minipage): fix convertion of minipages
490 2003-11-14 José Matos <jamatos@lyx.org>
492 * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
493 arguments when a page breake or a line were present.
495 2003-11-07 José Matos <jamatos@lyx.org>
497 * lyxconvert_224.py (convert_minipage): deal better with default
498 parameter of minipages from lyx 1.3.x
500 2003-11-06 José Matos <jamatos@lyx.org>
502 * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
503 possible upper page and line breaks, if necessary.
505 2003-10-27 José Matos <jamatos@lyx.org>
508 * lyxconvert_224.py (convert_minipage): move funtion to its right place.
509 (convert_breaks): convert line and page break, at bottom and top.