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