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