1 LyX file-format changes
2 -----------------------
5 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7 * format incremented to 232.
9 * Support for bibtopic (sectioned bibliographies).
10 - bufferparam \use_bibtopic [1|0]
11 - the bibtex inset has a second argument for bibtopic's
12 btPrint{Cited|NotCited|All} command:
14 \begin_inset LatexCommand \bibtex[<style>]{<database>}
16 \begin_inset LatexCommand \bibtex[<style>][<btPrintX>]{<database>}
17 Forwards, there's nothing to be done. Backwards, \usepackage[dot]{bibtopic}
18 has to be inserted to the preamble. Instead of the bibtex inset, the LaTeX
19 \bibliographystyle{<style>}
20 \begin{btSect}{<database>}
25 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
27 * format incremented to 231.
29 * Support for sidewaysfigure/sidewaystable (rotating package).
30 insetfloat has now a param \sideways [true|false] (default is false).
31 The param should be erased on downwards conversion, if it was true,
32 the inset should be replaced by
33 \begin{sidewaysfigure} <content> \end{sidewaysfigure}
35 \begin{sidewaystable} <content> \end{sidewaystable}
38 2004-02-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
40 * format incremented to 230.
42 * Support for a second optional argument in insetcommand.
43 currently, citation uses this to support natbibs second
44 optional argument \cite[before][after]{key}.
45 I think there's nothing to convert upwards. Downwards, the
46 commands with 2 optional args need to be converted to ERT.
48 * Support for jurabib (param \use_jurabib [1|0], default is 0).
49 When converting downwards, \usepackage{jurabib} has to be added
50 to the preamble and, if babel is used, \usepackage{babel} before
51 (jurabib fails if babel is called afterwards). If the natbib commands
52 are used together with jurabib, they have to be converted to ERT too.
54 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
56 * format incremented to 229.
57 * Minipages cannot be read anymore. All minipage insets will
58 be converted to frameless box insets between 228->229.
60 2003-12-15 Angus Leeming <leeming@lyx.org>
62 * format incremented to 228.
63 * Change the output of all insets derived from InsetCollapsable
64 except for InsetERT (which has a similar output already), changing lines
65 "collapsed true" -> "status collapsed"
66 "collapsed false" -> "status open".
67 * Change the output of InsetERT, changing lines
68 "status Collapsed" -> "status collapsed"
69 "status Open" -> "status open".
70 "status Inlined" -> "status inlined".
72 2003-12-10 Angus Leeming <leeming@lyx.org>
74 * format NOT incremented.
75 * add a 'draft' option to InsetExternal.
77 2003-12-10 Angus Leeming <leeming@lyx.org>
79 * format incremented to 227.
80 * Change the output of InsetBox:
81 \begin_inset Boxed -> \begin_inset Box Boxed
82 \begin_inset Doublebox -> \begin_inset Box Doublebox
83 \begin_inset Frameless -> \begin_inset Box Frameless
84 \begin_inset ovalbox -> \begin_inset Box ovalbox
85 \begin_inset Ovalbox -> \begin_inset Box Ovalbox
86 \begin_inset Shadowbox -> \begin_inset Box Shadowbox
88 2003-12-10 Angus Leeming <leeming@lyx.org>
90 * format incremented to 226.
91 * Change the output of InsetNote:
92 \begin_inset Note -> \begin_inset Note Note
93 \begin_inset Comment -> \begin_inset Note Comment
94 \begin_inset Greyedout -> \begin_inset Note Greyedout
96 2003-11-28 André Pönitz
98 * Remove space_above/space_below from Paragraph.
99 This is now handled by InsetVSpace.
101 2003-10-07 Angus Leeming <leeming@lyx.org>
103 * Add transformations to InsetExternal
105 boundingBox 0 0 20 20 the dimensions of the B.B..
106 Output if the B.B. is not empty.
107 clip clip the image to the B.B.
109 extra LaTeX "draft" 'extra' data passed to the primary
110 command for this output format.
111 (Possible formats LaTeX, PDFLaTeX,
112 LinuxDoc, DocBook, Ascii.)
113 The string can contain spaces and so
115 rotateAngle 30 Rotation of the data.
116 Output for non-zero rotation only.
117 rotateOrigin bottomleft Rotation origin.
118 Output for non-zero rotation and
119 non-default origin (center) only.
121 width 2cm Output only if the image is resized.
125 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
127 * Added box inset. File format:
129 \begin_inset Ovalbox Boxed/Frameless/ovalbox/Ovalbox
134 inner_pos "b" t/c/b/s
136 width "100col%" unit+width-string
137 special "none" none/height/depth
139 height "1in" unit+width-string
140 height_special "totalheight" none/height/depth
142 collapsed false true/false
144 \begin_layout Standard
151 This box (Frameless, has_inner_box=1, use_parbox=0) replaces
152 the pre-existing Minipage inset. Parameters translate as follows:
153 position 0/1/2 -> t/c/b
154 inner_position 0/1/2/3 -> inner_pos c/t/b/s
159 2003-08-19 Michael Schmitt <michael.schmitt@teststep.org>
161 * attribute valignment="center" is replaced by valignment="middle"
162 for tabular columns and cells
164 2003-07-28 José Matos <jamatos@lyx.org>
166 * \the_end is replaced with \end_document
168 2003-07-28 José Matos <jamatos@lyx.org>
170 * \layout is replaced with \begin_layout
172 2003-07-28 José Matos <jamatos@fep.up.pt>
176 * All layouts finish now with \end_layout
178 2003-06-04 Angus Leeming <leeming@lyx.org>
182 * the storage of the external inset has been changed from
184 \begin_inset External XFig,"file.fig",""
190 \begin_inset External
193 display <display_type>
198 throwing away the final arg (here "", more generally "<string>") that holds
199 the parameters variable.
200 Variables are output if present (filename) or different from the default
201 values (display, lyxscale).
203 Moreover, the RasterImage template has been scrapped. All RasterImage
204 external insets are now converted to Graphics insets.
206 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
208 * Added new space insets:
209 \SpecialChar ~ is now \InsetSpace ~
210 ERT: "\ " could be converted to InsetSpace \<space>
211 ERT: "\," could be converted to InsetSpace \,
213 2003-03-12 John Levon <levon@movementarian.org>
215 * Added \\end_header to signify the end of the header in a
218 * use_amsmath is now a tristate {0 = never, 1 = auto, 2 = always}
220 2003-02-10 John Levon <levon@movementarian.org>
224 Added \\tracking_changes 0|1 to the header.
226 Added \\author to the header. This can be present multiple
227 times, and is of the form :
229 \\author "Real Name" email@address.com
231 Added \\change_deleted, \\change_inserted. Each of these does not
232 span a paragraph, and is delimited by "\\change_unchanged\n". Both are
235 \\change_inserted author time
237 where author is an integer ID reference into the author list in
238 the header, and time is time_t.
240 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
242 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
244 2002-08-22 Rob Lahaye <lahaye@snu.ac.kr>
246 New graphics dialog. With the removal of buttons in the dialog, also
247 keywords in the graphics inset went. The following keywords do not
257 Only non-default values are saved to the lyx files. The defaults of the remaining
267 BoundingBox <from file>
270 rotateOrigin centerBaseline
272 subcaptionText <empty>
275 The remaining keywords have sufficient overlap with the old ones for a
276 smooth reading of the 1.2.x inset keywords in most common cases.
278 Compatibility is certainly broken for the old lyxwidth/lyxheight keywords.
279 They don't exist anymore and we can't translate them into a scaling value, while
280 we're reading the graphics inset. The old lyxwidth/lyxheight keyword and its
281 argument is ignored and lost.
283 Only few compatibility issues are left for lyx2lyx:
285 ------------------------------------------------------------------------------
286 old-token new-token remove
287 ------------------------------------------------------------------------------
288 size_kind original / size_type 0 scale 100 width <val>
292 size_kind width_height / size_type 1 - scale <val>
294 lyxsize_kind original / lyxsize_type 0 lyxscale 100 lyxscale <val>
295 ------------------------------------------------------------------------------
296 [replace old-token by new-token, and remove any of subsequent tokens as listed]
298 If "rotate" is absent, lyx2lyx should ignore "rotateAngle <val>":
299 if ( "rotateAngle <val>" is there WITHOUT being preceded by the keyword "rotate" )
301 replace "rotateAngle <val>" by "rotateAngle 0"
304 2002-08-12 Andre' Poenitz <poenitz@gmx.de>
306 Added \lyxlock for locked math inset when written to .lyx file.
307 When "downgrading" .lyx files this should simple be deleted but it
308 does not hurt at all if it stays in. It does not have to be added
312 2002-08-02 Angus Leeming <leeming@lyx.org>
314 Added a boolean "preview" flag to InsetCommandParams.
315 Currently it is written only by InsetInclude, because only this
316 class can generate a preview of its contents.
318 The LyX file now contains:
320 \begin_inset Include \input{snapshot_t=40.tex}
325 Earlier versions of LyX just swallow this extra token silently.
327 2002-08-12 Angus Leeming <leeming@lyx.org>
329 The 1.2.0 InsetGraphicsParams "size_type" and "lyxsize_type" have been
330 renamed as "size_kind" and "lyxsize_kind" respectively.
332 \begin_inset Graphics FormatVersion 1
339 - lyxsize_kind original
340 + lyxsize_type original