1 2005-08-18 José Matos <jamatos@lyx.org>
3 * lyx_1_4.py (remove_paperpackage): fix bug 2001.
5 2005-08-18 José Matos <jamatos@lyx.org>
7 * LyX.py (read, write): add preamble as data member of LyX_Base,
8 remove if from the header.
10 * lyx_0_12.py (header_update):
11 * lyx_1_1_5.py (remove_space_in_units):
12 * lyx_1_4.py (add_to_preamble, convert_frameless_box): use the new scheme.
14 * lyx_1_2.py (change_header): change name to reflect its content.
16 2005-07-29 José Matos <jamatos@lyx.org>
19 * LyX.py: add \leftindent to the list of allowed paragraph parameters.
21 2005-07-29 José Matos <jamatos@lyx.org>
23 * lyx_1_4.py (remove_paperpackage): Take into account the lines
26 2005-07-29 José Matos <jamatos@lyx.org>
28 * lyx_1_4.py: Fix a4 package removal when the preamble is already there.
30 2005-07-29 José Matos <jamatos@lyx.org>
32 * lyx_1_4.py: Fix widemarginsa4 convertion.
34 2005-07-29 José Matos <jamatos@lyx.org>
36 * lyx_1_4.py: \end_header was added in 222, not 223
38 2005-07-29 José Matos <jamatos@lyx.org>
41 * LyX.py: do not ignore format 222.
43 2005-07-22 José Matos <jamatos@lyx.org>
45 * lyx_1_4.py (convert_paperpackage, revert_paperpackage):
48 * LyX.py : add 1.3.6 to the releases list
50 2005-07-18 José Matos <jamatos@lyx.org>
52 * lyx_1_4.py (convert_minipage, convert_frameless_box): small
53 fixes to minipages convertions and retroversions.
55 2005-07-18 José Matos <jamatos@lyx.org>
57 * lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
59 2005-07-18 José Matos <jamatos@lyx.org>
61 * lyx_1_4.py (convert_french): convert language also in the body.
63 2005-07-15 José Matos <jamatos@lyx.org>
65 * Makefile.am: new file for correct dealing with python scripts.
66 * .cvsignore: ignore Makefile(.in) files.
68 2005-07-12 José Matos <jamatos@lyx.org>
70 * lyx_1_4.py (add_to_preamble): Make it more robust.
71 (convert_frameless_box): Fix wrong type for parameter.
72 (revert_paperpackage): Consider empty paper package case.
74 2005-07-08 José Matos <jamatos@lyx.org>
76 * lyx_0_12.py (update_tabular): Support old tables format 1.
78 2005-07-08 José Matos <jamatos@lyx.org>
80 * lyx_1_1_5.py (latexdel_getargs, update_ref, update_latexdel):
81 Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
83 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
85 * lyx_1_4.py (convert_french): change language frenchb to french
88 2005-07-07 José Matos <jamatos@lyx.org>
90 * LyX.py (read): Ignore whitelines on header. Fix reading the
93 2005-07-06 José Matos <jamatos@lyx.org>
95 * lyx_1_1_5.py (replace_protected_separator): Make it robust
96 to layout name absence.
98 2005-07-06 José Matos <jamatos@lyx.org>
100 * LyX.py (read): Add support for cases where the body begins
101 without a whiteline before.
103 2005-07-06 José Matos <jamatos@lyx.org>
105 * lyx_1_4.py (paperpackage): Fix empty paperpackage case.
107 2005-07-06 José Matos <jamatos@lyx.org>
109 * LyX.py (warning): Prefix warnings with label "Warning: ".
110 * lyx_1_4.py (add_end_layout): Handle truncated files.
112 2005-07-06 José Matos <jamatos@lyx.org>
114 * lyx_1_4.py (convert_paperpackage): older tex2lyx generated files
115 had \paperpackage with 'default' instead of 'none'.
117 2005-07-05 José Matos <jamatos@lyx.org>
122 * lyx2lyx: Implement return codes consistently:
124 1 - Irrecoverable error.
125 2 - Recovered from error(s).
127 2005-07-05 José Matos <jamatos@lyx.org>
132 * lyx2lyx (parse_options):
133 * lyx2lyx (main): Add support for ignoring any errors during the
136 2005-07-05 José Matos <jamatos@lyx.org>
138 * lyx_0_12.py (obsolete_latex_title): Obsolote old style.
140 2005-05-18 Angus Leeming <leeming@lyx.org>
142 * lyx2lyx (parse_options): Add the description of the '-f' option
145 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
147 * lyx_1_4.py (convert_breaks): Don't treat every token that starts
148 with '\\' as paragraph parameter
150 2005-05-06 José Matos <jamatos@lyx.org>
152 * lyx_1_4.py (convert_breaks): put all paragraph parameters into a
155 2005-05-04 José Matos <jamatos@lyx.org>
157 * LyX.py: fix allowed parameters for paragraphs.
159 2005-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
161 * lyx_1_4.py (convert_breaks): fix spelling
162 * lyx_1_4.py (convert_breaks): fix copy-and-paste error
164 2005-02-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
166 * lyx_1_4.py (lyx_support_escape): new
167 * lyx_1_4.py (revert_eqref): new, convert
168 '\begin_inset LatexCommand \eqref{label}' to ERT
169 * lyx_1_4.py (revert): call revert_eqref in step 223 -> 221
171 2005-02-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
173 * lyx_1_4.py (convert_table_valignment_middle,
174 revert_valignment_middle): use regex to recognize
175 '\\begin_inset Tabular' and '\\begin_inset Tabular'
176 * lyx_1_2.py (update_tabular, update_longtables): ditto
177 * lyx_1_1_6fix3.py (update_tabular): ditto
179 2005-02-15 José Matos <jamatos@lyx.org>
181 * lyx_1_2.py (remove_pextra): fix bug 1816.
183 2005-02-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
185 * lyx_1_4.py (convert_ertbackslash): convert '\n', too
186 * lyx_1_4.py (convert_len): new, split from convert_ertlen
187 * lyx_1_4.py (insert_ert): new
188 * lyx_1_4.py (add_to_preamble): new
189 * lyx_1_4.py (convert_frameless_box): better conversion of parboxes
190 and minipages with unsupported parameters
192 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
194 * LyX.py: format up to 241
195 * lyx_1_4.py (convert_ert_paragraphs, revert_ert_paragraphs): new
196 * lyx_1_4.py, LyX.py: handle new format 241
198 2005-01-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
200 * LyX.py: format up to 240.
201 * lyx_1_4.py (convert_output_changes, revert_output_changes): new
203 2005-01-06 José Matos <jamatos@lyx.org>
205 * lyx_1_4.py (normalize_paragraph_params): add start_of_appendix
206 to the allowed parameters list.
208 2005-01-06 José Matos <jamatos@lyx.org>
210 * lyx_1_4.py (normalize_paragraph_params): update file format to 239.
212 * LyX.py (convert): simplify code and add running times
213 information for higher debug levels.
215 2005-01-04 José Matos <jamatos@lyx.org>
226 * lyx_1_4.py: convert and revert change from functions to lists.
229 * lyx2lyx: version -> version_lyx2lyx
231 * LyX.py (convert): put all the convertion logic here.
233 2005-01-04 José Matos <jamatos@lyx.org>
235 * LyX.py (set_format): fix typo.
246 * lyx_1_4.py: unify the call convention of convertion
247 functions. Now they all accept a file.
249 2004-12-03 José Matos <jamatos@lyx.org>
251 * LyX.py: format up to 238.
253 * lyx_0_12.py (update_latexaccents): consider the cases where the
256 2004-12-03 José Matos <jamatos@lyx.org>
258 * lyx_1_2.py (update_longtable): Update longtables to table format 3.
260 2004-12-02 José Matos <jamatos@lyx.org>
262 * lyx_0_12.py (update_latexaccents): convert old style latexaccents.
264 2004-11-29 José Matos <jamatos@lyx.org>
266 * lyx_1_2.py (convert): rename opt to file, as in all other files.
268 2004-10-28 José Matos <jamatos@lyx.org>
270 * LyX.pm: add internal documentation.
272 2004-10-17 José Matos <jamatos@lyx.org>
274 * lyx2lyx: moved code to LyX module making effectively lyx2lyx and
275 interface to the LyX module.
277 * LyX.py: white space changes. New class that serves as the basis
278 to two derived classes. One for reading and another for new files.
279 New function get_toc, to be used in Doc_toc.py in the
280 documentation directory.
281 New class paragraph, to read paragraphs from the lyx file.
283 2004-10-10 José Matos <jamatos@lyx.org>
285 * .cvsignore: add entries related with profiling lyx2lyx.
286 * lyx2lyx (main): place all program inside this function, to allow
287 it to be called from profiling.
288 * profiling.py: new file to profile lyx2lyx.
290 2004-10-09 José Matos <jamatos@lyx.org>
292 * LyX.py: add support for format 237, fix variables type,
293 new function formats_list().
295 * lyx2lyx: print list of available formats on request.
297 * lyx_1_4.py: add support for 237, reorganize directory functions.
299 2004-09-29 José Matos <jamatos@lyx.org>
301 * lyx_1_4.py (get_end_format): simplify index.
303 2004-09-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
305 * lyx_1_4.py (convert_ertbackslash): insert the new line after the
306 backslash, this did only work by accident in most cases
308 * lyx_1_4.py: unify warning messages
310 2004-08-19 José Matos <jamatos@lyx.org>
312 * lyx_1_4.lyx (add_end_layout): fix \end_layout interaction with
315 2004-08-16 José Matos <jamatos@lyx.org>
317 * lyx_1_4.lyx (convert_comment, convert_breaks, convert_frameless_box):
318 (convert_names, add_begin_body, strip_end_space): use the same policy
319 of lyx of not using spaces as the last character in a line that starts
320 with a command token (\xxxxx).
322 2004-08-15 José Matos <jamatos@lyx.org>
324 * lyx_1_4.py (normalize_papersize, denormalize_papersize):
325 \papersize Default -> \papersize default
326 \papersize Custom -> \papersize custom
328 2004-08-15 José Matos <jamatos@lyx.org>
330 * LyX.py: new file that gathers all the knowleadge of the LyX file
331 format. This can be used as library.
333 * parser_tools.py: moved all the functions that are not related
334 with the parser to LyX.py.
336 * lyx2lyx: is just a client of the LyX.py library.
338 * lyx_.py (convert, revert): renamed previous opt to file. Change
339 the arguments since now file contains both the header and the
342 2004-08-14 José Matos <jamatos@lyx.org>
345 * parser_tools.py: up the format to 236.
347 2004-08-05 José Matos <jamatos@lyx.org>
349 * lyx_1.4.py (remove_color_default): move
350 \color default -> \color inherit
352 2004-08-05 José Matos <jamatos@lyx.org>
354 * parser_tools.py (read_file): remove \r from line's end when present.
356 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
358 * lyx_1_4.py (convert_paperpackage): new, convert paperpackage setting
359 * lyx_1_4.py (revert_paperpackage): new, revert paperpackage setting
360 * lyx_1_4.py (revert, convert): handle format 235
361 * parser_tools.py: up the format to 235.
363 2004-05-12 Angus Leeming <leeming@lyx.org>
365 * lyx_1_4.py (convert_cite_engine, revert_cite_engine): new functions
366 to convert the code that specifies the type of the citation engine
367 (basic, natbib or jurabib).
369 * parser_tools.py: up the format to 234.
371 2004-05-11 José Matos <jamatos@lyx.org>
373 * parser_tools.py (get_backend): get the document backend.
374 * lyx2lyx (main): new member of the document structure,
375 the textclass and backend, that default to article and latex.
376 * lyx_1_4.py (add_end_layout): fix bug of mixed \begin_deeper
378 (insert_tracking_changes): insert \tracking_changes 0, if not present
380 (convert_names, revert_names): for docbook documents transform
381 the styles FirstName and Surname into character styles.
383 2004-05-03 José Matos <jamatos@lyx.org>
385 * lyx_1_4.py (convert_graphics):
386 * lyx2lyx: introduce new member of the structure class, dir which
387 carries the directory of the converted file.
388 * lyx2lyx: move default warning level to 1.
390 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
392 * lyx_1_4.py (convert_graphics): new, convert graphics filenames
393 * lyx_1_4.py (revert, convert): handle format 233
394 * lyx2lyx: up the format to 233.
396 2004-04-19 José Matos <jamatos@lyx.orrg>
398 * parser_tools.py (chain): fix the detection of the last format for
401 2004-04-19 Martin Vermeer <martin.vermeer@hut.fi>
403 * lyx_1_4.py (convert_frameless_box): Replace instead of adding
406 2004-04-14 José Matos <jamatos@lyx.org>
410 * lyxrevert_*: removed
421 * lyx_1_4.py: Added file with the same content as the previous that
425 * parser_tools.py: reworked for better modularity.
427 2004-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
429 * lyxconvert_229.py (convert_jurabib): new, add use_jurabib flag
430 * lyxrevert_230.py (convert_jurabib): new, remove use_jurabib flag
431 * lyxconvert_230.py (convert_float): new, add sideways flag
432 * lyxrevert_231.py (convert_float): new, remove sideways flag
433 * lyxconvert_231.py (convert_bibtopic): new, add use_bibtopic flag
434 * lyxrevert_232.py (convert_bibtopic): new, remove use_bibtopic flag
436 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
438 * lyx2lyx: up the format to 232.
440 * lyx2lyx: up the format to 231.
442 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
444 * lyxrevert_225.py (convert_frameless_box): fix minipage ERT output
446 2004-02-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
448 * lyx2lyx: up the format to 230.
450 2004-02-04 José Matos <jamatos@lyx.org>
451 * lyxconvert_210.py: add two new transforms:
452 remove_empty_insets and remove_formula_latex
453 little fix to existing transformations.
455 2004-02-03 José Matos <jamatos@lyx.org>
457 * lyxconvert216.py: one line fix for out of range error.
459 2004-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
461 * lyxconvert2*.py: quiet encoding warning in python 2.3
462 * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3
464 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
466 * lyxrevert_228.py: convert ERT status, too
467 * lyxconvert_227.py: ditto, also stop at \\begin_alyout and not
468 \\layout in convert_collapsable()
469 * lyxconvert_228.py (convert_minipage): Add status tag conversion
470 * lyxrevert_225.py: Convert vspace and frameless box insets
471 * lyxrevert_22[3-8].py: fix the 'é' in José's name
473 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
475 * lyx2lyx: up the format to 229.
476 * lyxconvert_224.py (convert_minipage): remove function...
477 * lyxconvert_228.py: ...and place it here.
478 * lyxrevert_229.py: new file (bare bones).
480 2003-12-19 Angus Leeming <leeming@lyx.org>
482 * lyxconvert_227.py (convert_collapsable):
483 * lyxrevert_228.py (convert_collapsable): a more robust method of
484 finding the collapsed status.
486 2003-12-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
488 * lyxrevert_228.py: fix box status conversion
489 * lyxconvert_227.py: ditto
491 2003-12-16 José Matos <jamatos@lyx.org>
493 * lyxrevert_228.py: fix sys import.
495 2003-12-16 José Matos <jamatos@lyx.org>
497 * lyxconvert_227.py: fix sys import.
499 2003-12-15 Angus Leeming <leeming@lyx.org>
503 * lyxrevert_228.py: convert the InsetCollapsable format between
506 2003-12-10 Angus Leeming <leeming@lyx.org>
508 * lyxrevert_227.py: InsetExternal gains a 'draft' option, so remove
509 this when reverting to format 226.
511 2003-12-10 Angus Leeming <leeming@lyx.org>
513 * lyx2lyx: up the format to 227.
514 (lyxformat): squash latent bug when reporting an inability to convert
515 to the desired format.
518 * lyxrevert_227.py: convert the Box inset between formats 226 and 227.
520 2003-12-10 Angus Leeming <leeming@lyx.org>
522 * lyx2lyx: up the format to 226.
525 * lyxrevert_226.py: convert the Note inset between formats 225 and 226.
527 2003-12-05 José Matos <jamatos@lyx.org>
530 * parser_tools.py: quiet encoding warning in python 2.3.
532 * lyx2lyx: add logfile as an option.
534 2003-12-03 José Matos <jamatos@lyx.org>
536 * lyx2lyx: update copyright date
537 * lyxconvert_224.py (convert_breaks): add vertical space convertion.
539 2003-11-14 Kornel Benko <kornel.benko@berlin.de>
541 * lyxconvert_224.py (convert_minipage): fix convertion of minipages
544 2003-11-14 José Matos <jamatos@lyx.org>
546 * lyxconvert_224.py (convert_breaks): avoid removal of paragraph
547 arguments when a page breake or a line were present.
549 2003-11-07 José Matos <jamatos@lyx.org>
551 * lyxconvert_224.py (convert_minipage): deal better with default
552 parameter of minipages from lyx 1.3.x
554 2003-11-06 José Matos <jamatos@lyx.org>
556 * lyxconvert_224.py (convert_breaks): Create an empty paragraph for
557 possible upper page and line breaks, if necessary.
559 2003-10-27 José Matos <jamatos@lyx.org>
562 * lyxconvert_224.py (convert_minipage): move funtion to its right place.
563 (convert_breaks): convert line and page break, at bottom and top.