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