1 LyX file-format changes
2 -----------------------
4 2004-10-10 José Matos <jamatos@lyx.org>
7 * In the header, the following statments use now booleans values,
13 2004-08-15 José Matos <jamatos@lyx.org>
15 * format incremented to 236.
22 * The options for \papersize are changed:
25 * All whitespaces are removed at the end of lines, when
26 not necessary. As an example we have all the lines in the header that
27 do not belong to the preamble.
29 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
31 * format incremented to 235.
32 * \paperpackage had an off-by-one error. Translation table:
34 234: a4 a4wide widemarginsa4
35 235: none a4 a4wide widemarginsa4
37 The "widemarginsa4" setting of 235 has no equivalent in 234.
39 2004-05-12 Angus Leeming <leeming@lyx.org>
41 * format incremented to 234.
42 * the citation engine is specified explicitly rather than being
46 \use_numerical_citations 0 -> \cite_engine <style>
49 where <style> is one of "basic", "natbib_authoryear",
50 "natbib_numerical" or "jurabib".
52 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
54 * format incremented to 233.
55 * insetgraphics does not allow filenames without extension anymore.
56 The complete filename has to be given.
58 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
60 * format incremented to 232.
62 * Support for bibtopic (sectioned bibliographies).
63 - bufferparam \use_bibtopic [1|0]
64 - the bibtex inset has a second argument for bibtopic's
65 btPrint{Cited|NotCited|All} command:
67 \begin_inset LatexCommand \bibtex[<style>]{<database>}
69 \begin_inset LatexCommand \bibtex[<style>][<btPrintX>]{<database>}
70 Forwards, there's nothing to be done. Backwards, \usepackage[dot]{bibtopic}
71 has to be inserted to the preamble. Instead of the bibtex inset, the LaTeX
72 \bibliographystyle{<style>}
73 \begin{btSect}{<database>}
78 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
80 * format incremented to 231.
82 * Support for sidewaysfigure/sidewaystable (rotating package).
83 insetfloat has now a param \sideways [true|false] (default is false).
84 The param should be erased on downwards conversion, if it was true,
85 the inset should be replaced by
86 \begin{sidewaysfigure} <content> \end{sidewaysfigure}
88 \begin{sidewaystable} <content> \end{sidewaystable}
91 2004-02-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
93 * format incremented to 230.
95 * Support for a second optional argument in insetcommand.
96 currently, citation uses this to support natbibs second
97 optional argument \cite[before][after]{key}.
98 I think there's nothing to convert upwards. Downwards, the
99 commands with 2 optional args need to be converted to ERT.
101 * Support for jurabib (param \use_jurabib [1|0], default is 0).
102 When converting downwards, \usepackage{jurabib} has to be added
103 to the preamble and, if babel is used, \usepackage{babel} before
104 (jurabib fails if babel is called afterwards). If the natbib commands
105 are used together with jurabib, they have to be converted to ERT too.
107 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
109 * format incremented to 229.
110 * Minipages cannot be read anymore. All minipage insets will
111 be converted to frameless box insets between 228->229.
113 2003-12-15 Angus Leeming <leeming@lyx.org>
115 * format incremented to 228.
116 * Change the output of all insets derived from InsetCollapsable
117 except for InsetERT (which has a similar output already), changing lines
118 "collapsed true" -> "status collapsed"
119 "collapsed false" -> "status open".
120 * Change the output of InsetERT, changing lines
121 "status Collapsed" -> "status collapsed"
122 "status Open" -> "status open".
123 "status Inlined" -> "status inlined".
125 2003-12-10 Angus Leeming <leeming@lyx.org>
127 * format NOT incremented.
128 * add a 'draft' option to InsetExternal.
130 2003-12-10 Angus Leeming <leeming@lyx.org>
132 * format incremented to 227.
133 * Change the output of InsetBox:
134 \begin_inset Boxed -> \begin_inset Box Boxed
135 \begin_inset Doublebox -> \begin_inset Box Doublebox
136 \begin_inset Frameless -> \begin_inset Box Frameless
137 \begin_inset ovalbox -> \begin_inset Box ovalbox
138 \begin_inset Ovalbox -> \begin_inset Box Ovalbox
139 \begin_inset Shadowbox -> \begin_inset Box Shadowbox
141 2003-12-10 Angus Leeming <leeming@lyx.org>
143 * format incremented to 226.
144 * Change the output of InsetNote:
145 \begin_inset Note -> \begin_inset Note Note
146 \begin_inset Comment -> \begin_inset Note Comment
147 \begin_inset Greyedout -> \begin_inset Note Greyedout
149 2003-11-28 André Pönitz
151 * Remove space_above/space_below from Paragraph.
152 This is now handled by InsetVSpace.
154 2003-10-07 Angus Leeming <leeming@lyx.org>
156 * Add transformations to InsetExternal
158 boundingBox 0 0 20 20 the dimensions of the B.B..
159 Output if the B.B. is not empty.
160 clip clip the image to the B.B.
162 extra LaTeX "draft" 'extra' data passed to the primary
163 command for this output format.
164 (Possible formats LaTeX, PDFLaTeX,
165 LinuxDoc, DocBook, Ascii.)
166 The string can contain spaces and so
168 rotateAngle 30 Rotation of the data.
169 Output for non-zero rotation only.
170 rotateOrigin bottomleft Rotation origin.
171 Output for non-zero rotation and
172 non-default origin (center) only.
174 width 2cm Output only if the image is resized.
178 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
180 * Added box inset. File format:
182 \begin_inset Ovalbox Boxed/Frameless/ovalbox/Ovalbox
187 inner_pos "b" t/c/b/s
189 width "100col%" unit+width-string
190 special "none" none/height/depth
192 height "1in" unit+width-string
193 height_special "totalheight" none/height/depth
195 collapsed false true/false
197 \begin_layout Standard
204 This box (Frameless, has_inner_box=1, use_parbox=0) replaces
205 the pre-existing Minipage inset. Parameters translate as follows:
206 position 0/1/2 -> t/c/b
207 inner_position 0/1/2/3 -> inner_pos c/t/b/s
212 2003-08-19 Michael Schmitt <michael.schmitt@teststep.org>
214 * attribute valignment="center" is replaced by valignment="middle"
215 for tabular columns and cells
217 2003-07-28 José Matos <jamatos@lyx.org>
219 * \the_end is replaced with \end_document
221 2003-07-28 José Matos <jamatos@lyx.org>
223 * \layout is replaced with \begin_layout
225 2003-07-28 José Matos <jamatos@fep.up.pt>
229 * All layouts finish now with \end_layout
231 2003-06-04 Angus Leeming <leeming@lyx.org>
235 * the storage of the external inset has been changed from
237 \begin_inset External XFig,"file.fig",""
243 \begin_inset External
246 display <display_type>
251 throwing away the final arg (here "", more generally "<string>") that holds
252 the parameters variable.
253 Variables are output if present (filename) or different from the default
254 values (display, lyxscale).
256 Moreover, the RasterImage template has been scrapped. All RasterImage
257 external insets are now converted to Graphics insets.
259 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
261 * Added new space insets:
262 \SpecialChar ~ is now \InsetSpace ~
263 ERT: "\ " could be converted to InsetSpace \<space>
264 ERT: "\," could be converted to InsetSpace \,
266 2003-03-12 John Levon <levon@movementarian.org>
268 * Added \\end_header to signify the end of the header in a
271 * use_amsmath is now a tristate {0 = never, 1 = auto, 2 = always}
273 2003-02-10 John Levon <levon@movementarian.org>
277 Added \\tracking_changes 0|1 to the header.
279 Added \\author to the header. This can be present multiple
280 times, and is of the form :
282 \\author "Real Name" email@address.com
284 Added \\change_deleted, \\change_inserted. Each of these does not
285 span a paragraph, and is delimited by "\\change_unchanged\n". Both are
288 \\change_inserted author time
290 where author is an integer ID reference into the author list in
291 the header, and time is time_t.
293 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
295 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
297 2002-08-22 Rob Lahaye <lahaye@snu.ac.kr>
299 New graphics dialog. With the removal of buttons in the dialog, also
300 keywords in the graphics inset went. The following keywords do not
310 Only non-default values are saved to the lyx files. The defaults of the remaining
320 BoundingBox <from file>
323 rotateOrigin centerBaseline
325 subcaptionText <empty>
328 The remaining keywords have sufficient overlap with the old ones for a
329 smooth reading of the 1.2.x inset keywords in most common cases.
331 Compatibility is certainly broken for the old lyxwidth/lyxheight keywords.
332 They don't exist anymore and we can't translate them into a scaling value, while
333 we're reading the graphics inset. The old lyxwidth/lyxheight keyword and its
334 argument is ignored and lost.
336 Only few compatibility issues are left for lyx2lyx:
338 ------------------------------------------------------------------------------
339 old-token new-token remove
340 ------------------------------------------------------------------------------
341 size_kind original / size_type 0 scale 100 width <val>
345 size_kind width_height / size_type 1 - scale <val>
347 lyxsize_kind original / lyxsize_type 0 lyxscale 100 lyxscale <val>
348 ------------------------------------------------------------------------------
349 [replace old-token by new-token, and remove any of subsequent tokens as listed]
351 If "rotate" is absent, lyx2lyx should ignore "rotateAngle <val>":
352 if ( "rotateAngle <val>" is there WITHOUT being preceded by the keyword "rotate" )
354 replace "rotateAngle <val>" by "rotateAngle 0"
357 2002-08-12 Andre' Poenitz <poenitz@gmx.de>
359 Added \lyxlock for locked math inset when written to .lyx file.
360 When "downgrading" .lyx files this should simple be deleted but it
361 does not hurt at all if it stays in. It does not have to be added
365 2002-08-02 Angus Leeming <leeming@lyx.org>
367 Added a boolean "preview" flag to InsetCommandParams.
368 Currently it is written only by InsetInclude, because only this
369 class can generate a preview of its contents.
371 The LyX file now contains:
373 \begin_inset Include \input{snapshot_t=40.tex}
378 Earlier versions of LyX just swallow this extra token silently.
380 2002-08-12 Angus Leeming <leeming@lyx.org>
382 The 1.2.0 InsetGraphicsParams "size_type" and "lyxsize_type" have been
383 renamed as "size_kind" and "lyxsize_kind" respectively.
385 \begin_inset Graphics FormatVersion 1
392 - lyxsize_kind original
393 + lyxsize_type original