]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/ChangeLog
the convert patch
[lyx.git] / src / tex2lyx / ChangeLog
index 545f64fb7a809982501dc3293d127f4986d6deff..a38374eb21b3b4c57064e89e4613e6656e192d85 100644 (file)
@@ -1,3 +1,304 @@
+2005-01-27  Lars Gullik Bjonnes  <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 Bjonnes  <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
+       * text.C (eat_whitespace): new method
+       * texparser.C (getArg): use always curr_token().asInput()
+       * texparser.[Ch] (isParagraph): new method
+       * 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>
+
+       * Makefile.am (BUILT_SOURCES): move lengthcommon.C from here...
+       (tex2lyx_SOURCES): ... to here
+
+       * lengthcommon.C: new file
+
+2004-04-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * preamble.C: recognize \lyxdot
+       * text.C (parse_text): translate \lyxdot in graphics file names
+       * text.C (handle_ert): translate '\n' (fixes %-newline combinations
+       in \def commands)
+
+2004-03-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_text): handle vspaces like '1cm' correctly
+
+2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * text.C (parse_box): "\\" -> '\\' in calls to contains.
+
+2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * text.C: reorder the using statements.
+       (translate_len): remove usage of a uninitialized variable.
+       (isLayout): make it adaptable and constify operator()
+       (findLayout): reformat slightly and dont use the same var for
+       different things.
+
+2004-01-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C: fix status tag output for ERT inset
+
+2003-12-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * preamble.C: Change file format from 225 to 228
+       * text.C: Convert minipages and parboxes to box insets
+       * text.C: Changes for format 228 (see ../../development/FORMAT)
+       * text.C: Add lyxgreyedout environment
+       * context.[Ch]: New function Context::add_extra_stuff()
+
+2003-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C: Use the new VSpace inset (fixes a bug with added_space top)
+       * text.C: Fix \= in tabbing env again
+       * text.C: Fix invocation of parse_command()
+
+2003-11-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * tex2lyx.C:
+       * tex2lyx.h:
+       * text.C: Read a list of commands and their arguments from a reLyX
+       compatible syntax file in order to parse optional argumnts correctly.
+       * preamble.C:
+       * table.C:
+       * text.C:
+       * tex2lyx.C:
+       * texparser.C
+       * math.C: change size() to !empty() where it was used as bool
+
+2003-11-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math.C:
+       * table.C:
+       * text.C:
+       * context.[Ch]: New functions Context::set_item(),
+       Context::new_paragraph(ostream & os) and Context::atParagraphStart()
+       to make Context usage more explicit
+       * texparser.[Ch]: Rework Parser::tokenize (see comment in texparser.h)
+       * table.C:
+       * math.C:
+       * texparser.C: Don't silently drop comments
+       * texparser.C: Token::asInput() does not append a space anymore
+       * texparser.[Ch]: Renamed Parser::prev_token() to Parser::curr_token().
+       New function Parser::prev_token() returns now really the previous token
+       * Context.[Ch]:
+       * text.C: Convert known vspaces at paragraph start to \\added_space_top
+       * preamble.C: Don't put out newlines twice.
+       * text.C: Fix minipage position bug
+       * text.C: Fix \labelwidthstring bug
+       * text.C: Recognize alignment environments
+       * text.C: Fix a few cases of incorrect context usage, resulting
+       in missing or superflous \begin_layout / \end_laout lines.
+
+2003-10-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math.C:
+       * preamble.C:
+       * table.C:
+       * tex2lyx.C:
+       * tex2lyx.h:
+       * texparser.C:
+       * texparser.h:
+       * text.C:
+       - add \text{}, \intertext{} and \fbox{} support in mathmode.
+       - add support for some math environments like displaymath
+       - allow parsing of partial documents (for inclusion with \input).
+       - steal commandline switches -c and -f from reLyX to support the
+                    previous point
+       - add support for lengths with comma (4,5cm instead of 4.5cm) to
+                    minipage environments. Handle \textwidth etc. without factor
+       - rearrange active_environments.[push,pop]back() so that they are always
+              called in pairs
+       - write an error message if layout file could not be found.
+       - convert \begin{comment}...\end{comment} to comment inset
+       - handle \= correctly inside tabbing environments
+       - fix multicolumn vertical rule bug in tables
+       - add missing \includegraphics options
+       - output minipages with latex lengths as ERT, since lyx cannot handle them
+       - recognize \textsl{}
+       - remove duplicate \ldots
+       - recognize \bibliographystyle and \bibliography
+       - handle \psfrag{ps-text}[ps-pos][tex-pos]{tex-text} correctly
+       - handle environments in table cells correctly
+       - add missing -userdir and -sysdir commandline switches
+       - recognize start of appendix
+       - handle optional arg to \item as ERT in itemize environment, since LyX
+                    does not support it directly
+
+2003-10-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * Makefile.am (BUILT_SOURCES): use this instead of "linked_files"
+       and the link_files target. make the BUILT_SOURCES dependency
+       automatically link the needed files.
+
+2003-10-14  Angus Leeming  <leeming@lyx.org>
+
+       * Makefile.am: move boost.C from the linked_files section
+       to the tex2lyx_SOURCES section.
+
+       * boost.C: new file. Simpler than the version in the main lyx source.
+       No reference to the emergencyCleanup stuff.
+
+       * tex2lyx.C: remove emergencyCleanup() stuff.
+
 2003-10-08  Angus Leeming  <leeming@lyx.org>
 
        Fix doxygen warnings.