1 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * text.C (parse_text): handle vspaces like '1cm' correctly
5 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
7 * text.C (parse_box): "\\" -> '\\' in calls to contains.
9 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
11 * text.C: reorder the using statements.
12 (translate_len): remove usage of a uninitialized variable.
13 (isLayout): make it adaptable and constify operator()
14 (findLayout): reformat slightly and dont use the same var for
17 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
19 * text.C: fix status tag output for ERT inset
21 2003-12-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
23 * preamble.C: Change file format from 225 to 228
24 * text.C: Convert minipages and parboxes to box insets
25 * text.C: Changes for format 228 (see ../../development/FORMAT)
26 * text.C: Add lyxgreyedout environment
27 * context.[Ch]: New function Context::add_extra_stuff()
29 2003-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
31 * text.C: Use the new VSpace inset (fixes a bug with added_space top)
32 * text.C: Fix \= in tabbing env again
33 * text.C: Fix invocation of parse_command()
35 2003-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
39 * text.C: Read a list of commands and their arguments from a reLyX
40 compatible syntax file in order to parse optional argumnts correctly.
46 * math.C: change size() to !empty() where it was used as bool
48 2003-11-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * context.[Ch]: New functions Context::set_item(),
54 Context::new_paragraph(ostream & os) and Context::atParagraphStart()
55 to make Context usage more explicit
56 * texparser.[Ch]: Rework Parser::tokenize (see comment in texparser.h)
59 * texparser.C: Don't silently drop comments
60 * texparser.C: Token::asInput() does not append a space anymore
61 * texparser.[Ch]: Renamed Parser::prev_token() to Parser::curr_token().
62 New function Parser::prev_token() returns now really the previous token
64 * text.C: Convert known vspaces at paragraph start to \\added_space_top
65 * preamble.C: Don't put out newlines twice.
66 * text.C: Fix minipage position bug
67 * text.C: Fix \labelwidthstring bug
68 * text.C: Recognize alignment environments
69 * text.C: Fix a few cases of incorrect context usage, resulting
70 in missing or superflous \begin_layout / \end_laout lines.
72 2003-10-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
82 - add \text{}, \intertext{} and \fbox{} support in mathmode.
83 - add support for some math environments like displaymath
84 - allow parsing of partial documents (for inclusion with \input).
85 - steal commandline switches -c and -f from reLyX to support the
87 - add support for lengths with comma (4,5cm instead of 4.5cm) to
88 minipage environments. Handle \textwidth etc. without factor
89 - rearrange active_environments.[push,pop]back() so that they are always
91 - write an error message if layout file could not be found.
92 - convert \begin{comment}...\end{comment} to comment inset
93 - handle \= correctly inside tabbing environments
94 - fix multicolumn vertical rule bug in tables
95 - add missing \includegraphics options
96 - output minipages with latex lengths as ERT, since lyx cannot handle them
98 - remove duplicate \ldots
99 - recognize \bibliographystyle and \bibliography
100 - handle \psfrag{ps-text}[ps-pos][tex-pos]{tex-text} correctly
101 - handle environments in table cells correctly
102 - add missing -userdir and -sysdir commandline switches
103 - recognize start of appendix
104 - handle optional arg to \item as ERT in itemize environment, since LyX
105 does not support it directly
107 2003-10-18 Lars Gullik Bjønnes <larsbj@gullik.net>
109 * Makefile.am (BUILT_SOURCES): use this instead of "linked_files"
110 and the link_files target. make the BUILT_SOURCES dependency
111 automatically link the needed files.
113 2003-10-14 Angus Leeming <leeming@lyx.org>
115 * Makefile.am: move boost.C from the linked_files section
116 to the tex2lyx_SOURCES section.
118 * boost.C: new file. Simpler than the version in the main lyx source.
119 No reference to the emergencyCleanup stuff.
121 * tex2lyx.C: remove emergencyCleanup() stuff.
123 2003-10-08 Angus Leeming <leeming@lyx.org>
125 Fix doxygen warnings.
127 * Spacing.h: \file Spacing.h -> \file tex2lyx/Spacing.h
128 * gettext.C: \file gettext.C -> \file tex2lyx/gettext.C
129 * gettext.h: \file gettext.h -> \file tex2lyx/gettext.h
130 * lyxfont.C: \file lyxfont.C -> \file tex2lyx/lyxfont.C
131 * lyxfont.h: \file lyxfont.h -> \file tex2lyx/lyxfont.h
132 * text.C: \file text.C -> \file tex2lyx/text.C
134 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
136 * tex2lyx.C: adjust for new debugstream.
138 2003-09-08 Angus Leeming <leeming@lyx.org>
144 * texparser.C: remove redundant using directives.
146 2003-08-19 Angus Leeming <leeming@lyx.org>
148 * most files: add 'standard conformant' header blurb.
149 Also add Jean-Marc as an author where appropriate.
151 2003-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * Makefile.am (EXTRA_DIST):
154 * test-insets.tex: new file. Describes the insets and special
155 characters that tex2lyx handles.
157 * text.C (parse_text): support \vref, \vpageref (only one optional
158 argument), \prettyref; add support for include inset; when \\ has
159 optional arguments, use ERT; support also \listoffigures,
160 \listoftables, and \listof{xxx} for existing float types;
161 translate lenghts properly for graphics inset.
162 (parse_environment): add support for minipages
164 * text.C (translate_len): A simple function to translate a latex
165 length to something lyx can understand. Not perfect, but rather
168 2003-08-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
170 * text.C (parse_text): special handling for \item and \bibitem
173 * context.C (begin_layout, end_layout, begin_deeper, end_deeper):
174 tiny helper functions
176 (check_end_deeper): add special handling for the case of a normal
177 paragraph inside a list-like environment.
179 * test-structure.tex: add more stuff there
181 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
183 * context.h: compile fix
185 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
187 * text.C: some tweaks to make nesting work. What still does not
188 work is nesting a standard paragraph in a list.
190 * test-structure.tex: update a bit
192 * context.C (check_deeper, check_end_deeper): new methods to
193 handle the *_deeper stuff
195 * preamble.C (end_preamble): small tweaks
197 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
199 * text.C: update to use Context struct, and more notably:
200 (cap, check_layout, check_end_layout): remove
201 (parse_text_snippet): new thin wrapper around parse_text, used for
202 things like \textrm{...}
203 (parse_environment): remove existing depth handling code, which is
204 handled transparently by the Context struct; make unknown
205 environments work (again?) through ERT
207 * test-structure.tex: new test file, used to try out various
212 * table.C: update to use Context struct
214 * context.[Ch]: new helper struct which is passed to parse_*
215 functions and handles *_layout and *_deeper tags output
217 * Makefile.am (EXTRA_DIST): new file test-structure.tex
218 (tex2lyx_SOURCES): add context.[Ch]
220 2003-07-30 Angus Leeming <leeming@lyx.org>
222 * Makefile.am: Hide the fact that we re-generate those symbolic links
225 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 * text.C (check_layout): \layout -> \begin_layout
228 (parse_text_in_inset): convenience function
230 * tex2lyx.C (main): \the_end -> \end_document
232 * preamble.C (end_preamble): update version number to 225
234 * text.C (parse_text): replace test on "lyxcode" with test on
235 LyXLayout::freespacing.
236 (check_end_layout): new function, used to check whether we need to
239 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
241 * tex2lyx.C (clean_layouts): remove
243 * text.C: output lazily the \layout commands using the
244 check_layout function. Remove all explicit \layout tags.
245 (parse_text): pass an optional parameter 'layout'
248 * text.C (output_command_layout): renamed from output_layout
249 (parse_environment): new method containing a part of parse_text
253 * table.C: \begin_layout -> \layout. We are not quite ready for
256 2003-07-28 José Matos <jamatos@lyx.org>
261 * table.C: \layout -> \begin_layout.
263 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
265 * text.C (parse_text): read environment from layout file too. Now,
266 all layout entries are supported (but many hacks remain); note
267 that the nesting support is broken and will have to be completely
269 (parse_text): basic support for english double quotes
271 * table.C (handle_tabular): make the output more similar to LyX
274 * text.C (output_layout): fix handling of optional argument
275 (parse_text): small tweaks to make output format closer to lyx
276 format; support \tableofcontents; fix/improve support for various
279 2003-07-27 Angus Leeming <leeming@lyx.org>
281 * Makefile.am: remove unused graphics_link_files cruft.
284 2003-07-27 Angus Leeming <leeming@lyx.org>
286 * tex2lyx.C: add Debug::ANY hack.
288 * text.C: remove hardcoded command layouts.
290 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
292 * text.C (parse_text): fix handling of \LaTeXe macro
294 2003-07-26 Angus Leeming <leeming@lyx.org>
298 * gettext.[Ch]: minimal (near empty) analogues of the real LyX
299 files; enough to get LyXTextClass and LyXLayout to compile without
300 needing to store any real information about Spacing or Font.
302 * Makefile.am: add these files above and also include a minimal
303 chunk of the main lyx source tree as soft links in order to add in
304 LyXTextClass and LyXLayout.
306 * .cvsignore: add all these soft links.
308 * preamble.C (end_preamble): passed a LyXTextClass arg.
309 (parse_preamble): returns the document LyXTextClass.
311 * tabular.C (handle_tabular): passed a LyXTextClass arg. In turn
312 pass it to parse_text.
314 * tex2lyx.C: add some global vars, build_lyxdir et al. For now,
315 give them some horrible hard-coded value.
316 (main): receive a LyXTextClass var from parse_preamble and pass it
319 * text.C (parse_text): receives a LyXTextClass arg. Use it to
320 remove the hard-coded handling of floats and instead check the
321 textclass for its existence. Also handle wide floats naturally.
323 * tex2lyx.h: associated changes to function declarations.
325 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
327 * texparser.C (catInit): same warning avoidance as in math_parser.C
328 (setCatCode): cast to safe type
331 2003-05-17 Joao Luis M. Assirati <assirati@fma.if.usp.br>
333 * texparser.C: fix paragraph parsing after comment
335 2003-04-29 André Pönitz <poenitz@gmx.net>
338 texparser.h: whitespace
340 2003-04-20 Kayvan A. Sylvan <kayvan@sylvan.com>
342 * table.C: use string::erase(), not string::clear() to enable older
343 versions of gcc to compile the code.
345 2003-04-17 André Pönitz <poenitz@gmx.net>
352 * table.C: better table handling
354 * tex2lyx.C: lots of small changes
356 2003-02-25 Angus Leeming <leeming@lyx.org>
358 * .cvsignore: ignore *.lo and libtexparser.la.
360 2003-02-20 Angus Leeming <leeming@lyx.org>
362 * tex2lyx.C: swap <sstream> for "Lsstream.h".
364 2003-02-11 Angus Leeming <leeming@lyx.org>
366 * tex2lyx.C (handle_opt): prevent infinite loop if opts is empty.
367 (handle_package): new function, factoring code out of Parser::parse.
368 (trim): copied across from support/lstrings.C
369 (Parser::parse): handle '\usepackage{foo, bar}'.
371 2003-02-11 André Pönitz <poenitz@gmx.net>
373 * tex2lyx.C: first shot at real code
375 2003-02-11 Angus Leeming <leeming@lyx.org>
377 * .cvsignore: new file.
379 2003-02-10 Angus Leeming <leeming@lyx.org>
381 * Makefile.am: empty, dummy file so that autogen.sh and configure