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