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