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