1 2003-10-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
11 - add \text{}, \intertext{} and \fbox{} support in mathmode.
12 - add support for some math environments like displaymath
13 - allow parsing of partial documents (for inclusion with \input).
14 - steal commandline switches -c and -f from reLyX to support the
16 - add support for lengths with comma (4,5cm instead of 4.5cm) to
17 minipage environments. Handle \textwidth etc. without factor
18 - rearrange active_environments.[push,pop]back() so that they are always
20 - write an error message if layout file could not be found.
21 - convert \begin{comment}...\end{comment} to comment inset
22 - handle \= correctly inside tabbing environments
23 - fix multicolumn vertical rule bug in tables
24 - add missing \includegraphics options
25 - output minipages with latex lengths as ERT, since lyx cannot handle them
27 - remove duplicate \ldots
28 - recognize \bibliographystyle and \bibliography
29 - handle \psfrag{ps-text}[ps-pos][tex-pos]{tex-text} correctly
30 - handle environments in table cells correctly
31 - add missing -userdir and -sysdir commandline switches
32 - recognize start of appendix
33 - handle optional arg to \item as ERT in itemize environment, since LyX
34 does not support it directly
38 2003-10-18 Lars Gullik Bjønnes <larsbj@gullik.net>
40 * Makefile.am (BUILT_SOURCES): use this instead of "linked_files"
41 and the link_files target. make the BUILT_SOURCES dependency
42 automatically link the needed files.
44 2003-10-14 Angus Leeming <leeming@lyx.org>
46 * Makefile.am: move boost.C from the linked_files section
47 to the tex2lyx_SOURCES section.
49 * boost.C: new file. Simpler than the version in the main lyx source.
50 No reference to the emergencyCleanup stuff.
52 * tex2lyx.C: remove emergencyCleanup() stuff.
54 2003-10-08 Angus Leeming <leeming@lyx.org>
58 * Spacing.h: \file Spacing.h -> \file tex2lyx/Spacing.h
59 * gettext.C: \file gettext.C -> \file tex2lyx/gettext.C
60 * gettext.h: \file gettext.h -> \file tex2lyx/gettext.h
61 * lyxfont.C: \file lyxfont.C -> \file tex2lyx/lyxfont.C
62 * lyxfont.h: \file lyxfont.h -> \file tex2lyx/lyxfont.h
63 * text.C: \file text.C -> \file tex2lyx/text.C
65 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
67 * tex2lyx.C: adjust for new debugstream.
69 2003-09-08 Angus Leeming <leeming@lyx.org>
75 * texparser.C: remove redundant using directives.
77 2003-08-19 Angus Leeming <leeming@lyx.org>
79 * most files: add 'standard conformant' header blurb.
80 Also add Jean-Marc as an author where appropriate.
82 2003-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * Makefile.am (EXTRA_DIST):
85 * test-insets.tex: new file. Describes the insets and special
86 characters that tex2lyx handles.
88 * text.C (parse_text): support \vref, \vpageref (only one optional
89 argument), \prettyref; add support for include inset; when \\ has
90 optional arguments, use ERT; support also \listoffigures,
91 \listoftables, and \listof{xxx} for existing float types;
92 translate lenghts properly for graphics inset.
93 (parse_environment): add support for minipages
95 * text.C (translate_len): A simple function to translate a latex
96 length to something lyx can understand. Not perfect, but rather
99 2003-08-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * text.C (parse_text): special handling for \item and \bibitem
104 * context.C (begin_layout, end_layout, begin_deeper, end_deeper):
105 tiny helper functions
107 (check_end_deeper): add special handling for the case of a normal
108 paragraph inside a list-like environment.
110 * test-structure.tex: add more stuff there
112 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
114 * context.h: compile fix
116 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
118 * text.C: some tweaks to make nesting work. What still does not
119 work is nesting a standard paragraph in a list.
121 * test-structure.tex: update a bit
123 * context.C (check_deeper, check_end_deeper): new methods to
124 handle the *_deeper stuff
126 * preamble.C (end_preamble): small tweaks
128 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
130 * text.C: update to use Context struct, and more notably:
131 (cap, check_layout, check_end_layout): remove
132 (parse_text_snippet): new thin wrapper around parse_text, used for
133 things like \textrm{...}
134 (parse_environment): remove existing depth handling code, which is
135 handled transparently by the Context struct; make unknown
136 environments work (again?) through ERT
138 * test-structure.tex: new test file, used to try out various
143 * table.C: update to use Context struct
145 * context.[Ch]: new helper struct which is passed to parse_*
146 functions and handles *_layout and *_deeper tags output
148 * Makefile.am (EXTRA_DIST): new file test-structure.tex
149 (tex2lyx_SOURCES): add context.[Ch]
151 2003-07-30 Angus Leeming <leeming@lyx.org>
153 * Makefile.am: Hide the fact that we re-generate those symbolic links
156 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
158 * text.C (check_layout): \layout -> \begin_layout
159 (parse_text_in_inset): convenience function
161 * tex2lyx.C (main): \the_end -> \end_document
163 * preamble.C (end_preamble): update version number to 225
165 * text.C (parse_text): replace test on "lyxcode" with test on
166 LyXLayout::freespacing.
167 (check_end_layout): new function, used to check whether we need to
170 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * tex2lyx.C (clean_layouts): remove
174 * text.C: output lazily the \layout commands using the
175 check_layout function. Remove all explicit \layout tags.
176 (parse_text): pass an optional parameter 'layout'
179 * text.C (output_command_layout): renamed from output_layout
180 (parse_environment): new method containing a part of parse_text
184 * table.C: \begin_layout -> \layout. We are not quite ready for
187 2003-07-28 José Matos <jamatos@lyx.org>
192 * table.C: \layout -> \begin_layout.
194 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * text.C (parse_text): read environment from layout file too. Now,
197 all layout entries are supported (but many hacks remain); note
198 that the nesting support is broken and will have to be completely
200 (parse_text): basic support for english double quotes
202 * table.C (handle_tabular): make the output more similar to LyX
205 * text.C (output_layout): fix handling of optional argument
206 (parse_text): small tweaks to make output format closer to lyx
207 format; support \tableofcontents; fix/improve support for various
210 2003-07-27 Angus Leeming <leeming@lyx.org>
212 * Makefile.am: remove unused graphics_link_files cruft.
215 2003-07-27 Angus Leeming <leeming@lyx.org>
217 * tex2lyx.C: add Debug::ANY hack.
219 * text.C: remove hardcoded command layouts.
221 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * text.C (parse_text): fix handling of \LaTeXe macro
225 2003-07-26 Angus Leeming <leeming@lyx.org>
229 * gettext.[Ch]: minimal (near empty) analogues of the real LyX
230 files; enough to get LyXTextClass and LyXLayout to compile without
231 needing to store any real information about Spacing or Font.
233 * Makefile.am: add these files above and also include a minimal
234 chunk of the main lyx source tree as soft links in order to add in
235 LyXTextClass and LyXLayout.
237 * .cvsignore: add all these soft links.
239 * preamble.C (end_preamble): passed a LyXTextClass arg.
240 (parse_preamble): returns the document LyXTextClass.
242 * tabular.C (handle_tabular): passed a LyXTextClass arg. In turn
243 pass it to parse_text.
245 * tex2lyx.C: add some global vars, build_lyxdir et al. For now,
246 give them some horrible hard-coded value.
247 (main): receive a LyXTextClass var from parse_preamble and pass it
250 * text.C (parse_text): receives a LyXTextClass arg. Use it to
251 remove the hard-coded handling of floats and instead check the
252 textclass for its existence. Also handle wide floats naturally.
254 * tex2lyx.h: associated changes to function declarations.
256 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
258 * texparser.C (catInit): same warning avoidance as in math_parser.C
259 (setCatCode): cast to safe type
262 2003-05-17 Joao Luis M. Assirati <assirati@fma.if.usp.br>
264 * texparser.C: fix paragraph parsing after comment
266 2003-04-29 André Pönitz <poenitz@gmx.net>
269 texparser.h: whitespace
271 2003-04-20 Kayvan A. Sylvan <kayvan@sylvan.com>
273 * table.C: use string::erase(), not string::clear() to enable older
274 versions of gcc to compile the code.
276 2003-04-17 André Pönitz <poenitz@gmx.net>
283 * table.C: better table handling
285 * tex2lyx.C: lots of small changes
287 2003-02-25 Angus Leeming <leeming@lyx.org>
289 * .cvsignore: ignore *.lo and libtexparser.la.
291 2003-02-20 Angus Leeming <leeming@lyx.org>
293 * tex2lyx.C: swap <sstream> for "Lsstream.h".
295 2003-02-11 Angus Leeming <leeming@lyx.org>
297 * tex2lyx.C (handle_opt): prevent infinite loop if opts is empty.
298 (handle_package): new function, factoring code out of Parser::parse.
299 (trim): copied across from support/lstrings.C
300 (Parser::parse): handle '\usepackage{foo, bar}'.
302 2003-02-11 André Pönitz <poenitz@gmx.net>
304 * tex2lyx.C: first shot at real code
306 2003-02-11 Angus Leeming <leeming@lyx.org>
308 * .cvsignore: new file.
310 2003-02-10 Angus Leeming <leeming@lyx.org>
312 * Makefile.am: empty, dummy file so that autogen.sh and configure