]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/ChangeLog
status tag patch from Georg
[lyx.git] / src / tex2lyx / ChangeLog
1 2004-01-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * text.C: fix status tag output for ERT inset
4
5 2003-12-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
6
7         * preamble.C: Change file format from 225 to 228
8         * text.C: Convert minipages and parboxes to box insets
9         * text.C: Changes for format 228 (see ../../development/FORMAT)
10         * text.C: Add lyxgreyedout environment
11         * context.[Ch]: New function Context::add_extra_stuff()
12
13 2003-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
14
15         * text.C: Use the new VSpace inset (fixes a bug with added_space top)
16         * text.C: Fix \= in tabbing env again
17         * text.C: Fix invocation of parse_command()
18
19 2003-11-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
20
21         * tex2lyx.C:
22         * tex2lyx.h:
23         * text.C: Read a list of commands and their arguments from a reLyX
24         compatible syntax file in order to parse optional argumnts correctly.
25         * preamble.C:
26         * table.C:
27         * text.C:
28         * tex2lyx.C:
29         * texparser.C
30         * math.C: change size() to !empty() where it was used as bool
31
32 2003-11-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
33
34         * math.C:
35         * table.C:
36         * text.C:
37         * context.[Ch]: New functions Context::set_item(),
38         Context::new_paragraph(ostream & os) and Context::atParagraphStart()
39         to make Context usage more explicit
40         * texparser.[Ch]: Rework Parser::tokenize (see comment in texparser.h)
41         * table.C:
42         * math.C:
43         * texparser.C: Don't silently drop comments
44         * texparser.C: Token::asInput() does not append a space anymore
45         * texparser.[Ch]: Renamed Parser::prev_token() to Parser::curr_token().
46         New function Parser::prev_token() returns now really the previous token
47         * Context.[Ch]:
48         * text.C: Convert known vspaces at paragraph start to \\added_space_top
49         * preamble.C: Don't put out newlines twice.
50         * text.C: Fix minipage position bug
51         * text.C: Fix \labelwidthstring bug
52         * text.C: Recognize alignment environments
53         * text.C: Fix a few cases of incorrect context usage, resulting
54         in missing or superflous \begin_layout / \end_laout lines.
55
56 2003-10-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
57
58         * math.C:
59         * preamble.C:
60         * table.C:
61         * tex2lyx.C:
62         * tex2lyx.h:
63         * texparser.C:
64         * texparser.h:
65         * text.C:
66         - add \text{}, \intertext{} and \fbox{} support in mathmode.
67         - add support for some math environments like displaymath
68         - allow parsing of partial documents (for inclusion with \input).
69         - steal commandline switches -c and -f from reLyX to support the
70                      previous point
71         - add support for lengths with comma (4,5cm instead of 4.5cm) to
72                      minipage environments. Handle \textwidth etc. without factor
73         - rearrange active_environments.[push,pop]back() so that they are always
74                called in pairs
75         - write an error message if layout file could not be found.
76         - convert \begin{comment}...\end{comment} to comment inset
77         - handle \= correctly inside tabbing environments
78         - fix multicolumn vertical rule bug in tables
79         - add missing \includegraphics options
80         - output minipages with latex lengths as ERT, since lyx cannot handle them
81         - recognize \textsl{}
82         - remove duplicate \ldots
83         - recognize \bibliographystyle and \bibliography
84         - handle \psfrag{ps-text}[ps-pos][tex-pos]{tex-text} correctly
85         - handle environments in table cells correctly
86         - add missing -userdir and -sysdir commandline switches
87         - recognize start of appendix
88         - handle optional arg to \item as ERT in itemize environment, since LyX
89                      does not support it directly
90
91 2003-10-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
92
93         * Makefile.am (BUILT_SOURCES): use this instead of "linked_files"
94         and the link_files target. make the BUILT_SOURCES dependency
95         automatically link the needed files.
96
97 2003-10-14  Angus Leeming  <leeming@lyx.org>
98
99         * Makefile.am: move boost.C from the linked_files section
100         to the tex2lyx_SOURCES section.
101
102         * boost.C: new file. Simpler than the version in the main lyx source.
103         No reference to the emergencyCleanup stuff.
104
105         * tex2lyx.C: remove emergencyCleanup() stuff.
106
107 2003-10-08  Angus Leeming  <leeming@lyx.org>
108
109         Fix doxygen warnings.
110
111         * Spacing.h: \file Spacing.h -> \file tex2lyx/Spacing.h
112         * gettext.C: \file gettext.C -> \file tex2lyx/gettext.C
113         * gettext.h: \file gettext.h -> \file tex2lyx/gettext.h
114         * lyxfont.C: \file lyxfont.C -> \file tex2lyx/lyxfont.C
115         * lyxfont.h: \file lyxfont.h -> \file tex2lyx/lyxfont.h
116         * text.C:    \file text.C    -> \file tex2lyx/text.C
117
118 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
119
120         * tex2lyx.C: adjust for new debugstream.
121
122 2003-09-08  Angus Leeming  <leeming@lyx.org>
123
124         * math.C:
125         * preamble.C:
126         * table.C:
127         * tex2lyx.C:
128         * texparser.C: remove redundant using directives.
129
130 2003-08-19  Angus Leeming  <leeming@lyx.org>
131
132         * most files: add 'standard conformant' header blurb.
133         Also add Jean-Marc as an author where appropriate.
134
135 2003-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
136
137         * Makefile.am (EXTRA_DIST):
138         * test-insets.tex: new file. Describes the insets and special
139         characters that tex2lyx handles.
140
141         * text.C (parse_text): support \vref, \vpageref (only one optional
142         argument), \prettyref; add support for include inset; when \\ has
143         optional arguments, use ERT; support also \listoffigures,
144         \listoftables, and \listof{xxx} for existing float types;
145         translate lenghts properly for graphics inset.
146         (parse_environment): add support for minipages
147
148         * text.C (translate_len): A simple function to translate a latex
149         length to something lyx can understand. Not perfect, but rather
150         best-effort.
151
152 2003-08-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * text.C (parse_text): special handling for \item and \bibitem
155         macros
156
157         * context.C (begin_layout, end_layout, begin_deeper, end_deeper):
158         tiny helper functions
159         (check_layout):
160         (check_end_deeper): add special handling for the case of a normal
161         paragraph inside a list-like environment.
162
163         * test-structure.tex: add more stuff there
164
165 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
166
167         * context.h: compile fix
168
169 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * text.C: some tweaks to make nesting work. What still does not
172         work is nesting a standard paragraph in a list.
173
174         * test-structure.tex: update a bit
175
176         * context.C (check_deeper, check_end_deeper): new methods to
177         handle the *_deeper stuff
178
179         * preamble.C (end_preamble): small tweaks
180
181 2003-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
182
183         * text.C: update to use Context struct, and more notably:
184         (cap, check_layout, check_end_layout): remove
185         (parse_text_snippet): new thin wrapper around parse_text, used for
186         things like \textrm{...}
187         (parse_environment): remove existing depth handling code, which is
188         handled transparently by the Context struct; make unknown
189         environments work (again?) through ERT
190
191         * test-structure.tex: new test file, used to try out various
192         layouts combinations
193
194         * tex2lyx.C:
195         * tex2lyx.h:
196         * table.C: update to use Context struct
197
198         * context.[Ch]: new helper struct which is passed to parse_*
199         functions and handles *_layout and *_deeper tags output
200
201         * Makefile.am (EXTRA_DIST): new file test-structure.tex
202         (tex2lyx_SOURCES): add context.[Ch]
203
204 2003-07-30  Angus Leeming  <leeming@lyx.org>
205
206         * Makefile.am: Hide the fact that we re-generate those symbolic links
207         brainlessly.
208
209 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * text.C (check_layout): \layout -> \begin_layout
212         (parse_text_in_inset): convenience function
213
214         * tex2lyx.C (main): \the_end -> \end_document
215
216         * preamble.C (end_preamble): update version number to 225
217
218         * text.C (parse_text): replace test on "lyxcode" with test on
219         LyXLayout::freespacing.
220         (check_end_layout): new function, used to check whether we need to
221         add an \end_layout
222
223 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
224
225         * tex2lyx.C (clean_layouts): remove
226
227         * text.C: output lazily the \layout commands using the
228         check_layout function. Remove all explicit \layout tags.
229         (parse_text): pass an optional parameter 'layout'
230         (handle_par): remove
231
232         * text.C (output_command_layout): renamed from output_layout
233         (parse_environment): new method containing a part of parse_text
234
235         * tex2lyx.C:
236         * preamble.C:
237         * table.C: \begin_layout -> \layout. We are not quite ready for
238         that yet
239
240 2003-07-28  José Matos  <jamatos@lyx.org>
241
242         * text.C:
243         * tex2lyx.C:
244         * preamble.C:
245         * table.C: \layout -> \begin_layout.
246
247 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
248
249         * text.C (parse_text): read environment from layout file too. Now,
250         all layout entries are supported (but many hacks remain); note
251         that the nesting support is broken and will have to be completely
252         redone
253         (parse_text): basic support for english double quotes
254
255         * table.C (handle_tabular): make the output more similar to LyX
256         and fix a little
257
258         * text.C (output_layout): fix handling of optional argument
259         (parse_text): small tweaks to make output format closer to lyx
260         format; support \tableofcontents; fix/improve support for various
261         special characters
262
263 2003-07-27  Angus Leeming  <leeming@lyx.org>
264
265         * Makefile.am: remove unused graphics_link_files cruft.
266         Thanks, Kayvan!
267
268 2003-07-27  Angus Leeming  <leeming@lyx.org>
269
270         * tex2lyx.C: add Debug::ANY hack.
271
272         * text.C: remove hardcoded command layouts.
273
274 2003-07-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * text.C (parse_text): fix handling of \LaTeXe macro
277
278 2003-07-26  Angus Leeming  <leeming@lyx.org>
279
280         * Spacing.h:
281         * lyxfont.[Ch]:
282         * gettext.[Ch]: minimal (near empty) analogues of the real LyX
283         files; enough to get LyXTextClass and LyXLayout to compile without
284         needing to store any real information about Spacing or Font.
285
286         * Makefile.am: add these files above and also include a minimal
287         chunk of the main lyx source tree as soft links in order to add in
288         LyXTextClass and LyXLayout.
289
290         * .cvsignore: add all these soft links.
291
292         * preamble.C (end_preamble): passed a LyXTextClass arg.
293         (parse_preamble): returns the document LyXTextClass.
294
295         * tabular.C (handle_tabular): passed a LyXTextClass arg. In turn
296         pass it to parse_text.
297
298         * tex2lyx.C: add some global vars, build_lyxdir et al. For now,
299         give them some horrible hard-coded value.
300         (main): receive a LyXTextClass var from parse_preamble and pass it
301         on to parse_text.
302
303         * text.C (parse_text): receives a LyXTextClass arg. Use it to
304         remove the hard-coded handling of floats and instead check the
305         textclass for its existence. Also handle wide floats naturally.
306
307         * tex2lyx.h: associated changes to function declarations.
308
309 2003-07-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
310
311         * texparser.C (catInit): same warning avoidance as in math_parser.C
312         (setCatCode): cast to safe type
313         (getCatCode): ditto
314
315 2003-05-17  Joao Luis M. Assirati  <assirati@fma.if.usp.br>
316
317         * texparser.C: fix paragraph parsing after comment
318
319 2003-04-29  André Pönitz  <poenitz@gmx.net>
320
321         * Makefile.am:
322           texparser.h: whitespace
323
324 2003-04-20  Kayvan A. Sylvan  <kayvan@sylvan.com>
325
326         * table.C: use string::erase(), not string::clear() to enable older
327         versions of gcc to compile the code.
328
329 2003-04-17  André Pönitz  <poenitz@gmx.net>
330
331         * math.C:
332           preamble.C:
333           table.C:
334     text.C: new files
335
336         * table.C: better table handling
337
338         * tex2lyx.C: lots of small changes
339
340 2003-02-25  Angus Leeming  <leeming@lyx.org>
341
342         * .cvsignore: ignore *.lo and libtexparser.la.
343
344 2003-02-20  Angus Leeming  <leeming@lyx.org>
345
346         * tex2lyx.C: swap <sstream> for "Lsstream.h".
347
348 2003-02-11  Angus Leeming  <leeming@lyx.org>
349
350         * tex2lyx.C (handle_opt): prevent infinite loop if opts is empty.
351         (handle_package): new function, factoring code out of Parser::parse.
352         (trim): copied across from support/lstrings.C
353         (Parser::parse): handle '\usepackage{foo, bar}'.
354
355 2003-02-11  André Pönitz  <poenitz@gmx.net>
356
357         * tex2lyx.C: first shot at real code
358
359 2003-02-11  Angus Leeming  <leeming@lyx.org>
360
361         * .cvsignore: new file.
362
363 2003-02-10  Angus Leeming  <leeming@lyx.org>
364
365         * Makefile.am: empty, dummy file so that autogen.sh and configure
366         are happy.