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