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