1 LyX file-format changes
2 -----------------------§
4 2006-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
6 * format incremented to 253: new nomenclature and printnomenclature
7 insets. These are standard InsetCommand with the following parameters:
8 \nomenclature[prefix]{symbol}{description}
9 \printnomenclature[labelwidth]
11 2006-10-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
13 * format incremented to 252: changed command inset syntax
17 \begin_inset LatexCommand \cmdname[opt1][opt2]{arg}
28 \begin_inset LatexCommand cmdname
35 The order of the parameters and for each parameter the name and
36 optional/required bit is now stored in InsetCommandParams.
38 2006-10-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
40 * format incremented to 251: save show_label param for charstyles.
42 On revert, the show_label param is just removed. Nothing to convert.
44 2006-10-12 Martin Vermeer <martin.vermeer@hut.fi>
46 * Format incremented to 250: allow optional arg to environments
48 No material format change. Now optargs for environments are allowed
49 to be specified in layout files and will be handled properly. When
50 converted back to older formats, they will be ignored in LaTeX
53 2006-08-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
55 * format incremented to 249: Unicode
57 LyX documents are now always encoded in utf8. The value of
58 \inputencoding does now only determine the encoding of the created
60 Up to format 248 the value of \inputencoding did also determine the
61 encoding of the LyX file:
63 \inputencoding LyX file encoding
64 auto as determined by the document language
66 everything else as determined by \inputencoding
68 2006-07-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
70 * format incremented to 248: Basic booktabs support
72 The <features> tag has a new switch: booktabs="true|false".
73 An absent switch is equivalent to booktabs="false".
74 Horizontal lines are set with the booktabs package if this switch
77 The <row> tag of tabulars has the following new attributes:
78 topspace, bottomspace and interlinespace. All take a LyXLength
79 as value, or the special keyword "default".
81 2006-06-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
83 * format incremented to 247. The Grand Font Interface Rewrite.
84 (1) Split font selection to rm, sf, tt:
85 \fontscheme -> \font_roman, \font_sans, \font_typewriter
87 \fontscheme \font_roman \font_sans \font_typewriter
88 default default default default
90 times times default default
91 palatino palatino default default
92 helvet default helvet default
93 avant default avant default
94 newcent newcent default default
95 bookman bookman default default
96 pslatex times (or \usepackage{pslatex})
98 \font_roman: cmr (-> \renewcommand{\rmdefault}{cmr}),
99 lmodern, charter, utopia, ccfonts, chancery, beraserif
100 (-> \usepackage{<name>})
101 \font_sans: cmss, lmss, cmbr
102 (-> \renewcommand{\sfdefault}{<name>})
103 berasans (-> \usepackage{<name>})
104 \font_typewriter: cmtt, lmtt, cmtl,
105 (-> \renewcommand{\sfdefault}{<name>})
106 courier, luximono, beramono
107 (-> \usepackage{<name>})
108 (2) New param \font_default_family (rmdefault, sfdefault, ttdefault)
109 (3) New param \font_sc (true, false).
110 (4) New param \font_osf (true, false).
111 (5) New param \font_sf_scale (float)
112 (6) New param \font_tt_scale (float)
113 Support for the following fonts has been added:
114 bera, ccfonts, chancery, charter, cmbright, computer modern (explicitely),
115 courier, lmodern, luximono, utopia.
116 Support for the following font has been removed:
117 pslatex (it's superseded by mathptmx (times)).
119 2006-06-03 Martin Vermeer <martin.vermeer@hut.fi>
121 * format incremented to 246. The framed.sty package is
122 now supported with note types framed and shaded.
124 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
126 * format incremented to 245. The \quotes_times parameter
129 2005-09-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
131 * format incremented to 244. Rename '\InsetSpace \,'
132 to '\InsetSpace \thinspace{}', because the comma was
133 not parsed by lyxlex, and '\InsetSpace \space' to
134 '\InsetSpace \space{}' in favour of consistency.
136 2005-07-18 José Matos <jamatos@lyx.org>
138 * format incremented to 243.
140 * this change only affects the preamble, the paperpackage
141 option was removed and papersize is changed to default.
143 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * format incremented to 242. There is no file format per
146 se, but the "frenchb" language has been removed from lib/language
147 and has to be translated to "french" by lyx2lyx.
149 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
151 * format incremented to 241.
153 All following changes apply only to text in ERT insets. The
154 rationale is that text in ERT is simply ASCII text, and nothing more.
156 * paragraph breaks are now a single newline in latex and not a
157 paragraph break anymore (bug 698).
158 * \newline is not allowed anymore, because it is redundant (see above)
159 * layouts other than Standard, paragraph parameters and font changes
160 are not allowed anymore. They never made sense and were ignored for
161 latex output, but now they can't be read or set anymore (bug 922).
164 2005-01-23 Jürgen Spitzmüller <j.spitzmüller@gmx.de>
166 * format incremented to 240.
168 \output_changes {true|false}
169 (should the change tracking marks be visible in the output or not?)
170 * lyx2lyx should just delete the param in 239.
172 2005-01-06 José Matos <jamatos@lyx.org>
174 * format incremented to 239.
175 * the paragraph parameters are displayed in their own line. This
176 change is consistent with the insets behaviour, and corresponds
177 to a more uniform treatment of the paragraphs since some of them
178 had already their own line.
180 An example of a single paragraph follows:
182 \begin_layout Standard
183 \paragraph_spacing single
189 2004-12-03 José Matos <jamatos@lyx.org>
191 * format incremented to 238.
192 * The compatibility code to read old latex accents from 0.12.x in
193 InsetLatexAccent::checkContents has been removed.
194 The following translations are done:
196 "\i \xy" -> "\i \x{y}"
197 "\i \x y" -> "\i \x{y}"
198 "\i \x\i" -> "\i \x{\i}"
199 "\i \x\j" -> "\i \x{\j}"
200 x is a latex accent command, y the base character. \, i and j are
202 lyx did these changes already from 0.12.x -> 215, but not lyx2lyx,
203 so formats 215 - 237 can have both versions.
206 2004-10-10 José Matos <jamatos@lyx.org>
208 * format incremented to 237.
209 * In the header, the following statments use now booleans values,
215 2004-08-15 José Matos <jamatos@lyx.org>
217 * format incremented to 236.
224 * The options for \papersize are changed:
227 * All whitespaces are removed at the end of lines, when
228 not necessary. As an example we have all the lines in the header that
229 do not belong to the preamble.
231 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
233 * format incremented to 235.
234 * \paperpackage had an off-by-one error. Translation table:
236 234: a4 a4wide widemarginsa4
237 235: none a4 a4wide widemarginsa4
239 The "widemarginsa4" setting of 235 has no equivalent in 234.
241 2004-05-12 Angus Leeming <leeming@lyx.org>
243 * format incremented to 234.
244 * the citation engine is specified explicitly rather than being
245 deduced from 3 bools.
248 \use_numerical_citations 0 -> \cite_engine <style>
251 where <style> is one of "basic", "natbib_authoryear",
252 "natbib_numerical" or "jurabib".
254 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
256 * format incremented to 233.
257 * insetgraphics does not allow filenames without extension anymore.
258 The complete filename has to be given.
260 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
262 * format incremented to 232.
264 * Support for bibtopic (sectioned bibliographies).
265 - bufferparam \use_bibtopic [1|0]
266 - the bibtex inset has a second argument for bibtopic's
267 btPrint{Cited|NotCited|All} command:
269 \begin_inset LatexCommand \bibtex[<style>]{<database>}
271 \begin_inset LatexCommand \bibtex[<style>][<btPrintX>]{<database>}
272 Forwards, there's nothing to be done. Backwards, \usepackage[dot]{bibtopic}
273 has to be inserted to the preamble. Instead of the bibtex inset, the LaTeX
274 \bibliographystyle{<style>}
275 \begin{btSect}{<database>}
280 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
282 * format incremented to 231.
284 * Support for sidewaysfigure/sidewaystable (rotating package).
285 insetfloat has now a param \sideways [true|false] (default is false).
286 The param should be erased on downwards conversion, if it was true,
287 the inset should be replaced by
288 \begin{sidewaysfigure} <content> \end{sidewaysfigure}
290 \begin{sidewaystable} <content> \end{sidewaystable}
293 2004-02-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
295 * format incremented to 230.
297 * Support for a second optional argument in insetcommand.
298 currently, citation uses this to support natbibs second
299 optional argument \cite[before][after]{key}.
300 I think there's nothing to convert upwards. Downwards, the
301 commands with 2 optional args need to be converted to ERT.
303 * Support for jurabib (param \use_jurabib [1|0], default is 0).
304 When converting downwards, \usepackage{jurabib} has to be added
305 to the preamble and, if babel is used, \usepackage{babel} before
306 (jurabib fails if babel is called afterwards). If the natbib commands
307 are used together with jurabib, they have to be converted to ERT too.
309 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
311 * format incremented to 229.
312 * Minipages cannot be read anymore. All minipage insets will
313 be converted to frameless box insets between 228->229.
315 2003-12-15 Angus Leeming <leeming@lyx.org>
317 * format incremented to 228.
318 * Change the output of all insets derived from InsetCollapsable
319 except for InsetERT (which has a similar output already), changing lines
320 "collapsed true" -> "status collapsed"
321 "collapsed false" -> "status open".
322 * Change the output of InsetERT, changing lines
323 "status Collapsed" -> "status collapsed"
324 "status Open" -> "status open".
325 "status Inlined" -> "status inlined".
327 2003-12-10 Angus Leeming <leeming@lyx.org>
329 * format NOT incremented.
330 * add a 'draft' option to InsetExternal.
332 2003-12-10 Angus Leeming <leeming@lyx.org>
334 * format incremented to 227.
335 * Change the output of InsetBox:
336 \begin_inset Boxed -> \begin_inset Box Boxed
337 \begin_inset Doublebox -> \begin_inset Box Doublebox
338 \begin_inset Frameless -> \begin_inset Box Frameless
339 \begin_inset ovalbox -> \begin_inset Box ovalbox
340 \begin_inset Ovalbox -> \begin_inset Box Ovalbox
341 \begin_inset Shadowbox -> \begin_inset Box Shadowbox
343 2003-12-10 Angus Leeming <leeming@lyx.org>
345 * format incremented to 226.
346 * Change the output of InsetNote:
347 \begin_inset Note -> \begin_inset Note Note
348 \begin_inset Comment -> \begin_inset Note Comment
349 \begin_inset Greyedout -> \begin_inset Note Greyedout
351 2003-11-28 André Pönitz
353 * Remove space_above/space_below from Paragraph.
354 This is now handled by InsetVSpace.
356 2003-10-07 Angus Leeming <leeming@lyx.org>
358 * Add transformations to InsetExternal
360 boundingBox 0 0 20 20 the dimensions of the B.B..
361 Output if the B.B. is not empty.
362 clip clip the image to the B.B.
364 extra LaTeX "draft" 'extra' data passed to the primary
365 command for this output format.
366 (Possible formats LaTeX, PDFLaTeX,
367 LinuxDoc, DocBook, Ascii.)
368 The string can contain spaces and so
370 rotateAngle 30 Rotation of the data.
371 Output for non-zero rotation only.
372 rotateOrigin bottomleft Rotation origin.
373 Output for non-zero rotation and
374 non-default origin (center) only.
376 width 2cm Output only if the image is resized.
380 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
382 * Added box inset. File format:
384 \begin_inset Ovalbox Boxed/Frameless/ovalbox/Ovalbox
389 inner_pos "b" t/c/b/s
391 width "100col%" unit+width-string
392 special "none" none/height/depth
394 height "1in" unit+width-string
395 height_special "totalheight" none/height/depth
397 collapsed false true/false
399 \begin_layout Standard
406 This box (Frameless, has_inner_box=1, use_parbox=0) replaces
407 the pre-existing Minipage inset. Parameters translate as follows:
408 position 0/1/2 -> t/c/b
409 inner_position 0/1/2/3 -> inner_pos c/t/b/s
414 2003-08-19 Michael Schmitt <michael.schmitt@teststep.org>
416 * attribute valignment="center" is replaced by valignment="middle"
417 for tabular columns and cells
419 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
421 * Added branch inset. File format:
423 branch definition in the header:
429 \begin_inset Branch <branchname>
430 collapsed false true/false
432 \begin_layout Standard
439 2003-07-28 José Matos <jamatos@lyx.org>
441 * \the_end is replaced with \end_document
443 2003-07-28 José Matos <jamatos@lyx.org>
445 * \layout is replaced with \begin_layout
447 2003-07-28 José Matos <jamatos@fep.up.pt>
451 * All layouts finish now with \end_layout
453 2003-06-04 Angus Leeming <leeming@lyx.org>
457 * the storage of the external inset has been changed from
459 \begin_inset External XFig,"file.fig",""
465 \begin_inset External
468 display <display_type>
473 throwing away the final arg (here "", more generally "<string>") that holds
474 the parameters variable.
475 Variables are output if present (filename) or different from the default
476 values (display, lyxscale).
478 Moreover, the RasterImage template has been scrapped. All RasterImage
479 external insets are now converted to Graphics insets.
481 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
483 * Added new space insets:
484 \SpecialChar ~ is now \InsetSpace ~
485 ERT: "\ " could be converted to InsetSpace \<space>
486 ERT: "\," could be converted to InsetSpace \,
488 2003-04-24 André Pönitz <poenitz@gmx.net>
490 * Added eqref support:
491 \begin_inset LatexCommand \eqref{label}
493 2003-03-14 Dekel Tsur
495 * Format bumped to 223.
497 2003-03-12 John Levon <levon@movementarian.org>
499 * Added \\end_header to signify the end of the header in a
502 * use_amsmath is now a tristate {0 = never, 1 = auto, 2 = always}
504 2003-02-10 John Levon <levon@movementarian.org>
508 Added \\tracking_changes 0|1 to the header.
510 Added \\author to the header. This can be present multiple
511 times, and is of the form :
513 \\author "Real Name" email@address.com
515 Added \\change_deleted, \\change_inserted. Each of these does not
516 span a paragraph, and is delimited by "\\change_unchanged\n". Both are
519 \\change_inserted author time
521 where author is an integer ID reference into the author list in
522 the header, and time is time_t.
524 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
526 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
528 2002-08-22 Rob Lahaye <lahaye@snu.ac.kr>
530 New graphics dialog. With the removal of buttons in the dialog, also
531 keywords in the graphics inset went. The following keywords do not
541 Only non-default values are saved to the lyx files. The defaults of the remaining
551 BoundingBox <from file>
554 rotateOrigin centerBaseline
556 subcaptionText <empty>
559 The remaining keywords have sufficient overlap with the old ones for a
560 smooth reading of the 1.2.x inset keywords in most common cases.
562 Compatibility is certainly broken for the old lyxwidth/lyxheight keywords.
563 They don't exist anymore and we can't translate them into a scaling value, while
564 we're reading the graphics inset. The old lyxwidth/lyxheight keyword and its
565 argument is ignored and lost.
567 Only few compatibility issues are left for lyx2lyx:
569 ------------------------------------------------------------------------------
570 old-token new-token remove
571 ------------------------------------------------------------------------------
572 size_kind original / size_type 0 scale 100 width <val>
576 size_kind width_height / size_type 1 - scale <val>
578 lyxsize_kind original / lyxsize_type 0 lyxscale 100 lyxscale <val>
579 ------------------------------------------------------------------------------
580 [replace old-token by new-token, and remove any of subsequent tokens as listed]
582 If "rotate" is absent, lyx2lyx should ignore "rotateAngle <val>":
583 if ( "rotateAngle <val>" is there WITHOUT being preceded by the keyword "rotate" )
585 replace "rotateAngle <val>" by "rotateAngle 0"
588 2002-08-12 Andre' Poenitz <poenitz@gmx.de>
590 Added \lyxlock for locked math inset when written to .lyx file.
591 When "downgrading" .lyx files this should simple be deleted but it
592 does not hurt at all if it stays in. It does not have to be added
596 2002-08-02 Angus Leeming <leeming@lyx.org>
598 Added a boolean "preview" flag to InsetCommandParams.
599 Currently it is written only by InsetInclude, because only this
600 class can generate a preview of its contents.
602 The LyX file now contains:
604 \begin_inset Include \input{snapshot_t=40.tex}
609 Earlier versions of LyX just swallow this extra token silently.
611 2002-08-12 Angus Leeming <leeming@lyx.org>
613 The 1.2.0 InsetGraphicsParams "size_type" and "lyxsize_type" have been
614 renamed as "size_kind" and "lyxsize_kind" respectively.
616 \begin_inset Graphics FormatVersion 1
623 - lyxsize_kind original
624 + lyxsize_type original