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