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