]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/ChangeLog
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / tex2lyx / ChangeLog
index 72dcf2c355e1b00a79db7e8d07249ad08ec50972..eb9ac40e53a7fba65cf3ed3e3bb3a46c843c780b 100644 (file)
@@ -1,3 +1,378 @@
+2006-03-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math.C (parse_math): Parse \tag and \tag* correctly
+
+2006-03-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_text): Handle \verb
+
+2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * Makefile.am: rename LINKED_SOURCES to LINKED_FILES.
+
+2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * preamble.C: update format to 245 (do not output \quotes_times).
+
+2005-08-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_text): Output \item in list environments that are
+       unknown to LyX (bug 1979)
+
+2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text.C (parse_text): add forgotten \` accent.
+
+2005-07-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * context.[Ch] (~Context): new, warn about ignored extra stuff
+       * context.[Ch] (operator==, operator!=): new Font comparison operators
+       * context.C (check_layout): simplify logic
+       * context.C (dump): output all members
+       * context.h (new_layout_allowed): new member variable
+       * text.C (parse_text): remove string wrapper since it can lead to
+       invalid .lyx files (begin_layout/end_layout trouble)
+       * text.C (parse_text_snippet): Make sure that we don't create invalid
+       .lyx files
+       * text.C (parse_text_snippet): New string wrapper for simple text
+       * text.C (handle_ert): Always check layout
+       * text.C (parse_environment): Don't allow font changes in unknown
+       environments
+       * text.C (parse_unknown_environment): new, needed for the above
+       * text.C (parse_environment): Only swallo spaces when we know that it
+       does not harm
+       * text.C (parse_comment): Honor context.new_layout_allowed
+       * text.C (parse_text_attributes): Make sure that we have a valid
+       layout
+       * text.C (parse_text): Honor context.new_layout_allowed
+
+2005-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * tex2lyx.C (main): allow specification of output file name
+       * tex2lyx.C (main): write to infile.lyx if no output file is given
+
+2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * Makefile.am (EXTRA_DIST): add tex2lyx.man
+
+2005-07-18  José Matos  <jamatos@fc.up.pt>
+
+       * preamble.C (end_preamble, handle_package): updated format to 243, fix bug 1382, bug 22
+
+2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * .cvsignore: add tex2lyx.1
+       * tex2lyx.C (main): dont search for syntax.default in reLyX dir
+       * test.ltx: new test file
+       * tex2lyx.man: new file
+       * Makefile.am: add man file directives
+
+2005-07-15  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_environment): handle context of unknown environments
+       correctly (fixes bug 1910)
+       * text.C (parse_environment): output the end of known environments
+       (one line disappeared from yesterdays patch)
+
+2005-07-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math.C (is_math_env): Don't hardcode known math environments anymore
+       * tex2lyx.[Ch] (known_environments, known_math_environments): new
+       * tex2lyx.C (read_command): new, split off from read_syntaxfile
+       * tex2lyx.C (read_environment): new
+       * text.C (parse_arguments): new, split off from parse_command
+       * text.C (parse_environment): handle known environments
+
+2005-07-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_text): output font changes only if needed
+       * context.C (begin_layout): output font if it is not the default one
+       * context.[Ch] (output_font_change): new, needed for the above
+
+2005-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_text): eat {} after \ss, \i and \j
+       * tex2lyx.C (tex2lyx): add diagnostic message about created files
+
+2005-05-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (fix_relative_filename): new
+       * text.C (parse_text): use fix_relative_filename for included
+       graphics and .tex files
+       * tex2lyx.[Ch] (getParentFilePath): new
+       * tex2lyx.[Ch] (tex2lyx): new overload taking the input filename and
+       output stream
+       * tex2lyx.[Ch] (main): simplify, use the above
+
+2005-05-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * tex2lyx.C (main): set correct masterFilePath for files like "subdir/file"
+
+2005-04-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_comment): Don't start a new paragraph for "%\n"
+
+2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (normalize_filename): new, split off from parse_text
+       * text.C (parse_text): Don't convert \verbatiminput files
+       * text.C (parse_text): Interpret relative file names in \include,
+       \input and \verbatiminput correctly and replace \lyxdot and \space
+       * text.C (parse_text): Recognize \input files without extension
+
+2005-03-31  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_text): Really fix \start_of_appendix output
+
+2005-03-27  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * tex2lyx.C (read_syntaxfile): Don't use racy test with IsFileReadable
+       * tex2lyx.C (tex2lyx): ditto, and don't use fs::is_writable (it
+       returns false if the file does not exist on solaris)
+
+2005-03-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_text): Fix \start_of_appendix output
+
+2005-03-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * table.C (parse_table): handle nested tables
+       * texparser.[Ch] (verbatimEnvironment): new
+
+2005-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * table.C (verbose_valign): new
+       * table.C (string2int): remove, use convert<int>() instead since the
+       default value is always 0 and this is also the default of
+       convert<int>().
+       * table.C (ci2special): new
+       * table.C (handle_colalign): handle b{}, p{} and m{} correctly
+       * table.C (handle_colalign): fix >{\raggedleft} and >{\raggedright}
+       (they were swapped)
+       * table.C (handle_colalign): handle >{\centering}
+       * table.C (handle_colalign): handle <{}, *{}, @{} and !{}
+       * table.C (fix_colalign): new
+       * table.C (handle_tabular): fix multicolumns with vertical lines
+
+2005-03-05  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (output_command_layout): Use parse_text instead of
+       parse_text_in_inset to avoid creating a new context
+       * text.C (parse_text): translate \thanks to footnote in title layouts
+
+2005-02-25  Angus Leeming  <leeming@lyx.org>
+
+       * context.h: declare as "class Font" rather than "struct Font".
+       Ditto "class Context".
+
+       * table.C: declare as "class ColInfo" rather than "struct ColInfo".
+       Ditto "class RowInfo" and "class CellInfo".
+
+       Changes to make MSVC agree to link the code.
+
+2005-02-05  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * context.C (begin_deeper, end_deeper): adjust output to LyX
+       * preamble.C (h_output_changes): new
+       * preamble.C (end_preamble): output paperfontsize without unit
+       * preamble.C (end_preamble): change file format from 237 to 241
+       * text.C (parse_environment, parse_text): adjust paragraph parameters
+       to new file format
+       * text.C (handle_ert, handle_comment): adjust newlines to new file
+       format
+
+2005-02-03  Angus Leeming  <leeming@lyx.org>
+
+       * Makefile.am: make -lz conditional on USE_COMPRESSION.
+
+2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_text): handle \includegraphics*
+       * Makefile.am: readd -lz library since gcc 3.3 needs it.
+
+2005-02-02  Angus Leeming  <leeming@lyx.org>
+
+       * Makefile.am: remove -lz library from the linker call.
+
+2005-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_text): Use '\n' and not '\\n' for a newline ;-)
+
+2005-02-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_text): Only reset font changes if not at the
+       beginning of a new layout
+
+2005-01-31  Angus Leeming  <leeming@lyx.org>
+
+       * tex2lyx.C (main): enable tex2lyx to find the top level
+       build directory when run in-place.
+
+       Also add "fs::path::default_name_check(fs::no_check);"
+
+2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * tex2lyx.C: rewrite to use boost.filesystem
+       * text.C: ditto
+
+       * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
+
+2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * Spacing (set): take double instead of float
+
+       * tex2lyx.C: convert stuff
+
+2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * Spacing.h: remove unused parameters
+
+2005-01-10  Angus Leeming  <leeming@lyx.org>
+
+       * tex2lyx.C: use support/package.h to provide the paths to the
+       various directories used by LyX.
+
+2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * text.C: tostr -> convert
+
+2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * Spacing.h: adapt dummy file to the changes in src/Spacing.h.
+
+2005-01-04  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * preamble.C (parse_preamble): handle second optional arg of
+       \newcommand etc. and add the command to the known commands (fixes
+       bug 1750)
+       * texparser.[Ch] (getFullOpt): new, like getOpt but distinguish
+       between empty arguments and no argument found
+       * tex2lyx.[Ch]: (add_known_command): new
+       * text.C (parse_text): handle \newcommand etc. (see above)
+       * text.C (parse_text): add comment about \underline
+       * text.C (getCiteArguments): use getFullOpt
+
+2004-12-15  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * table.C (ColInfo, LTRowType, RowInfo, CellInfo, verbose_align):
+       new, extended from math_gridinfo.h and tabular.h
+       * table.C (write_attribute): new, from tabular.C
+       * table.C (read_hlines): remove
+       * table.C (parse_hlines): new
+       * table.C (RowPosition): new
+       * table.C (parse_table): handle comments in hlines
+       * table.C (parse_table, handle_tabular): add longtable support
+       * table.C (handle_tabular): fix "unexpected dummy size" error message
+       * table.C (handle_tabular): fix off by one error for clines
+       * text.C (parse_environment): add longtable support
+
+2004-12-14  Angus Leeming  <leeming@lyx.org>
+
+       * tex2lyx.C (main): no longer pass pointers to os::init.
+
+2004-12-14  Angus Leeming  <leeming@lyx.org>
+
+       * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
+       to overcome bug in the MinGW port of g++ 3.4.2.
+
+2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * Makefile.am (tex2lyx_LDADD): use boost variables
+
+2004-11-27  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * table.C (handle_colalign): handle comments
+       * table.C (handle_tabular): don't crash on clines with out of range
+       columns
+
+2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * tex2lyx.C: remove format hack
+
+2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * texparser.C (getNewline): new
+       * texparser.C (tokenize): fix bug 1730 by handling MAC line endings
+       correctly
+
+2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * tex2lyx.C (formats): new, needed for libsupport.a
+
+2004-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_text): replace newlines with spaces in arguments to
+       known latex commands, fixes bug 1620
+
+2004-10-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * preamble.C (end_preamble): change file format from 236 to 237
+       * preamble.C (h_use_geometry, h_use_bibtopic, h_tracking_changes):
+       change from "0" to "false"
+
+2004-08-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * preamble.C (end_preamble): change file format from 235 to 236
+       * preamble.C (end_preamble): add \begin_document, \begin_header and
+       \begin_body tags
+       * preamble.C (h_papersize): change from "Default" to "default"
+       * tex2lyx.C (tex2lyx): add end_body tag
+
+2008-08-16  José Matos  <jamatos@lyx.org>
+
+       * context.C (begin_deeper, end_deeper):
+       * preamble.C (end_preamble):
+       * table.C (handle_tabular):
+       * text.C (end_inset, handle_ert, handle_comment):
+       (parse_text_attributes, parse_text): remove space at end of line.
+
+2004-08-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * preamble.C (split_options): new, split package options into vector
+       * preamble.C (add_package): new, add a package with options to
+       used_packages
+       * preamble.C, tex2lyx.h (used_packages): new map of used packages
+       and options
+       * preamble.C (handle_package): handle natbib and jurabib package
+       * preamble.C (handle_package): output a message for unhandled options
+       * preamble.C (parse_preamble): handle \jurabibsetup
+       * text.C (known_natbib_commands): new list of known natbib ccommands
+       * text.C (known_jurabib_commands): new list of known jurabib ccommands
+       * text.C (getCiteArguments): new, parse cite command arguments
+       * text.C (parse_text): handle natbib and jurabib citation commands
+
+2004-07-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * preamble.C (end_preamble): change file format from 228 to 235
+       * preamble.C (end_preamble): add use_bibtopic flag
+       * preamble.C (end_preamble): replace use_natbib with cite_engine
+       * preamble.C: change the paperpackage default from "default" to
+       "none". The old setting only worked by accident.
+       * tex2lyx.[Ch] (getMasterFilePath): new, needed for included graphics
+       * text.C (parse_environment): add sideways flag for float insets
+       * text.C (parse_text): add graphics file extension if necessary
+       * text.C (find_file): new helper function
+
+2004-07-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math.C (parse_math): change tex "\\cr" line ending to "\\\\"
+       * table.C (parse_table): recognize tex "\\cr" line ending
+
+2004-06-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math.C, preamble.C, tex2lyx.[Ch], text.C: const fixes
+       * context.[Ch]: new Font struct, and add it to Context
+       * text.C (parse_text): reset size after size change
+       * text.C: handle declaration form of font attribute changes (new
+       and old style)
+       * text.C (parse_text): handle \textmd, \textup and \textnormal
+       * text.C (parse_text_attributes): new
+
+2004-06-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (output_command_layout, parse_environment): fix bug 1446
+       by passing parent_context.deeper_paragraph to the child context
+
 2004-06-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
 
        * preamble.C, text.C: s/wether/whether/g
@@ -7,7 +382,7 @@
        * texparser.C (skip_spaces): handle "\n +\n" correctly
        * texparser.[Ch] (asMode): remove, since it is unused
 
-2004-05-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
+2004-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * Makefile.am (BUILT_SOURCES): move lengthcommon.C from here...
        (tex2lyx_SOURCES): ... to here
 
        * text.C (parse_text): handle vspaces like '1cm' correctly
 
-2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
+2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * text.C (parse_box): "\\" -> '\\' in calls to contains.
 
-2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
+2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * text.C: reorder the using statements.
        (translate_len): remove usage of a uninitialized variable.
        * math.C:
          preamble.C:
          table.C:
-    text.C: new files
+         text.C: new files
 
        * table.C: better table handling