1 2003-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * Makefile.am (EXTRA_DIST):
4 * test-insets.tex: new file. Describes the insets and special
5 characters that tex2lyx handles.
7 * text.C (parse_text): support \vref, \vpageref (only one optional
8 argument), \prettyref; add support for include inset; when \\ has
9 optional arguments, use ERT; support also \listoffigures,
10 \listoftables, and \listof{xxx} for existing float types;
11 translate lenghts properly for graphics inset.
12 (parse_environment): add support for minipages
14 * text.C (translate_len): A simple function to translate a latex
15 length to something lyx can understand. Not perfect, but rather
18 2003-08-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * text.C (parse_text): special handling for \item and \bibitem
23 * context.C (begin_layout, end_layout, begin_deeper, end_deeper):
26 (check_end_deeper): add special handling for the case of a normal
27 paragraph inside a list-like environment.
29 * test-structure.tex: add more stuff there
31 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
33 * context.h: compile fix
35 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * text.C: some tweaks to make nesting work. What still does not
38 work is nesting a standard paragraph in a list.
40 * test-structure.tex: update a bit
42 * context.C (check_deeper, check_end_deeper): new methods to
43 handle the *_deeper stuff
45 * preamble.C (end_preamble): small tweaks
47 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
49 * text.C: update to use Context struct, and more notably:
50 (cap, check_layout, check_end_layout): remove
51 (parse_text_snippet): new thin wrapper around parse_text, used for
52 things like \textrm{...}
53 (parse_environment): remove existing depth handling code, which is
54 handled transparently by the Context struct; make unknown
55 environments work (again?) through ERT
57 * test-structure.tex: new test file, used to try out various
62 * table.C: update to use Context struct
64 * context.[Ch]: new helper struct which is passed to parse_*
65 functions and handles *_layout and *_deeper tags output
67 * Makefile.am (EXTRA_DIST): new file test-structure.tex
68 (tex2lyx_SOURCES): add context.[Ch]
70 2003-07-30 Angus Leeming <leeming@lyx.org>
72 * Makefile.am: Hide the fact that we re-generate those symbolic links
75 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * text.C (check_layout): \layout -> \begin_layout
78 (parse_text_in_inset): convenience function
80 * tex2lyx.C (main): \the_end -> \end_document
82 * preamble.C (end_preamble): update version number to 225
84 * text.C (parse_text): replace test on "lyxcode" with test on
85 LyXLayout::freespacing.
86 (check_end_layout): new function, used to check whether we need to
89 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * tex2lyx.C (clean_layouts): remove
93 * text.C: output lazily the \layout commands using the
94 check_layout function. Remove all explicit \layout tags.
95 (parse_text): pass an optional parameter 'layout'
98 * text.C (output_command_layout): renamed from output_layout
99 (parse_environment): new method containing a part of parse_text
103 * table.C: \begin_layout -> \layout. We are not quite ready for
106 2003-07-28 José Matos <jamatos@lyx.org>
111 * table.C: \layout -> \begin_layout.
113 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * text.C (parse_text): read environment from layout file too. Now,
116 all layout entries are supported (but many hacks remain); note
117 that the nesting support is broken and will have to be completely
119 (parse_text): basic support for english double quotes
121 * table.C (handle_tabular): make the output more similar to LyX
124 * text.C (output_layout): fix handling of optional argument
125 (parse_text): small tweaks to make output format closer to lyx
126 format; support \tableofcontents; fix/improve support for various
129 2003-07-27 Angus Leeming <leeming@lyx.org>
131 * Makefile.am: remove unused graphics_link_files cruft.
134 2003-07-27 Angus Leeming <leeming@lyx.org>
136 * tex2lyx.C: add Debug::ANY hack.
138 * text.C: remove hardcoded command layouts.
140 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
142 * text.C (parse_text): fix handling of \LaTeXe macro
144 2003-07-26 Angus Leeming <leeming@lyx.org>
148 * gettext.[Ch]: minimal (near empty) analogues of the real LyX
149 files; enough to get LyXTextClass and LyXLayout to compile without
150 needing to store any real information about Spacing or Font.
152 * Makefile.am: add these files above and also include a minimal
153 chunk of the main lyx source tree as soft links in order to add in
154 LyXTextClass and LyXLayout.
156 * .cvsignore: add all these soft links.
158 * preamble.C (end_preamble): passed a LyXTextClass arg.
159 (parse_preamble): returns the document LyXTextClass.
161 * tabular.C (handle_tabular): passed a LyXTextClass arg. In turn
162 pass it to parse_text.
164 * tex2lyx.C: add some global vars, build_lyxdir et al. For now,
165 give them some horrible hard-coded value.
166 (main): receive a LyXTextClass var from parse_preamble and pass it
169 * text.C (parse_text): receives a LyXTextClass arg. Use it to
170 remove the hard-coded handling of floats and instead check the
171 textclass for its existence. Also handle wide floats naturally.
173 * tex2lyx.h: associated changes to function declarations.
175 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
177 * texparser.C (catInit): same warning avoidance as in math_parser.C
178 (setCatCode): cast to safe type
181 2003-05-17 Joao Luis M. Assirati <assirati@fma.if.usp.br>
183 * texparser.C: fix paragraph parsing after comment
185 2003-04-29 André Pönitz <poenitz@gmx.net>
188 texparser.h: whitespace
190 2003-04-20 Kayvan A. Sylvan <kayvan@sylvan.com>
192 * table.C: use string::erase(), not string::clear() to enable older
193 versions of gcc to compile the code.
195 2003-04-17 André Pönitz <poenitz@gmx.net>
202 * table.C: better table handling
204 * tex2lyx.C: lots of small changes
206 2003-02-25 Angus Leeming <leeming@lyx.org>
208 * .cvsignore: ignore *.lo and libtexparser.la.
210 2003-02-20 Angus Leeming <leeming@lyx.org>
212 * tex2lyx.C: swap <sstream> for "Lsstream.h".
214 2003-02-11 Angus Leeming <leeming@lyx.org>
216 * tex2lyx.C (handle_opt): prevent infinite loop if opts is empty.
217 (handle_package): new function, factoring code out of Parser::parse.
218 (trim): copied across from support/lstrings.C
219 (Parser::parse): handle '\usepackage{foo, bar}'.
221 2003-02-11 André Pönitz <poenitz@gmx.net>
223 * tex2lyx.C: first shot at real code
225 2003-02-11 Angus Leeming <leeming@lyx.org>
227 * .cvsignore: new file.
229 2003-02-10 Angus Leeming <leeming@lyx.org>
231 * Makefile.am: empty, dummy file so that autogen.sh and configure