1 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * tex2lyx.C: adjust for new debugstream.
5 2003-09-08 Angus Leeming <leeming@lyx.org>
11 * texparser.C: remove redundant using directives.
13 2003-08-19 Angus Leeming <leeming@lyx.org>
15 * most files: add 'standard conformant' header blurb.
16 Also add Jean-Marc as an author where appropriate.
18 2003-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * Makefile.am (EXTRA_DIST):
21 * test-insets.tex: new file. Describes the insets and special
22 characters that tex2lyx handles.
24 * text.C (parse_text): support \vref, \vpageref (only one optional
25 argument), \prettyref; add support for include inset; when \\ has
26 optional arguments, use ERT; support also \listoffigures,
27 \listoftables, and \listof{xxx} for existing float types;
28 translate lenghts properly for graphics inset.
29 (parse_environment): add support for minipages
31 * text.C (translate_len): A simple function to translate a latex
32 length to something lyx can understand. Not perfect, but rather
35 2003-08-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * text.C (parse_text): special handling for \item and \bibitem
40 * context.C (begin_layout, end_layout, begin_deeper, end_deeper):
43 (check_end_deeper): add special handling for the case of a normal
44 paragraph inside a list-like environment.
46 * test-structure.tex: add more stuff there
48 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
50 * context.h: compile fix
52 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
54 * text.C: some tweaks to make nesting work. What still does not
55 work is nesting a standard paragraph in a list.
57 * test-structure.tex: update a bit
59 * context.C (check_deeper, check_end_deeper): new methods to
60 handle the *_deeper stuff
62 * preamble.C (end_preamble): small tweaks
64 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
66 * text.C: update to use Context struct, and more notably:
67 (cap, check_layout, check_end_layout): remove
68 (parse_text_snippet): new thin wrapper around parse_text, used for
69 things like \textrm{...}
70 (parse_environment): remove existing depth handling code, which is
71 handled transparently by the Context struct; make unknown
72 environments work (again?) through ERT
74 * test-structure.tex: new test file, used to try out various
79 * table.C: update to use Context struct
81 * context.[Ch]: new helper struct which is passed to parse_*
82 functions and handles *_layout and *_deeper tags output
84 * Makefile.am (EXTRA_DIST): new file test-structure.tex
85 (tex2lyx_SOURCES): add context.[Ch]
87 2003-07-30 Angus Leeming <leeming@lyx.org>
89 * Makefile.am: Hide the fact that we re-generate those symbolic links
92 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * text.C (check_layout): \layout -> \begin_layout
95 (parse_text_in_inset): convenience function
97 * tex2lyx.C (main): \the_end -> \end_document
99 * preamble.C (end_preamble): update version number to 225
101 * text.C (parse_text): replace test on "lyxcode" with test on
102 LyXLayout::freespacing.
103 (check_end_layout): new function, used to check whether we need to
106 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
108 * tex2lyx.C (clean_layouts): remove
110 * text.C: output lazily the \layout commands using the
111 check_layout function. Remove all explicit \layout tags.
112 (parse_text): pass an optional parameter 'layout'
115 * text.C (output_command_layout): renamed from output_layout
116 (parse_environment): new method containing a part of parse_text
120 * table.C: \begin_layout -> \layout. We are not quite ready for
123 2003-07-28 José Matos <jamatos@lyx.org>
128 * table.C: \layout -> \begin_layout.
130 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
132 * text.C (parse_text): read environment from layout file too. Now,
133 all layout entries are supported (but many hacks remain); note
134 that the nesting support is broken and will have to be completely
136 (parse_text): basic support for english double quotes
138 * table.C (handle_tabular): make the output more similar to LyX
141 * text.C (output_layout): fix handling of optional argument
142 (parse_text): small tweaks to make output format closer to lyx
143 format; support \tableofcontents; fix/improve support for various
146 2003-07-27 Angus Leeming <leeming@lyx.org>
148 * Makefile.am: remove unused graphics_link_files cruft.
151 2003-07-27 Angus Leeming <leeming@lyx.org>
153 * tex2lyx.C: add Debug::ANY hack.
155 * text.C: remove hardcoded command layouts.
157 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * text.C (parse_text): fix handling of \LaTeXe macro
161 2003-07-26 Angus Leeming <leeming@lyx.org>
165 * gettext.[Ch]: minimal (near empty) analogues of the real LyX
166 files; enough to get LyXTextClass and LyXLayout to compile without
167 needing to store any real information about Spacing or Font.
169 * Makefile.am: add these files above and also include a minimal
170 chunk of the main lyx source tree as soft links in order to add in
171 LyXTextClass and LyXLayout.
173 * .cvsignore: add all these soft links.
175 * preamble.C (end_preamble): passed a LyXTextClass arg.
176 (parse_preamble): returns the document LyXTextClass.
178 * tabular.C (handle_tabular): passed a LyXTextClass arg. In turn
179 pass it to parse_text.
181 * tex2lyx.C: add some global vars, build_lyxdir et al. For now,
182 give them some horrible hard-coded value.
183 (main): receive a LyXTextClass var from parse_preamble and pass it
186 * text.C (parse_text): receives a LyXTextClass arg. Use it to
187 remove the hard-coded handling of floats and instead check the
188 textclass for its existence. Also handle wide floats naturally.
190 * tex2lyx.h: associated changes to function declarations.
192 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
194 * texparser.C (catInit): same warning avoidance as in math_parser.C
195 (setCatCode): cast to safe type
198 2003-05-17 Joao Luis M. Assirati <assirati@fma.if.usp.br>
200 * texparser.C: fix paragraph parsing after comment
202 2003-04-29 André Pönitz <poenitz@gmx.net>
205 texparser.h: whitespace
207 2003-04-20 Kayvan A. Sylvan <kayvan@sylvan.com>
209 * table.C: use string::erase(), not string::clear() to enable older
210 versions of gcc to compile the code.
212 2003-04-17 André Pönitz <poenitz@gmx.net>
219 * table.C: better table handling
221 * tex2lyx.C: lots of small changes
223 2003-02-25 Angus Leeming <leeming@lyx.org>
225 * .cvsignore: ignore *.lo and libtexparser.la.
227 2003-02-20 Angus Leeming <leeming@lyx.org>
229 * tex2lyx.C: swap <sstream> for "Lsstream.h".
231 2003-02-11 Angus Leeming <leeming@lyx.org>
233 * tex2lyx.C (handle_opt): prevent infinite loop if opts is empty.
234 (handle_package): new function, factoring code out of Parser::parse.
235 (trim): copied across from support/lstrings.C
236 (Parser::parse): handle '\usepackage{foo, bar}'.
238 2003-02-11 André Pönitz <poenitz@gmx.net>
240 * tex2lyx.C: first shot at real code
242 2003-02-11 Angus Leeming <leeming@lyx.org>
244 * .cvsignore: new file.
246 2003-02-10 Angus Leeming <leeming@lyx.org>
248 * Makefile.am: empty, dummy file so that autogen.sh and configure