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