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