]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/ChangeLog
set tex2lyx master file path correctly for input files in a subdir
[lyx.git] / src / tex2lyx / ChangeLog
1 2005-05-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * tex2lyx.C (main): set correct masterFilePath for files like "subdir/file"
4
5 2005-04-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
6
7         * text.C (parse_comment): Don't start a new paragraph for "%\n"
8
9 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
10
11         * text.C (normalize_filename): new, split off from parse_text
12         * text.C (parse_text): Don't convert \verbatiminput files
13         * text.C (parse_text): Interpret relative file names in \include,
14         \input and \verbatiminput correctly and replace \lyxdot and \space
15         * text.C (parse_text): Recognize \input files without extension
16
17 2005-03-31  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
18
19         * text.C (parse_text): Really fix \start_of_appendix output
20
21 2005-03-27  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
22
23         * tex2lyx.C (read_syntaxfile): Don't use racy test with IsFileReadable
24         * tex2lyx.C (tex2lyx): ditto, and don't use fs::is_writable (it
25         returns false if the file does not exist on solaris)
26
27 2005-03-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
28
29         * text.C (parse_text): Fix \start_of_appendix output
30
31 2005-03-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
32
33         * table.C (parse_table): handle nested tables
34         * texparser.[Ch] (verbatimEnvironment): new
35
36 2005-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
37
38         * table.C (verbose_valign): new
39         * table.C (string2int): remove, use convert<int>() instead since the
40         default value is always 0 and this is also the default of
41         convert<int>().
42         * table.C (ci2special): new
43         * table.C (handle_colalign): handle b{}, p{} and m{} correctly
44         * table.C (handle_colalign): fix >{\raggedleft} and >{\raggedright}
45         (they were swapped)
46         * table.C (handle_colalign): handle >{\centering}
47         * table.C (handle_colalign): handle <{}, *{}, @{} and !{}
48         * table.C (fix_colalign): new
49         * table.C (handle_tabular): fix multicolumns with vertical lines
50
51 2005-03-05  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
52
53         * text.C (output_command_layout): Use parse_text instead of
54         parse_text_in_inset to avoid creating a new context
55         * text.C (parse_text): translate \thanks to footnote in title layouts
56
57 2005-02-25  Angus Leeming  <leeming@lyx.org>
58
59         * context.h: declare as "class Font" rather than "struct Font".
60         Ditto "class Context".
61
62         * table.C: declare as "class ColInfo" rather than "struct ColInfo".
63         Ditto "class RowInfo" and "class CellInfo".
64
65         Changes to make MSVC agree to link the code.
66
67 2005-02-05  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
68
69         * context.C (begin_deeper, end_deeper): adjust output to LyX
70         * preamble.C (h_output_changes): new
71         * preamble.C (end_preamble): output paperfontsize without unit
72         * preamble.C (end_preamble): change file format from 237 to 241
73         * text.C (parse_environment, parse_text): adjust paragraph parameters
74         to new file format
75         * text.C (handle_ert, handle_comment): adjust newlines to new file
76         format
77
78 2005-02-03  Angus Leeming  <leeming@lyx.org>
79
80         * Makefile.am: make -lz conditional on USE_COMPRESSION.
81
82 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
83
84         * text.C (parse_text): handle \includegraphics*
85         * Makefile.am: readd -lz library since gcc 3.3 needs it.
86
87 2005-02-02  Angus Leeming  <leeming@lyx.org>
88
89         * Makefile.am: remove -lz library from the linker call.
90
91 2005-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
92
93         * text.C (parse_text): Use '\n' and not '\\n' for a newline ;-)
94
95 2005-02-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
96
97         * text.C (parse_text): Only reset font changes if not at the
98         beginning of a new layout
99
100 2005-01-31  Angus Leeming  <leeming@lyx.org>
101
102         * tex2lyx.C (main): enable tex2lyx to find the top level
103         build directory when run in-place.
104
105         Also add "fs::path::default_name_check(fs::no_check);"
106
107 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
108
109         * tex2lyx.C: rewrite to use boost.filesystem
110         * text.C: ditto
111
112         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
113
114 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
115
116         * Spacing (set): take double instead of float
117
118         * tex2lyx.C: convert stuff
119
120 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
121
122         * Spacing.h: remove unused parameters
123
124 2005-01-10  Angus Leeming  <leeming@lyx.org>
125
126         * tex2lyx.C: use support/package.h to provide the paths to the
127         various directories used by LyX.
128
129 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
130
131         * text.C: tostr -> convert
132
133 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
134
135         * Spacing.h: adapt dummy file to the changes in src/Spacing.h.
136
137 2005-01-04  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
138
139         * preamble.C (parse_preamble): handle second optional arg of
140         \newcommand etc. and add the command to the known commands (fixes
141         bug 1750)
142         * texparser.[Ch] (getFullOpt): new, like getOpt but distinguish
143         between empty arguments and no argument found
144         * tex2lyx.[Ch]: (add_known_command): new
145         * text.C (parse_text): handle \newcommand etc. (see above)
146         * text.C (parse_text): add comment about \underline
147         * text.C (getCiteArguments): use getFullOpt
148
149 2004-12-15  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
150
151         * table.C (ColInfo, LTRowType, RowInfo, CellInfo, verbose_align):
152         new, extended from math_gridinfo.h and tabular.h
153         * table.C (write_attribute): new, from tabular.C
154         * table.C (read_hlines): remove
155         * table.C (parse_hlines): new
156         * table.C (RowPosition): new
157         * table.C (parse_table): handle comments in hlines
158         * table.C (parse_table, handle_tabular): add longtable support
159         * table.C (handle_tabular): fix "unexpected dummy size" error message
160         * table.C (handle_tabular): fix off by one error for clines
161         * text.C (parse_environment): add longtable support
162
163 2004-12-14  Angus Leeming  <leeming@lyx.org>
164
165         * tex2lyx.C (main): no longer pass pointers to os::init.
166
167 2004-12-14  Angus Leeming  <leeming@lyx.org>
168
169         * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
170         to overcome bug in the MinGW port of g++ 3.4.2.
171
172 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
173
174         * Makefile.am (tex2lyx_LDADD): use boost variables
175
176 2004-11-27  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
177
178         * table.C (handle_colalign): handle comments
179         * table.C (handle_tabular): don't crash on clines with out of range
180         columns
181
182 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
183
184         * tex2lyx.C: remove format hack
185
186 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
187
188         * texparser.C (getNewline): new
189         * texparser.C (tokenize): fix bug 1730 by handling MAC line endings
190         correctly
191
192 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
193
194         * tex2lyx.C (formats): new, needed for libsupport.a
195
196 2004-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
197
198         * text.C (parse_text): replace newlines with spaces in arguments to
199         known latex commands, fixes bug 1620
200
201 2004-10-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
202
203         * preamble.C (end_preamble): change file format from 236 to 237
204         * preamble.C (h_use_geometry, h_use_bibtopic, h_tracking_changes):
205         change from "0" to "false"
206
207 2004-08-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
208
209         * preamble.C (end_preamble): change file format from 235 to 236
210         * preamble.C (end_preamble): add \begin_document, \begin_header and
211         \begin_body tags
212         * preamble.C (h_papersize): change from "Default" to "default"
213         * tex2lyx.C (tex2lyx): add end_body tag
214
215 2008-08-16  José Matos  <jamatos@lyx.org>
216
217         * context.C (begin_deeper, end_deeper):
218         * preamble.C (end_preamble):
219         * table.C (handle_tabular):
220         * text.C (end_inset, handle_ert, handle_comment):
221         (parse_text_attributes, parse_text): remove space at end of line.
222
223 2004-08-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
224
225         * preamble.C (split_options): new, split package options into vector
226         * preamble.C (add_package): new, add a package with options to
227         used_packages
228         * preamble.C, tex2lyx.h (used_packages): new map of used packages
229         and options
230         * preamble.C (handle_package): handle natbib and jurabib package
231         * preamble.C (handle_package): output a message for unhandled options
232         * preamble.C (parse_preamble): handle \jurabibsetup
233         * text.C (known_natbib_commands): new list of known natbib ccommands
234         * text.C (known_jurabib_commands): new list of known jurabib ccommands
235         * text.C (getCiteArguments): new, parse cite command arguments
236         * text.C (parse_text): handle natbib and jurabib citation commands
237
238 2004-07-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
239
240         * preamble.C (end_preamble): change file format from 228 to 235
241         * preamble.C (end_preamble): add use_bibtopic flag
242         * preamble.C (end_preamble): replace use_natbib with cite_engine
243         * preamble.C: change the paperpackage default from "default" to
244         "none". The old setting only worked by accident.
245         * tex2lyx.[Ch] (getMasterFilePath): new, needed for included graphics
246         * text.C (parse_environment): add sideways flag for float insets
247         * text.C (parse_text): add graphics file extension if necessary
248         * text.C (find_file): new helper function
249
250 2004-07-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
251
252         * math.C (parse_math): change tex "\\cr" line ending to "\\\\"
253         * table.C (parse_table): recognize tex "\\cr" line ending
254
255 2004-06-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
256
257         * math.C, preamble.C, tex2lyx.[Ch], text.C: const fixes
258         * context.[Ch]: new Font struct, and add it to Context
259         * text.C (parse_text): reset size after size change
260         * text.C: handle declaration form of font attribute changes (new
261         and old style)
262         * text.C (parse_text): handle \textmd, \textup and \textnormal
263         * text.C (parse_text_attributes): new
264
265 2004-06-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
266
267         * text.C (output_command_layout, parse_environment): fix bug 1446
268         by passing parent_context.deeper_paragraph to the child context
269
270 2004-06-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
271
272         * preamble.C, text.C: s/wether/whether/g
273         * text.C (eat_whitespace): new method
274         * texparser.C (getArg): use always curr_token().asInput()
275         * texparser.[Ch] (isParagraph): new method
276         * texparser.C (skip_spaces): handle "\n +\n" correctly
277         * texparser.[Ch] (asMode): remove, since it is unused
278
279 2004-05-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
280
281         * Makefile.am (BUILT_SOURCES): move lengthcommon.C from here...
282         (tex2lyx_SOURCES): ... to here
283
284         * lengthcommon.C: new file
285
286 2004-04-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
287
288         * preamble.C: recognize \lyxdot
289         * text.C (parse_text): translate \lyxdot in graphics file names
290         * text.C (handle_ert): translate '\n' (fixes %-newline combinations
291         in \def commands)
292
293 2004-03-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
294
295         * text.C (parse_text): handle vspaces like '1cm' correctly
296
297 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
298
299         * text.C (parse_box): "\\" -> '\\' in calls to contains.
300
301 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
302
303         * text.C: reorder the using statements.
304         (translate_len): remove usage of a uninitialized variable.
305         (isLayout): make it adaptable and constify operator()
306         (findLayout): reformat slightly and dont use the same var for
307         different things.
308
309 2004-01-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
310
311         * text.C: fix status tag output for ERT inset
312
313 2003-12-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
314
315         * preamble.C: Change file format from 225 to 228
316         * text.C: Convert minipages and parboxes to box insets
317         * text.C: Changes for format 228 (see ../../development/FORMAT)
318         * text.C: Add lyxgreyedout environment
319         * context.[Ch]: New function Context::add_extra_stuff()
320
321 2003-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
322
323         * text.C: Use the new VSpace inset (fixes a bug with added_space top)
324         * text.C: Fix \= in tabbing env again
325         * text.C: Fix invocation of parse_command()
326
327 2003-11-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
328
329         * tex2lyx.C:
330         * tex2lyx.h:
331         * text.C: Read a list of commands and their arguments from a reLyX
332         compatible syntax file in order to parse optional argumnts correctly.
333         * preamble.C:
334         * table.C:
335         * text.C:
336         * tex2lyx.C:
337         * texparser.C
338         * math.C: change size() to !empty() where it was used as bool
339
340 2003-11-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
341
342         * math.C:
343         * table.C:
344         * text.C:
345         * context.[Ch]: New functions Context::set_item(),
346         Context::new_paragraph(ostream & os) and Context::atParagraphStart()
347         to make Context usage more explicit
348         * texparser.[Ch]: Rework Parser::tokenize (see comment in texparser.h)
349         * table.C:
350         * math.C:
351         * texparser.C: Don't silently drop comments
352         * texparser.C: Token::asInput() does not append a space anymore
353         * texparser.[Ch]: Renamed Parser::prev_token() to Parser::curr_token().
354         New function Parser::prev_token() returns now really the previous token
355         * Context.[Ch]:
356         * text.C: Convert known vspaces at paragraph start to \\added_space_top
357         * preamble.C: Don't put out newlines twice.
358         * text.C: Fix minipage position bug
359         * text.C: Fix \labelwidthstring bug
360         * text.C: Recognize alignment environments
361         * text.C: Fix a few cases of incorrect context usage, resulting
362         in missing or superflous \begin_layout / \end_laout lines.
363
364 2003-10-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
365
366         * math.C:
367         * preamble.C:
368         * table.C:
369         * tex2lyx.C:
370         * tex2lyx.h:
371         * texparser.C:
372         * texparser.h:
373         * text.C:
374         - add \text{}, \intertext{} and \fbox{} support in mathmode.
375         - add support for some math environments like displaymath
376         - allow parsing of partial documents (for inclusion with \input).
377         - steal commandline switches -c and -f from reLyX to support the
378                      previous point
379         - add support for lengths with comma (4,5cm instead of 4.5cm) to
380                      minipage environments. Handle \textwidth etc. without factor
381         - rearrange active_environments.[push,pop]back() so that they are always
382                called in pairs
383         - write an error message if layout file could not be found.
384         - convert \begin{comment}...\end{comment} to comment inset
385         - handle \= correctly inside tabbing environments
386         - fix multicolumn vertical rule bug in tables
387         - add missing \includegraphics options
388         - output minipages with latex lengths as ERT, since lyx cannot handle them
389         - recognize \textsl{}
390         - remove duplicate \ldots
391         - recognize \bibliographystyle and \bibliography
392         - handle \psfrag{ps-text}[ps-pos][tex-pos]{tex-text} correctly
393         - handle environments in table cells correctly
394         - add missing -userdir and -sysdir commandline switches
395         - recognize start of appendix
396         - handle optional arg to \item as ERT in itemize environment, since LyX
397                      does not support it directly
398
399 2003-10-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
400
401         * Makefile.am (BUILT_SOURCES): use this instead of "linked_files"
402         and the link_files target. make the BUILT_SOURCES dependency
403         automatically link the needed files.
404
405 2003-10-14  Angus Leeming  <leeming@lyx.org>
406
407         * Makefile.am: move boost.C from the linked_files section
408         to the tex2lyx_SOURCES section.
409
410         * boost.C: new file. Simpler than the version in the main lyx source.
411         No reference to the emergencyCleanup stuff.
412
413         * tex2lyx.C: remove emergencyCleanup() stuff.
414
415 2003-10-08  Angus Leeming  <leeming@lyx.org>
416
417         Fix doxygen warnings.
418
419         * Spacing.h: \file Spacing.h -> \file tex2lyx/Spacing.h
420         * gettext.C: \file gettext.C -> \file tex2lyx/gettext.C
421         * gettext.h: \file gettext.h -> \file tex2lyx/gettext.h
422         * lyxfont.C: \file lyxfont.C -> \file tex2lyx/lyxfont.C
423         * lyxfont.h: \file lyxfont.h -> \file tex2lyx/lyxfont.h
424         * text.C:    \file text.C    -> \file tex2lyx/text.C
425
426 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
427
428         * tex2lyx.C: adjust for new debugstream.
429
430 2003-09-08  Angus Leeming  <leeming@lyx.org>
431
432         * math.C:
433         * preamble.C:
434         * table.C:
435         * tex2lyx.C:
436         * texparser.C: remove redundant using directives.
437
438 2003-08-19  Angus Leeming  <leeming@lyx.org>
439
440         * most files: add 'standard conformant' header blurb.
441         Also add Jean-Marc as an author where appropriate.
442
443 2003-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * Makefile.am (EXTRA_DIST):
446         * test-insets.tex: new file. Describes the insets and special
447         characters that tex2lyx handles.
448
449         * text.C (parse_text): support \vref, \vpageref (only one optional
450         argument), \prettyref; add support for include inset; when \\ has
451         optional arguments, use ERT; support also \listoffigures,
452         \listoftables, and \listof{xxx} for existing float types;
453         translate lenghts properly for graphics inset.
454         (parse_environment): add support for minipages
455
456         * text.C (translate_len): A simple function to translate a latex
457         length to something lyx can understand. Not perfect, but rather
458         best-effort.
459
460 2003-08-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
461
462         * text.C (parse_text): special handling for \item and \bibitem
463         macros
464
465         * context.C (begin_layout, end_layout, begin_deeper, end_deeper):
466         tiny helper functions
467         (check_layout):
468         (check_end_deeper): add special handling for the case of a normal
469         paragraph inside a list-like environment.
470
471         * test-structure.tex: add more stuff there
472
473 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
474
475         * context.h: compile fix
476
477 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
478
479         * text.C: some tweaks to make nesting work. What still does not
480         work is nesting a standard paragraph in a list.
481
482         * test-structure.tex: update a bit
483
484         * context.C (check_deeper, check_end_deeper): new methods to
485         handle the *_deeper stuff
486
487         * preamble.C (end_preamble): small tweaks
488
489 2003-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         * text.C: update to use Context struct, and more notably:
492         (cap, check_layout, check_end_layout): remove
493         (parse_text_snippet): new thin wrapper around parse_text, used for
494         things like \textrm{...}
495         (parse_environment): remove existing depth handling code, which is
496         handled transparently by the Context struct; make unknown
497         environments work (again?) through ERT
498
499         * test-structure.tex: new test file, used to try out various
500         layouts combinations
501
502         * tex2lyx.C:
503         * tex2lyx.h:
504         * table.C: update to use Context struct
505
506         * context.[Ch]: new helper struct which is passed to parse_*
507         functions and handles *_layout and *_deeper tags output
508
509         * Makefile.am (EXTRA_DIST): new file test-structure.tex
510         (tex2lyx_SOURCES): add context.[Ch]
511
512 2003-07-30  Angus Leeming  <leeming@lyx.org>
513
514         * Makefile.am: Hide the fact that we re-generate those symbolic links
515         brainlessly.
516
517 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
518
519         * text.C (check_layout): \layout -> \begin_layout
520         (parse_text_in_inset): convenience function
521
522         * tex2lyx.C (main): \the_end -> \end_document
523
524         * preamble.C (end_preamble): update version number to 225
525
526         * text.C (parse_text): replace test on "lyxcode" with test on
527         LyXLayout::freespacing.
528         (check_end_layout): new function, used to check whether we need to
529         add an \end_layout
530
531 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
532
533         * tex2lyx.C (clean_layouts): remove
534
535         * text.C: output lazily the \layout commands using the
536         check_layout function. Remove all explicit \layout tags.
537         (parse_text): pass an optional parameter 'layout'
538         (handle_par): remove
539
540         * text.C (output_command_layout): renamed from output_layout
541         (parse_environment): new method containing a part of parse_text
542
543         * tex2lyx.C:
544         * preamble.C:
545         * table.C: \begin_layout -> \layout. We are not quite ready for
546         that yet
547
548 2003-07-28  José Matos  <jamatos@lyx.org>
549
550         * text.C:
551         * tex2lyx.C:
552         * preamble.C:
553         * table.C: \layout -> \begin_layout.
554
555 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
556
557         * text.C (parse_text): read environment from layout file too. Now,
558         all layout entries are supported (but many hacks remain); note
559         that the nesting support is broken and will have to be completely
560         redone
561         (parse_text): basic support for english double quotes
562
563         * table.C (handle_tabular): make the output more similar to LyX
564         and fix a little
565
566         * text.C (output_layout): fix handling of optional argument
567         (parse_text): small tweaks to make output format closer to lyx
568         format; support \tableofcontents; fix/improve support for various
569         special characters
570
571 2003-07-27  Angus Leeming  <leeming@lyx.org>
572
573         * Makefile.am: remove unused graphics_link_files cruft.
574         Thanks, Kayvan!
575
576 2003-07-27  Angus Leeming  <leeming@lyx.org>
577
578         * tex2lyx.C: add Debug::ANY hack.
579
580         * text.C: remove hardcoded command layouts.
581
582 2003-07-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * text.C (parse_text): fix handling of \LaTeXe macro
585
586 2003-07-26  Angus Leeming  <leeming@lyx.org>
587
588         * Spacing.h:
589         * lyxfont.[Ch]:
590         * gettext.[Ch]: minimal (near empty) analogues of the real LyX
591         files; enough to get LyXTextClass and LyXLayout to compile without
592         needing to store any real information about Spacing or Font.
593
594         * Makefile.am: add these files above and also include a minimal
595         chunk of the main lyx source tree as soft links in order to add in
596         LyXTextClass and LyXLayout.
597
598         * .cvsignore: add all these soft links.
599
600         * preamble.C (end_preamble): passed a LyXTextClass arg.
601         (parse_preamble): returns the document LyXTextClass.
602
603         * tabular.C (handle_tabular): passed a LyXTextClass arg. In turn
604         pass it to parse_text.
605
606         * tex2lyx.C: add some global vars, build_lyxdir et al. For now,
607         give them some horrible hard-coded value.
608         (main): receive a LyXTextClass var from parse_preamble and pass it
609         on to parse_text.
610
611         * text.C (parse_text): receives a LyXTextClass arg. Use it to
612         remove the hard-coded handling of floats and instead check the
613         textclass for its existence. Also handle wide floats naturally.
614
615         * tex2lyx.h: associated changes to function declarations.
616
617 2003-07-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
618
619         * texparser.C (catInit): same warning avoidance as in math_parser.C
620         (setCatCode): cast to safe type
621         (getCatCode): ditto
622
623 2003-05-17  Joao Luis M. Assirati  <assirati@fma.if.usp.br>
624
625         * texparser.C: fix paragraph parsing after comment
626
627 2003-04-29  André Pönitz  <poenitz@gmx.net>
628
629         * Makefile.am:
630           texparser.h: whitespace
631
632 2003-04-20  Kayvan A. Sylvan  <kayvan@sylvan.com>
633
634         * table.C: use string::erase(), not string::clear() to enable older
635         versions of gcc to compile the code.
636
637 2003-04-17  André Pönitz  <poenitz@gmx.net>
638
639         * math.C:
640           preamble.C:
641           table.C:
642     text.C: new files
643
644         * table.C: better table handling
645
646         * tex2lyx.C: lots of small changes
647
648 2003-02-25  Angus Leeming  <leeming@lyx.org>
649
650         * .cvsignore: ignore *.lo and libtexparser.la.
651
652 2003-02-20  Angus Leeming  <leeming@lyx.org>
653
654         * tex2lyx.C: swap <sstream> for "Lsstream.h".
655
656 2003-02-11  Angus Leeming  <leeming@lyx.org>
657
658         * tex2lyx.C (handle_opt): prevent infinite loop if opts is empty.
659         (handle_package): new function, factoring code out of Parser::parse.
660         (trim): copied across from support/lstrings.C
661         (Parser::parse): handle '\usepackage{foo, bar}'.
662
663 2003-02-11  André Pönitz  <poenitz@gmx.net>
664
665         * tex2lyx.C: first shot at real code
666
667 2003-02-11  Angus Leeming  <leeming@lyx.org>
668
669         * .cvsignore: new file.
670
671 2003-02-10  Angus Leeming  <leeming@lyx.org>
672
673         * Makefile.am: empty, dummy file so that autogen.sh and configure
674         are happy.