1 2003-08-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text.C (parse_text): special handling for \item and \bibitem
6 * context.C (begin_layout, end_layout, begin_deeper, end_deeper):
9 (check_end_deeper): add special handling for the case of a normal
10 paragraph inside a list-like environment.
12 * test-structure.tex: add more stuff there
14 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
16 * context.h: compile fix
18 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * text.C: some tweaks to make nesting work. What still does not
21 work is nesting a standard paragraph in a list.
23 * test-structure.tex: update a bit
25 * context.C (check_deeper, check_end_deeper): new methods to
26 handle the *_deeper stuff
28 * preamble.C (end_preamble): small tweaks
30 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * text.C: update to use Context struct, and more notably:
33 (cap, check_layout, check_end_layout): remove
34 (parse_text_snippet): new thin wrapper around parse_text, used for
35 things like \textrm{...}
36 (parse_environment): remove existing depth handling code, which is
37 handled transparently by the Context struct; make unknown
38 environments work (again?) through ERT
40 * test-structure.tex: new test file, used to try out various
45 * table.C: update to use Context struct
47 * context.[Ch]: new helper struct which is passed to parse_*
48 functions and handles *_layout and *_deeper tags output
50 * Makefile.am (EXTRA_DIST): new file test-structure.tex
51 (tex2lyx_SOURCES): add context.[Ch]
53 2003-07-30 Angus Leeming <leeming@lyx.org>
55 * Makefile.am: Hide the fact that we re-generate those symbolic links
58 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
60 * text.C (check_layout): \layout -> \begin_layout
61 (parse_text_in_inset): convenience function
63 * tex2lyx.C (main): \the_end -> \end_document
65 * preamble.C (end_preamble): update version number to 225
67 * text.C (parse_text): replace test on "lyxcode" with test on
68 LyXLayout::freespacing.
69 (check_end_layout): new function, used to check whether we need to
72 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
74 * tex2lyx.C (clean_layouts): remove
76 * text.C: output lazily the \layout commands using the
77 check_layout function. Remove all explicit \layout tags.
78 (parse_text): pass an optional parameter 'layout'
81 * text.C (output_command_layout): renamed from output_layout
82 (parse_environment): new method containing a part of parse_text
86 * table.C: \begin_layout -> \layout. We are not quite ready for
89 2003-07-28 José Matos <jamatos@lyx.org>
94 * table.C: \layout -> \begin_layout.
96 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
98 * text.C (parse_text): read environment from layout file too. Now,
99 all layout entries are supported (but many hacks remain); note
100 that the nesting support is broken and will have to be completely
102 (parse_text): basic support for english double quotes
104 * table.C (handle_tabular): make the output more similar to LyX
107 * text.C (output_layout): fix handling of optional argument
108 (parse_text): small tweaks to make output format closer to lyx
109 format; support \tableofcontents; fix/improve support for various
112 2003-07-27 Angus Leeming <leeming@lyx.org>
114 * Makefile.am: remove unused graphics_link_files cruft.
117 2003-07-27 Angus Leeming <leeming@lyx.org>
119 * tex2lyx.C: add Debug::ANY hack.
121 * text.C: remove hardcoded command layouts.
123 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
125 * text.C (parse_text): fix handling of \LaTeXe macro
127 2003-07-26 Angus Leeming <leeming@lyx.org>
131 * gettext.[Ch]: minimal (near empty) analogues of the real LyX
132 files; enough to get LyXTextClass and LyXLayout to compile without
133 needing to store any real information about Spacing or Font.
135 * Makefile.am: add these files above and also include a minimal
136 chunk of the main lyx source tree as soft links in order to add in
137 LyXTextClass and LyXLayout.
139 * .cvsignore: add all these soft links.
141 * preamble.C (end_preamble): passed a LyXTextClass arg.
142 (parse_preamble): returns the document LyXTextClass.
144 * tabular.C (handle_tabular): passed a LyXTextClass arg. In turn
145 pass it to parse_text.
147 * tex2lyx.C: add some global vars, build_lyxdir et al. For now,
148 give them some horrible hard-coded value.
149 (main): receive a LyXTextClass var from parse_preamble and pass it
152 * text.C (parse_text): receives a LyXTextClass arg. Use it to
153 remove the hard-coded handling of floats and instead check the
154 textclass for its existence. Also handle wide floats naturally.
156 * tex2lyx.h: associated changes to function declarations.
158 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
160 * texparser.C (catInit): same warning avoidance as in math_parser.C
161 (setCatCode): cast to safe type
164 2003-05-17 Joao Luis M. Assirati <assirati@fma.if.usp.br>
166 * texparser.C: fix paragraph parsing after comment
168 2003-04-29 André Pönitz <poenitz@gmx.net>
171 texparser.h: whitespace
173 2003-04-20 Kayvan A. Sylvan <kayvan@sylvan.com>
175 * table.C: use string::erase(), not string::clear() to enable older
176 versions of gcc to compile the code.
178 2003-04-17 André Pönitz <poenitz@gmx.net>
185 * table.C: better table handling
187 * tex2lyx.C: lots of small changes
189 2003-02-25 Angus Leeming <leeming@lyx.org>
191 * .cvsignore: ignore *.lo and libtexparser.la.
193 2003-02-20 Angus Leeming <leeming@lyx.org>
195 * tex2lyx.C: swap <sstream> for "Lsstream.h".
197 2003-02-11 Angus Leeming <leeming@lyx.org>
199 * tex2lyx.C (handle_opt): prevent infinite loop if opts is empty.
200 (handle_package): new function, factoring code out of Parser::parse.
201 (trim): copied across from support/lstrings.C
202 (Parser::parse): handle '\usepackage{foo, bar}'.
204 2003-02-11 André Pönitz <poenitz@gmx.net>
206 * tex2lyx.C: first shot at real code
208 2003-02-11 Angus Leeming <leeming@lyx.org>
210 * .cvsignore: new file.
212 2003-02-10 Angus Leeming <leeming@lyx.org>
214 * Makefile.am: empty, dummy file so that autogen.sh and configure