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