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