1 2004-05-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * Makefile.am (BUILT_SOURCES): move lengthcommon.C from here...
4 (tex2lyx_SOURCES): ... to here
6 * lengthcommon.C: new file
8 2004-04-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
10 * preamble.C: recognize \lyxdot
11 * text.C (parse_text): translate \lyxdot in graphics file names
12 * text.C (handle_ert): translate '\n' (fixes %-newline combinations
15 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
17 * text.C (parse_text): handle vspaces like '1cm' correctly
19 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
21 * text.C (parse_box): "\\" -> '\\' in calls to contains.
23 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
25 * text.C: reorder the using statements.
26 (translate_len): remove usage of a uninitialized variable.
27 (isLayout): make it adaptable and constify operator()
28 (findLayout): reformat slightly and dont use the same var for
31 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
33 * text.C: fix status tag output for ERT inset
35 2003-12-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
37 * preamble.C: Change file format from 225 to 228
38 * text.C: Convert minipages and parboxes to box insets
39 * text.C: Changes for format 228 (see ../../development/FORMAT)
40 * text.C: Add lyxgreyedout environment
41 * context.[Ch]: New function Context::add_extra_stuff()
43 2003-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
45 * text.C: Use the new VSpace inset (fixes a bug with added_space top)
46 * text.C: Fix \= in tabbing env again
47 * text.C: Fix invocation of parse_command()
49 2003-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * text.C: Read a list of commands and their arguments from a reLyX
54 compatible syntax file in order to parse optional argumnts correctly.
60 * math.C: change size() to !empty() where it was used as bool
62 2003-11-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
67 * context.[Ch]: New functions Context::set_item(),
68 Context::new_paragraph(ostream & os) and Context::atParagraphStart()
69 to make Context usage more explicit
70 * texparser.[Ch]: Rework Parser::tokenize (see comment in texparser.h)
73 * texparser.C: Don't silently drop comments
74 * texparser.C: Token::asInput() does not append a space anymore
75 * texparser.[Ch]: Renamed Parser::prev_token() to Parser::curr_token().
76 New function Parser::prev_token() returns now really the previous token
78 * text.C: Convert known vspaces at paragraph start to \\added_space_top
79 * preamble.C: Don't put out newlines twice.
80 * text.C: Fix minipage position bug
81 * text.C: Fix \labelwidthstring bug
82 * text.C: Recognize alignment environments
83 * text.C: Fix a few cases of incorrect context usage, resulting
84 in missing or superflous \begin_layout / \end_laout lines.
86 2003-10-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
96 - add \text{}, \intertext{} and \fbox{} support in mathmode.
97 - add support for some math environments like displaymath
98 - allow parsing of partial documents (for inclusion with \input).
99 - steal commandline switches -c and -f from reLyX to support the
101 - add support for lengths with comma (4,5cm instead of 4.5cm) to
102 minipage environments. Handle \textwidth etc. without factor
103 - rearrange active_environments.[push,pop]back() so that they are always
105 - write an error message if layout file could not be found.
106 - convert \begin{comment}...\end{comment} to comment inset
107 - handle \= correctly inside tabbing environments
108 - fix multicolumn vertical rule bug in tables
109 - add missing \includegraphics options
110 - output minipages with latex lengths as ERT, since lyx cannot handle them
111 - recognize \textsl{}
112 - remove duplicate \ldots
113 - recognize \bibliographystyle and \bibliography
114 - handle \psfrag{ps-text}[ps-pos][tex-pos]{tex-text} correctly
115 - handle environments in table cells correctly
116 - add missing -userdir and -sysdir commandline switches
117 - recognize start of appendix
118 - handle optional arg to \item as ERT in itemize environment, since LyX
119 does not support it directly
121 2003-10-18 Lars Gullik Bjønnes <larsbj@gullik.net>
123 * Makefile.am (BUILT_SOURCES): use this instead of "linked_files"
124 and the link_files target. make the BUILT_SOURCES dependency
125 automatically link the needed files.
127 2003-10-14 Angus Leeming <leeming@lyx.org>
129 * Makefile.am: move boost.C from the linked_files section
130 to the tex2lyx_SOURCES section.
132 * boost.C: new file. Simpler than the version in the main lyx source.
133 No reference to the emergencyCleanup stuff.
135 * tex2lyx.C: remove emergencyCleanup() stuff.
137 2003-10-08 Angus Leeming <leeming@lyx.org>
139 Fix doxygen warnings.
141 * Spacing.h: \file Spacing.h -> \file tex2lyx/Spacing.h
142 * gettext.C: \file gettext.C -> \file tex2lyx/gettext.C
143 * gettext.h: \file gettext.h -> \file tex2lyx/gettext.h
144 * lyxfont.C: \file lyxfont.C -> \file tex2lyx/lyxfont.C
145 * lyxfont.h: \file lyxfont.h -> \file tex2lyx/lyxfont.h
146 * text.C: \file text.C -> \file tex2lyx/text.C
148 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
150 * tex2lyx.C: adjust for new debugstream.
152 2003-09-08 Angus Leeming <leeming@lyx.org>
158 * texparser.C: remove redundant using directives.
160 2003-08-19 Angus Leeming <leeming@lyx.org>
162 * most files: add 'standard conformant' header blurb.
163 Also add Jean-Marc as an author where appropriate.
165 2003-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
167 * Makefile.am (EXTRA_DIST):
168 * test-insets.tex: new file. Describes the insets and special
169 characters that tex2lyx handles.
171 * text.C (parse_text): support \vref, \vpageref (only one optional
172 argument), \prettyref; add support for include inset; when \\ has
173 optional arguments, use ERT; support also \listoffigures,
174 \listoftables, and \listof{xxx} for existing float types;
175 translate lenghts properly for graphics inset.
176 (parse_environment): add support for minipages
178 * text.C (translate_len): A simple function to translate a latex
179 length to something lyx can understand. Not perfect, but rather
182 2003-08-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * text.C (parse_text): special handling for \item and \bibitem
187 * context.C (begin_layout, end_layout, begin_deeper, end_deeper):
188 tiny helper functions
190 (check_end_deeper): add special handling for the case of a normal
191 paragraph inside a list-like environment.
193 * test-structure.tex: add more stuff there
195 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
197 * context.h: compile fix
199 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
201 * text.C: some tweaks to make nesting work. What still does not
202 work is nesting a standard paragraph in a list.
204 * test-structure.tex: update a bit
206 * context.C (check_deeper, check_end_deeper): new methods to
207 handle the *_deeper stuff
209 * preamble.C (end_preamble): small tweaks
211 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * text.C: update to use Context struct, and more notably:
214 (cap, check_layout, check_end_layout): remove
215 (parse_text_snippet): new thin wrapper around parse_text, used for
216 things like \textrm{...}
217 (parse_environment): remove existing depth handling code, which is
218 handled transparently by the Context struct; make unknown
219 environments work (again?) through ERT
221 * test-structure.tex: new test file, used to try out various
226 * table.C: update to use Context struct
228 * context.[Ch]: new helper struct which is passed to parse_*
229 functions and handles *_layout and *_deeper tags output
231 * Makefile.am (EXTRA_DIST): new file test-structure.tex
232 (tex2lyx_SOURCES): add context.[Ch]
234 2003-07-30 Angus Leeming <leeming@lyx.org>
236 * Makefile.am: Hide the fact that we re-generate those symbolic links
239 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
241 * text.C (check_layout): \layout -> \begin_layout
242 (parse_text_in_inset): convenience function
244 * tex2lyx.C (main): \the_end -> \end_document
246 * preamble.C (end_preamble): update version number to 225
248 * text.C (parse_text): replace test on "lyxcode" with test on
249 LyXLayout::freespacing.
250 (check_end_layout): new function, used to check whether we need to
253 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * tex2lyx.C (clean_layouts): remove
257 * text.C: output lazily the \layout commands using the
258 check_layout function. Remove all explicit \layout tags.
259 (parse_text): pass an optional parameter 'layout'
262 * text.C (output_command_layout): renamed from output_layout
263 (parse_environment): new method containing a part of parse_text
267 * table.C: \begin_layout -> \layout. We are not quite ready for
270 2003-07-28 José Matos <jamatos@lyx.org>
275 * table.C: \layout -> \begin_layout.
277 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
279 * text.C (parse_text): read environment from layout file too. Now,
280 all layout entries are supported (but many hacks remain); note
281 that the nesting support is broken and will have to be completely
283 (parse_text): basic support for english double quotes
285 * table.C (handle_tabular): make the output more similar to LyX
288 * text.C (output_layout): fix handling of optional argument
289 (parse_text): small tweaks to make output format closer to lyx
290 format; support \tableofcontents; fix/improve support for various
293 2003-07-27 Angus Leeming <leeming@lyx.org>
295 * Makefile.am: remove unused graphics_link_files cruft.
298 2003-07-27 Angus Leeming <leeming@lyx.org>
300 * tex2lyx.C: add Debug::ANY hack.
302 * text.C: remove hardcoded command layouts.
304 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * text.C (parse_text): fix handling of \LaTeXe macro
308 2003-07-26 Angus Leeming <leeming@lyx.org>
312 * gettext.[Ch]: minimal (near empty) analogues of the real LyX
313 files; enough to get LyXTextClass and LyXLayout to compile without
314 needing to store any real information about Spacing or Font.
316 * Makefile.am: add these files above and also include a minimal
317 chunk of the main lyx source tree as soft links in order to add in
318 LyXTextClass and LyXLayout.
320 * .cvsignore: add all these soft links.
322 * preamble.C (end_preamble): passed a LyXTextClass arg.
323 (parse_preamble): returns the document LyXTextClass.
325 * tabular.C (handle_tabular): passed a LyXTextClass arg. In turn
326 pass it to parse_text.
328 * tex2lyx.C: add some global vars, build_lyxdir et al. For now,
329 give them some horrible hard-coded value.
330 (main): receive a LyXTextClass var from parse_preamble and pass it
333 * text.C (parse_text): receives a LyXTextClass arg. Use it to
334 remove the hard-coded handling of floats and instead check the
335 textclass for its existence. Also handle wide floats naturally.
337 * tex2lyx.h: associated changes to function declarations.
339 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
341 * texparser.C (catInit): same warning avoidance as in math_parser.C
342 (setCatCode): cast to safe type
345 2003-05-17 Joao Luis M. Assirati <assirati@fma.if.usp.br>
347 * texparser.C: fix paragraph parsing after comment
349 2003-04-29 André Pönitz <poenitz@gmx.net>
352 texparser.h: whitespace
354 2003-04-20 Kayvan A. Sylvan <kayvan@sylvan.com>
356 * table.C: use string::erase(), not string::clear() to enable older
357 versions of gcc to compile the code.
359 2003-04-17 André Pönitz <poenitz@gmx.net>
366 * table.C: better table handling
368 * tex2lyx.C: lots of small changes
370 2003-02-25 Angus Leeming <leeming@lyx.org>
372 * .cvsignore: ignore *.lo and libtexparser.la.
374 2003-02-20 Angus Leeming <leeming@lyx.org>
376 * tex2lyx.C: swap <sstream> for "Lsstream.h".
378 2003-02-11 Angus Leeming <leeming@lyx.org>
380 * tex2lyx.C (handle_opt): prevent infinite loop if opts is empty.
381 (handle_package): new function, factoring code out of Parser::parse.
382 (trim): copied across from support/lstrings.C
383 (Parser::parse): handle '\usepackage{foo, bar}'.
385 2003-02-11 André Pönitz <poenitz@gmx.net>
387 * tex2lyx.C: first shot at real code
389 2003-02-11 Angus Leeming <leeming@lyx.org>
391 * .cvsignore: new file.
393 2003-02-10 Angus Leeming <leeming@lyx.org>
395 * Makefile.am: empty, dummy file so that autogen.sh and configure