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