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