1 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * Makefile.am (EXTRA_DIST): add tex2lyx.man
5 2005-07-18 José Matos <jamatos@fc.up.pt>
7 * preamble.C (end_preamble, handle_package): updated format to 243, fix bug 1382, bug 22
9 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11 * .cvsignore: add tex2lyx.1
12 * tex2lyx.C (main): dont search for syntax.default in reLyX dir
13 * test.ltx: new test file
14 * tex2lyx.man: new file
15 * Makefile.am: add man file directives
17 2005-07-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
19 * text.C (parse_environment): handle context of unknown environments
20 correctly (fixes bug 1910)
21 * text.C (parse_environment): output the end of known environments
22 (one line disappeared from yesterdays patch)
24 2005-07-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
26 * math.C (is_math_env): Don't hardcode known math environments anymore
27 * tex2lyx.[Ch] (known_environments, known_math_environments): new
28 * tex2lyx.C (read_command): new, split off from read_syntaxfile
29 * tex2lyx.C (read_environment): new
30 * text.C (parse_arguments): new, split off from parse_command
31 * text.C (parse_environment): handle known environments
33 2005-07-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
35 * text.C (parse_text): output font changes only if needed
36 * context.C (begin_layout): output font if it is not the default one
37 * context.[Ch] (output_font_change): new, needed for the above
39 2005-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
41 * text.C (parse_text): eat {} after \ss, \i and \j
42 * tex2lyx.C (tex2lyx): add diagnostic message about created files
44 2005-05-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
46 * text.C (fix_relative_filename): new
47 * text.C (parse_text): use fix_relative_filename for included
48 graphics and .tex files
49 * tex2lyx.[Ch] (getParentFilePath): new
50 * tex2lyx.[Ch] (tex2lyx): new overload taking the input filename and
52 * tex2lyx.[Ch] (main): simplify, use the above
54 2005-05-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
56 * tex2lyx.C (main): set correct masterFilePath for files like "subdir/file"
58 2005-04-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
60 * text.C (parse_comment): Don't start a new paragraph for "%\n"
62 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
64 * text.C (normalize_filename): new, split off from parse_text
65 * text.C (parse_text): Don't convert \verbatiminput files
66 * text.C (parse_text): Interpret relative file names in \include,
67 \input and \verbatiminput correctly and replace \lyxdot and \space
68 * text.C (parse_text): Recognize \input files without extension
70 2005-03-31 Georg Baum <Georg.Baum@post.rwth-aachen.de>
72 * text.C (parse_text): Really fix \start_of_appendix output
74 2005-03-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
76 * tex2lyx.C (read_syntaxfile): Don't use racy test with IsFileReadable
77 * tex2lyx.C (tex2lyx): ditto, and don't use fs::is_writable (it
78 returns false if the file does not exist on solaris)
80 2005-03-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
82 * text.C (parse_text): Fix \start_of_appendix output
84 2005-03-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
86 * table.C (parse_table): handle nested tables
87 * texparser.[Ch] (verbatimEnvironment): new
89 2005-03-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
91 * table.C (verbose_valign): new
92 * table.C (string2int): remove, use convert<int>() instead since the
93 default value is always 0 and this is also the default of
95 * table.C (ci2special): new
96 * table.C (handle_colalign): handle b{}, p{} and m{} correctly
97 * table.C (handle_colalign): fix >{\raggedleft} and >{\raggedright}
99 * table.C (handle_colalign): handle >{\centering}
100 * table.C (handle_colalign): handle <{}, *{}, @{} and !{}
101 * table.C (fix_colalign): new
102 * table.C (handle_tabular): fix multicolumns with vertical lines
104 2005-03-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
106 * text.C (output_command_layout): Use parse_text instead of
107 parse_text_in_inset to avoid creating a new context
108 * text.C (parse_text): translate \thanks to footnote in title layouts
110 2005-02-25 Angus Leeming <leeming@lyx.org>
112 * context.h: declare as "class Font" rather than "struct Font".
113 Ditto "class Context".
115 * table.C: declare as "class ColInfo" rather than "struct ColInfo".
116 Ditto "class RowInfo" and "class CellInfo".
118 Changes to make MSVC agree to link the code.
120 2005-02-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
122 * context.C (begin_deeper, end_deeper): adjust output to LyX
123 * preamble.C (h_output_changes): new
124 * preamble.C (end_preamble): output paperfontsize without unit
125 * preamble.C (end_preamble): change file format from 237 to 241
126 * text.C (parse_environment, parse_text): adjust paragraph parameters
128 * text.C (handle_ert, handle_comment): adjust newlines to new file
131 2005-02-03 Angus Leeming <leeming@lyx.org>
133 * Makefile.am: make -lz conditional on USE_COMPRESSION.
135 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
137 * text.C (parse_text): handle \includegraphics*
138 * Makefile.am: readd -lz library since gcc 3.3 needs it.
140 2005-02-02 Angus Leeming <leeming@lyx.org>
142 * Makefile.am: remove -lz library from the linker call.
144 2005-02-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
146 * text.C (parse_text): Use '\n' and not '\\n' for a newline ;-)
148 2005-02-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
150 * text.C (parse_text): Only reset font changes if not at the
151 beginning of a new layout
153 2005-01-31 Angus Leeming <leeming@lyx.org>
155 * tex2lyx.C (main): enable tex2lyx to find the top level
156 build directory when run in-place.
158 Also add "fs::path::default_name_check(fs::no_check);"
160 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
162 * tex2lyx.C: rewrite to use boost.filesystem
165 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
167 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
169 * Spacing (set): take double instead of float
171 * tex2lyx.C: convert stuff
173 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * Spacing.h: remove unused parameters
177 2005-01-10 Angus Leeming <leeming@lyx.org>
179 * tex2lyx.C: use support/package.h to provide the paths to the
180 various directories used by LyX.
182 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
184 * text.C: tostr -> convert
186 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
188 * Spacing.h: adapt dummy file to the changes in src/Spacing.h.
190 2005-01-04 Georg Baum <Georg.Baum@post.rwth-aachen.de>
192 * preamble.C (parse_preamble): handle second optional arg of
193 \newcommand etc. and add the command to the known commands (fixes
195 * texparser.[Ch] (getFullOpt): new, like getOpt but distinguish
196 between empty arguments and no argument found
197 * tex2lyx.[Ch]: (add_known_command): new
198 * text.C (parse_text): handle \newcommand etc. (see above)
199 * text.C (parse_text): add comment about \underline
200 * text.C (getCiteArguments): use getFullOpt
202 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
204 * table.C (ColInfo, LTRowType, RowInfo, CellInfo, verbose_align):
205 new, extended from math_gridinfo.h and tabular.h
206 * table.C (write_attribute): new, from tabular.C
207 * table.C (read_hlines): remove
208 * table.C (parse_hlines): new
209 * table.C (RowPosition): new
210 * table.C (parse_table): handle comments in hlines
211 * table.C (parse_table, handle_tabular): add longtable support
212 * table.C (handle_tabular): fix "unexpected dummy size" error message
213 * table.C (handle_tabular): fix off by one error for clines
214 * text.C (parse_environment): add longtable support
216 2004-12-14 Angus Leeming <leeming@lyx.org>
218 * tex2lyx.C (main): no longer pass pointers to os::init.
220 2004-12-14 Angus Leeming <leeming@lyx.org>
222 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
223 to overcome bug in the MinGW port of g++ 3.4.2.
225 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
227 * Makefile.am (tex2lyx_LDADD): use boost variables
229 2004-11-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
231 * table.C (handle_colalign): handle comments
232 * table.C (handle_tabular): don't crash on clines with out of range
235 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
237 * tex2lyx.C: remove format hack
239 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
241 * texparser.C (getNewline): new
242 * texparser.C (tokenize): fix bug 1730 by handling MAC line endings
245 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
247 * tex2lyx.C (formats): new, needed for libsupport.a
249 2004-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
251 * text.C (parse_text): replace newlines with spaces in arguments to
252 known latex commands, fixes bug 1620
254 2004-10-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
256 * preamble.C (end_preamble): change file format from 236 to 237
257 * preamble.C (h_use_geometry, h_use_bibtopic, h_tracking_changes):
258 change from "0" to "false"
260 2004-08-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
262 * preamble.C (end_preamble): change file format from 235 to 236
263 * preamble.C (end_preamble): add \begin_document, \begin_header and
265 * preamble.C (h_papersize): change from "Default" to "default"
266 * tex2lyx.C (tex2lyx): add end_body tag
268 2008-08-16 José Matos <jamatos@lyx.org>
270 * context.C (begin_deeper, end_deeper):
271 * preamble.C (end_preamble):
272 * table.C (handle_tabular):
273 * text.C (end_inset, handle_ert, handle_comment):
274 (parse_text_attributes, parse_text): remove space at end of line.
276 2004-08-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
278 * preamble.C (split_options): new, split package options into vector
279 * preamble.C (add_package): new, add a package with options to
281 * preamble.C, tex2lyx.h (used_packages): new map of used packages
283 * preamble.C (handle_package): handle natbib and jurabib package
284 * preamble.C (handle_package): output a message for unhandled options
285 * preamble.C (parse_preamble): handle \jurabibsetup
286 * text.C (known_natbib_commands): new list of known natbib ccommands
287 * text.C (known_jurabib_commands): new list of known jurabib ccommands
288 * text.C (getCiteArguments): new, parse cite command arguments
289 * text.C (parse_text): handle natbib and jurabib citation commands
291 2004-07-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
293 * preamble.C (end_preamble): change file format from 228 to 235
294 * preamble.C (end_preamble): add use_bibtopic flag
295 * preamble.C (end_preamble): replace use_natbib with cite_engine
296 * preamble.C: change the paperpackage default from "default" to
297 "none". The old setting only worked by accident.
298 * tex2lyx.[Ch] (getMasterFilePath): new, needed for included graphics
299 * text.C (parse_environment): add sideways flag for float insets
300 * text.C (parse_text): add graphics file extension if necessary
301 * text.C (find_file): new helper function
303 2004-07-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
305 * math.C (parse_math): change tex "\\cr" line ending to "\\\\"
306 * table.C (parse_table): recognize tex "\\cr" line ending
308 2004-06-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
310 * math.C, preamble.C, tex2lyx.[Ch], text.C: const fixes
311 * context.[Ch]: new Font struct, and add it to Context
312 * text.C (parse_text): reset size after size change
313 * text.C: handle declaration form of font attribute changes (new
315 * text.C (parse_text): handle \textmd, \textup and \textnormal
316 * text.C (parse_text_attributes): new
318 2004-06-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
320 * text.C (output_command_layout, parse_environment): fix bug 1446
321 by passing parent_context.deeper_paragraph to the child context
323 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
325 * preamble.C, text.C: s/wether/whether/g
326 * text.C (eat_whitespace): new method
327 * texparser.C (getArg): use always curr_token().asInput()
328 * texparser.[Ch] (isParagraph): new method
329 * texparser.C (skip_spaces): handle "\n +\n" correctly
330 * texparser.[Ch] (asMode): remove, since it is unused
332 2004-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
334 * Makefile.am (BUILT_SOURCES): move lengthcommon.C from here...
335 (tex2lyx_SOURCES): ... to here
337 * lengthcommon.C: new file
339 2004-04-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
341 * preamble.C: recognize \lyxdot
342 * text.C (parse_text): translate \lyxdot in graphics file names
343 * text.C (handle_ert): translate '\n' (fixes %-newline combinations
346 2004-03-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
348 * text.C (parse_text): handle vspaces like '1cm' correctly
350 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
352 * text.C (parse_box): "\\" -> '\\' in calls to contains.
354 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
356 * text.C: reorder the using statements.
357 (translate_len): remove usage of a uninitialized variable.
358 (isLayout): make it adaptable and constify operator()
359 (findLayout): reformat slightly and dont use the same var for
362 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
364 * text.C: fix status tag output for ERT inset
366 2003-12-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
368 * preamble.C: Change file format from 225 to 228
369 * text.C: Convert minipages and parboxes to box insets
370 * text.C: Changes for format 228 (see ../../development/FORMAT)
371 * text.C: Add lyxgreyedout environment
372 * context.[Ch]: New function Context::add_extra_stuff()
374 2003-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
376 * text.C: Use the new VSpace inset (fixes a bug with added_space top)
377 * text.C: Fix \= in tabbing env again
378 * text.C: Fix invocation of parse_command()
380 2003-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
384 * text.C: Read a list of commands and their arguments from a reLyX
385 compatible syntax file in order to parse optional argumnts correctly.
391 * math.C: change size() to !empty() where it was used as bool
393 2003-11-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
398 * context.[Ch]: New functions Context::set_item(),
399 Context::new_paragraph(ostream & os) and Context::atParagraphStart()
400 to make Context usage more explicit
401 * texparser.[Ch]: Rework Parser::tokenize (see comment in texparser.h)
404 * texparser.C: Don't silently drop comments
405 * texparser.C: Token::asInput() does not append a space anymore
406 * texparser.[Ch]: Renamed Parser::prev_token() to Parser::curr_token().
407 New function Parser::prev_token() returns now really the previous token
409 * text.C: Convert known vspaces at paragraph start to \\added_space_top
410 * preamble.C: Don't put out newlines twice.
411 * text.C: Fix minipage position bug
412 * text.C: Fix \labelwidthstring bug
413 * text.C: Recognize alignment environments
414 * text.C: Fix a few cases of incorrect context usage, resulting
415 in missing or superflous \begin_layout / \end_laout lines.
417 2003-10-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
427 - add \text{}, \intertext{} and \fbox{} support in mathmode.
428 - add support for some math environments like displaymath
429 - allow parsing of partial documents (for inclusion with \input).
430 - steal commandline switches -c and -f from reLyX to support the
432 - add support for lengths with comma (4,5cm instead of 4.5cm) to
433 minipage environments. Handle \textwidth etc. without factor
434 - rearrange active_environments.[push,pop]back() so that they are always
436 - write an error message if layout file could not be found.
437 - convert \begin{comment}...\end{comment} to comment inset
438 - handle \= correctly inside tabbing environments
439 - fix multicolumn vertical rule bug in tables
440 - add missing \includegraphics options
441 - output minipages with latex lengths as ERT, since lyx cannot handle them
442 - recognize \textsl{}
443 - remove duplicate \ldots
444 - recognize \bibliographystyle and \bibliography
445 - handle \psfrag{ps-text}[ps-pos][tex-pos]{tex-text} correctly
446 - handle environments in table cells correctly
447 - add missing -userdir and -sysdir commandline switches
448 - recognize start of appendix
449 - handle optional arg to \item as ERT in itemize environment, since LyX
450 does not support it directly
452 2003-10-18 Lars Gullik Bjønnes <larsbj@gullik.net>
454 * Makefile.am (BUILT_SOURCES): use this instead of "linked_files"
455 and the link_files target. make the BUILT_SOURCES dependency
456 automatically link the needed files.
458 2003-10-14 Angus Leeming <leeming@lyx.org>
460 * Makefile.am: move boost.C from the linked_files section
461 to the tex2lyx_SOURCES section.
463 * boost.C: new file. Simpler than the version in the main lyx source.
464 No reference to the emergencyCleanup stuff.
466 * tex2lyx.C: remove emergencyCleanup() stuff.
468 2003-10-08 Angus Leeming <leeming@lyx.org>
470 Fix doxygen warnings.
472 * Spacing.h: \file Spacing.h -> \file tex2lyx/Spacing.h
473 * gettext.C: \file gettext.C -> \file tex2lyx/gettext.C
474 * gettext.h: \file gettext.h -> \file tex2lyx/gettext.h
475 * lyxfont.C: \file lyxfont.C -> \file tex2lyx/lyxfont.C
476 * lyxfont.h: \file lyxfont.h -> \file tex2lyx/lyxfont.h
477 * text.C: \file text.C -> \file tex2lyx/text.C
479 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
481 * tex2lyx.C: adjust for new debugstream.
483 2003-09-08 Angus Leeming <leeming@lyx.org>
489 * texparser.C: remove redundant using directives.
491 2003-08-19 Angus Leeming <leeming@lyx.org>
493 * most files: add 'standard conformant' header blurb.
494 Also add Jean-Marc as an author where appropriate.
496 2003-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * Makefile.am (EXTRA_DIST):
499 * test-insets.tex: new file. Describes the insets and special
500 characters that tex2lyx handles.
502 * text.C (parse_text): support \vref, \vpageref (only one optional
503 argument), \prettyref; add support for include inset; when \\ has
504 optional arguments, use ERT; support also \listoffigures,
505 \listoftables, and \listof{xxx} for existing float types;
506 translate lenghts properly for graphics inset.
507 (parse_environment): add support for minipages
509 * text.C (translate_len): A simple function to translate a latex
510 length to something lyx can understand. Not perfect, but rather
513 2003-08-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
515 * text.C (parse_text): special handling for \item and \bibitem
518 * context.C (begin_layout, end_layout, begin_deeper, end_deeper):
519 tiny helper functions
521 (check_end_deeper): add special handling for the case of a normal
522 paragraph inside a list-like environment.
524 * test-structure.tex: add more stuff there
526 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
528 * context.h: compile fix
530 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
532 * text.C: some tweaks to make nesting work. What still does not
533 work is nesting a standard paragraph in a list.
535 * test-structure.tex: update a bit
537 * context.C (check_deeper, check_end_deeper): new methods to
538 handle the *_deeper stuff
540 * preamble.C (end_preamble): small tweaks
542 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
544 * text.C: update to use Context struct, and more notably:
545 (cap, check_layout, check_end_layout): remove
546 (parse_text_snippet): new thin wrapper around parse_text, used for
547 things like \textrm{...}
548 (parse_environment): remove existing depth handling code, which is
549 handled transparently by the Context struct; make unknown
550 environments work (again?) through ERT
552 * test-structure.tex: new test file, used to try out various
557 * table.C: update to use Context struct
559 * context.[Ch]: new helper struct which is passed to parse_*
560 functions and handles *_layout and *_deeper tags output
562 * Makefile.am (EXTRA_DIST): new file test-structure.tex
563 (tex2lyx_SOURCES): add context.[Ch]
565 2003-07-30 Angus Leeming <leeming@lyx.org>
567 * Makefile.am: Hide the fact that we re-generate those symbolic links
570 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
572 * text.C (check_layout): \layout -> \begin_layout
573 (parse_text_in_inset): convenience function
575 * tex2lyx.C (main): \the_end -> \end_document
577 * preamble.C (end_preamble): update version number to 225
579 * text.C (parse_text): replace test on "lyxcode" with test on
580 LyXLayout::freespacing.
581 (check_end_layout): new function, used to check whether we need to
584 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
586 * tex2lyx.C (clean_layouts): remove
588 * text.C: output lazily the \layout commands using the
589 check_layout function. Remove all explicit \layout tags.
590 (parse_text): pass an optional parameter 'layout'
593 * text.C (output_command_layout): renamed from output_layout
594 (parse_environment): new method containing a part of parse_text
598 * table.C: \begin_layout -> \layout. We are not quite ready for
601 2003-07-28 José Matos <jamatos@lyx.org>
606 * table.C: \layout -> \begin_layout.
608 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
610 * text.C (parse_text): read environment from layout file too. Now,
611 all layout entries are supported (but many hacks remain); note
612 that the nesting support is broken and will have to be completely
614 (parse_text): basic support for english double quotes
616 * table.C (handle_tabular): make the output more similar to LyX
619 * text.C (output_layout): fix handling of optional argument
620 (parse_text): small tweaks to make output format closer to lyx
621 format; support \tableofcontents; fix/improve support for various
624 2003-07-27 Angus Leeming <leeming@lyx.org>
626 * Makefile.am: remove unused graphics_link_files cruft.
629 2003-07-27 Angus Leeming <leeming@lyx.org>
631 * tex2lyx.C: add Debug::ANY hack.
633 * text.C: remove hardcoded command layouts.
635 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
637 * text.C (parse_text): fix handling of \LaTeXe macro
639 2003-07-26 Angus Leeming <leeming@lyx.org>
643 * gettext.[Ch]: minimal (near empty) analogues of the real LyX
644 files; enough to get LyXTextClass and LyXLayout to compile without
645 needing to store any real information about Spacing or Font.
647 * Makefile.am: add these files above and also include a minimal
648 chunk of the main lyx source tree as soft links in order to add in
649 LyXTextClass and LyXLayout.
651 * .cvsignore: add all these soft links.
653 * preamble.C (end_preamble): passed a LyXTextClass arg.
654 (parse_preamble): returns the document LyXTextClass.
656 * tabular.C (handle_tabular): passed a LyXTextClass arg. In turn
657 pass it to parse_text.
659 * tex2lyx.C: add some global vars, build_lyxdir et al. For now,
660 give them some horrible hard-coded value.
661 (main): receive a LyXTextClass var from parse_preamble and pass it
664 * text.C (parse_text): receives a LyXTextClass arg. Use it to
665 remove the hard-coded handling of floats and instead check the
666 textclass for its existence. Also handle wide floats naturally.
668 * tex2lyx.h: associated changes to function declarations.
670 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
672 * texparser.C (catInit): same warning avoidance as in math_parser.C
673 (setCatCode): cast to safe type
676 2003-05-17 Joao Luis M. Assirati <assirati@fma.if.usp.br>
678 * texparser.C: fix paragraph parsing after comment
680 2003-04-29 André Pönitz <poenitz@gmx.net>
683 texparser.h: whitespace
685 2003-04-20 Kayvan A. Sylvan <kayvan@sylvan.com>
687 * table.C: use string::erase(), not string::clear() to enable older
688 versions of gcc to compile the code.
690 2003-04-17 André Pönitz <poenitz@gmx.net>
697 * table.C: better table handling
699 * tex2lyx.C: lots of small changes
701 2003-02-25 Angus Leeming <leeming@lyx.org>
703 * .cvsignore: ignore *.lo and libtexparser.la.
705 2003-02-20 Angus Leeming <leeming@lyx.org>
707 * tex2lyx.C: swap <sstream> for "Lsstream.h".
709 2003-02-11 Angus Leeming <leeming@lyx.org>
711 * tex2lyx.C (handle_opt): prevent infinite loop if opts is empty.
712 (handle_package): new function, factoring code out of Parser::parse.
713 (trim): copied across from support/lstrings.C
714 (Parser::parse): handle '\usepackage{foo, bar}'.
716 2003-02-11 André Pönitz <poenitz@gmx.net>
718 * tex2lyx.C: first shot at real code
720 2003-02-11 Angus Leeming <leeming@lyx.org>
722 * .cvsignore: new file.
724 2003-02-10 Angus Leeming <leeming@lyx.org>
726 * Makefile.am: empty, dummy file so that autogen.sh and configure