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