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