1 2003-12-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * preamble.C: Change file format from 225 to 228
4 * text.C: Convert minipages and parboxes to box insets
5 * text.C: Changes for format 228 (see ../../development/FORMAT)
6 * text.C: Add lyxgreyedout environment
7 * context.[Ch]: New function Context::add_extra_stuff()
8 * context.[Ch]: Add ~Context() with warning message
10 2003-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
12 * text.C: Use the new VSpace inset (fixes a bug with added_space top)
13 * text.C: Fix \= in tabbing env again
14 * text.C: Fix invocation of parse_command()
16 2003-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
20 * text.C: Read a list of commands and their arguments from a reLyX
21 compatible syntax file in order to parse optional argumnts correctly.
27 * math.C: change size() to !empty() where it was used as bool
29 2003-11-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
34 * context.[Ch]: New functions Context::set_item(),
35 Context::new_paragraph(ostream & os) and Context::atParagraphStart()
36 to make Context usage more explicit
37 * texparser.[Ch]: Rework Parser::tokenize (see comment in texparser.h)
40 * texparser.C: Don't silently drop comments
41 * texparser.C: Token::asInput() does not append a space anymore
42 * texparser.[Ch]: Renamed Parser::prev_token() to Parser::curr_token().
43 New function Parser::prev_token() returns now really the previous token
45 * text.C: Convert known vspaces at paragraph start to \\added_space_top
46 * preamble.C: Don't put out newlines twice.
47 * text.C: Fix minipage position bug
48 * text.C: Fix \labelwidthstring bug
49 * text.C: Recognize alignment environments
50 * text.C: Fix a few cases of incorrect context usage, resulting
51 in missing or superflous \begin_layout / \end_laout lines.
53 2003-10-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
63 - add \text{}, \intertext{} and \fbox{} support in mathmode.
64 - add support for some math environments like displaymath
65 - allow parsing of partial documents (for inclusion with \input).
66 - steal commandline switches -c and -f from reLyX to support the
68 - add support for lengths with comma (4,5cm instead of 4.5cm) to
69 minipage environments. Handle \textwidth etc. without factor
70 - rearrange active_environments.[push,pop]back() so that they are always
72 - write an error message if layout file could not be found.
73 - convert \begin{comment}...\end{comment} to comment inset
74 - handle \= correctly inside tabbing environments
75 - fix multicolumn vertical rule bug in tables
76 - add missing \includegraphics options
77 - output minipages with latex lengths as ERT, since lyx cannot handle them
79 - remove duplicate \ldots
80 - recognize \bibliographystyle and \bibliography
81 - handle \psfrag{ps-text}[ps-pos][tex-pos]{tex-text} correctly
82 - handle environments in table cells correctly
83 - add missing -userdir and -sysdir commandline switches
84 - recognize start of appendix
85 - handle optional arg to \item as ERT in itemize environment, since LyX
86 does not support it directly
88 2003-10-18 Lars Gullik Bjønnes <larsbj@gullik.net>
90 * Makefile.am (BUILT_SOURCES): use this instead of "linked_files"
91 and the link_files target. make the BUILT_SOURCES dependency
92 automatically link the needed files.
94 2003-10-14 Angus Leeming <leeming@lyx.org>
96 * Makefile.am: move boost.C from the linked_files section
97 to the tex2lyx_SOURCES section.
99 * boost.C: new file. Simpler than the version in the main lyx source.
100 No reference to the emergencyCleanup stuff.
102 * tex2lyx.C: remove emergencyCleanup() stuff.
104 2003-10-08 Angus Leeming <leeming@lyx.org>
106 Fix doxygen warnings.
108 * Spacing.h: \file Spacing.h -> \file tex2lyx/Spacing.h
109 * gettext.C: \file gettext.C -> \file tex2lyx/gettext.C
110 * gettext.h: \file gettext.h -> \file tex2lyx/gettext.h
111 * lyxfont.C: \file lyxfont.C -> \file tex2lyx/lyxfont.C
112 * lyxfont.h: \file lyxfont.h -> \file tex2lyx/lyxfont.h
113 * text.C: \file text.C -> \file tex2lyx/text.C
115 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
117 * tex2lyx.C: adjust for new debugstream.
119 2003-09-08 Angus Leeming <leeming@lyx.org>
125 * texparser.C: remove redundant using directives.
127 2003-08-19 Angus Leeming <leeming@lyx.org>
129 * most files: add 'standard conformant' header blurb.
130 Also add Jean-Marc as an author where appropriate.
132 2003-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * Makefile.am (EXTRA_DIST):
135 * test-insets.tex: new file. Describes the insets and special
136 characters that tex2lyx handles.
138 * text.C (parse_text): support \vref, \vpageref (only one optional
139 argument), \prettyref; add support for include inset; when \\ has
140 optional arguments, use ERT; support also \listoffigures,
141 \listoftables, and \listof{xxx} for existing float types;
142 translate lenghts properly for graphics inset.
143 (parse_environment): add support for minipages
145 * text.C (translate_len): A simple function to translate a latex
146 length to something lyx can understand. Not perfect, but rather
149 2003-08-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * text.C (parse_text): special handling for \item and \bibitem
154 * context.C (begin_layout, end_layout, begin_deeper, end_deeper):
155 tiny helper functions
157 (check_end_deeper): add special handling for the case of a normal
158 paragraph inside a list-like environment.
160 * test-structure.tex: add more stuff there
162 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
164 * context.h: compile fix
166 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
168 * text.C: some tweaks to make nesting work. What still does not
169 work is nesting a standard paragraph in a list.
171 * test-structure.tex: update a bit
173 * context.C (check_deeper, check_end_deeper): new methods to
174 handle the *_deeper stuff
176 * preamble.C (end_preamble): small tweaks
178 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * text.C: update to use Context struct, and more notably:
181 (cap, check_layout, check_end_layout): remove
182 (parse_text_snippet): new thin wrapper around parse_text, used for
183 things like \textrm{...}
184 (parse_environment): remove existing depth handling code, which is
185 handled transparently by the Context struct; make unknown
186 environments work (again?) through ERT
188 * test-structure.tex: new test file, used to try out various
193 * table.C: update to use Context struct
195 * context.[Ch]: new helper struct which is passed to parse_*
196 functions and handles *_layout and *_deeper tags output
198 * Makefile.am (EXTRA_DIST): new file test-structure.tex
199 (tex2lyx_SOURCES): add context.[Ch]
201 2003-07-30 Angus Leeming <leeming@lyx.org>
203 * Makefile.am: Hide the fact that we re-generate those symbolic links
206 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * text.C (check_layout): \layout -> \begin_layout
209 (parse_text_in_inset): convenience function
211 * tex2lyx.C (main): \the_end -> \end_document
213 * preamble.C (end_preamble): update version number to 225
215 * text.C (parse_text): replace test on "lyxcode" with test on
216 LyXLayout::freespacing.
217 (check_end_layout): new function, used to check whether we need to
220 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
222 * tex2lyx.C (clean_layouts): remove
224 * text.C: output lazily the \layout commands using the
225 check_layout function. Remove all explicit \layout tags.
226 (parse_text): pass an optional parameter 'layout'
229 * text.C (output_command_layout): renamed from output_layout
230 (parse_environment): new method containing a part of parse_text
234 * table.C: \begin_layout -> \layout. We are not quite ready for
237 2003-07-28 José Matos <jamatos@lyx.org>
242 * table.C: \layout -> \begin_layout.
244 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
246 * text.C (parse_text): read environment from layout file too. Now,
247 all layout entries are supported (but many hacks remain); note
248 that the nesting support is broken and will have to be completely
250 (parse_text): basic support for english double quotes
252 * table.C (handle_tabular): make the output more similar to LyX
255 * text.C (output_layout): fix handling of optional argument
256 (parse_text): small tweaks to make output format closer to lyx
257 format; support \tableofcontents; fix/improve support for various
260 2003-07-27 Angus Leeming <leeming@lyx.org>
262 * Makefile.am: remove unused graphics_link_files cruft.
265 2003-07-27 Angus Leeming <leeming@lyx.org>
267 * tex2lyx.C: add Debug::ANY hack.
269 * text.C: remove hardcoded command layouts.
271 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * text.C (parse_text): fix handling of \LaTeXe macro
275 2003-07-26 Angus Leeming <leeming@lyx.org>
279 * gettext.[Ch]: minimal (near empty) analogues of the real LyX
280 files; enough to get LyXTextClass and LyXLayout to compile without
281 needing to store any real information about Spacing or Font.
283 * Makefile.am: add these files above and also include a minimal
284 chunk of the main lyx source tree as soft links in order to add in
285 LyXTextClass and LyXLayout.
287 * .cvsignore: add all these soft links.
289 * preamble.C (end_preamble): passed a LyXTextClass arg.
290 (parse_preamble): returns the document LyXTextClass.
292 * tabular.C (handle_tabular): passed a LyXTextClass arg. In turn
293 pass it to parse_text.
295 * tex2lyx.C: add some global vars, build_lyxdir et al. For now,
296 give them some horrible hard-coded value.
297 (main): receive a LyXTextClass var from parse_preamble and pass it
300 * text.C (parse_text): receives a LyXTextClass arg. Use it to
301 remove the hard-coded handling of floats and instead check the
302 textclass for its existence. Also handle wide floats naturally.
304 * tex2lyx.h: associated changes to function declarations.
306 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
308 * texparser.C (catInit): same warning avoidance as in math_parser.C
309 (setCatCode): cast to safe type
312 2003-05-17 Joao Luis M. Assirati <assirati@fma.if.usp.br>
314 * texparser.C: fix paragraph parsing after comment
316 2003-04-29 André Pönitz <poenitz@gmx.net>
319 texparser.h: whitespace
321 2003-04-20 Kayvan A. Sylvan <kayvan@sylvan.com>
323 * table.C: use string::erase(), not string::clear() to enable older
324 versions of gcc to compile the code.
326 2003-04-17 André Pönitz <poenitz@gmx.net>
333 * table.C: better table handling
335 * tex2lyx.C: lots of small changes
337 2003-02-25 Angus Leeming <leeming@lyx.org>
339 * .cvsignore: ignore *.lo and libtexparser.la.
341 2003-02-20 Angus Leeming <leeming@lyx.org>
343 * tex2lyx.C: swap <sstream> for "Lsstream.h".
345 2003-02-11 Angus Leeming <leeming@lyx.org>
347 * tex2lyx.C (handle_opt): prevent infinite loop if opts is empty.
348 (handle_package): new function, factoring code out of Parser::parse.
349 (trim): copied across from support/lstrings.C
350 (Parser::parse): handle '\usepackage{foo, bar}'.
352 2003-02-11 André Pönitz <poenitz@gmx.net>
354 * tex2lyx.C: first shot at real code
356 2003-02-11 Angus Leeming <leeming@lyx.org>
358 * .cvsignore: new file.
360 2003-02-10 Angus Leeming <leeming@lyx.org>
362 * Makefile.am: empty, dummy file so that autogen.sh and configure