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