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