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