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