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