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