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