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