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