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