]> git.lyx.org Git - lyx.git/blob - development/FORMAT
09be652d1dd6cad2f333b19480b2df7e5e9fd851
[lyx.git] / development / FORMAT
1 LyX file-format changes
2 -----------------------
3
4 2010-01-10 Jürgen Spitzmüller <spitz@lyx.org>
5         * Format incremented to 376: new buffer param
6           \maintain_unincluded_children. If true, the aux files of
7           non-included children (with \includeonly) are updated to
8           keep the counters and refs correct.
9
10 2010-01-06 Jürgen Spitzmüller <spitz@lyx.org>
11         * Format incremented to 375: add support for \includeonly
12           This adds a new buffer param list of relative filenames
13           which are output as \includeonly arguments, like this:
14           \begin_includeonly
15           child1.lyx
16           child2.lyx
17           \end_includeonly
18
19 2009-12-30 Richard Heck <rgheck@comcast.net>
20         * Format incremented to 374: add html output options.
21                 \html_use_mathml (boolean): whether to use MathML or images
22                 \html_be_strict (boolean): whether to be XHTML 1.1 compliant
23
24 2009-12-07 Jürgen Spitzmüller <spitz@lyx.org>
25         * Format incremented to 373: merge g-brief-de and g-brief-en
26           classes into one g-brief class.
27           All German layout names are replaced by English ones, the
28           two classes are renamed to g-brief.
29
30 2009-11-29 Jürgen Spitzmüller <spitz@lyx.org>
31         * Format incremented to 372: new buffer param fontencoding.
32           This param holds a buffer-specific fontencoding (argument
33           of the fontenc package).
34           Possible values:
35           - global: use lyxrc.fontenc [this is the default]
36           - default: do not load the fontenc package at all
37           - <ENC>: real encodings such as "T1". Multiple encodings
38             can be separated by comma.
39
40 2009-11-11 Uwe Stöhr <uwestoehr@web.de>
41         * Format incremented to 371: add option to suppress the LaTeX
42           package mhchem.
43
44 2009-07-20 Uwe Stöhr <uwestoehr@web.de>
45         * Format incremented to 370: introduce a document option to
46           suppress the default date.
47
48 2009-07-22 Vincent van Ravesteijn <vfr@lyx.org>
49         * Format incremented to 369: add the author ids to the list of
50           authors and let the numbering start with 1 in stead of 0.     
51
52 2009-07-21 Jürgen Spitzmüller <spitz@lyx.org>, Uwe Stöhr <uwestoehr@web.de>
53         * Format incremented to 368: allow to use glue lengths for
54           horizontal spaces.
55           We just revert hspaces with glue lengths to ERT, since the
56           inset didn't support them prior to format 368.
57           No explicit conversion.
58
59 2009-07-20 Uwe Stöhr <uwestoehr@web.de>
60         * Format incremented to 367: allow to use percent lengths for
61           vertical and horizontal spaces.
62
63 2009-07-20 Uwe Stöhr <uwestoehr@web.de>
64         * Format incremented to 366: allow to use percent lengths for the
65           paragraph skip separation.
66
67 2009-07-19 Uwe Stöhr <uwestoehr@web.de>
68         * Format incremented to 365: support for paragraph indentation.
69
70 2009-07-13 Jürgen Spitzmüller <spitz@lyx.org>
71         * Format incremented to 364: add \filename_suffix parameter
72           to branches.
73           Possible values: 0, 1.
74           If "1", the branch name is appended to the filename on export
75           (e.g., <filename>-<suffix>.pdf).
76
77 2009-07-11 Uwe Stöhr <uwestoehr@web.de>
78         * Format incremented to 363: support for horizontal longtable
79           alignment.
80   
81 2009-06-11 Jürgen Spitzmüller <spitz@lyx.org>
82         * Format incremented to 362: support for the applemac encoding.
83
84 2009-05-25 Jürgen Spitzmüller <spitz@lyx.org>
85         * Format incremented to 361: support for custom setting of
86           bibliography (longest) label width.
87           Empty file format change.
88
89 2009-05-22 Jürgen Spitzmüller <spitz@lyx.org>
90         * Format incremented to 360: param width for nomencl_print
91         CommandInset. This
92         1.) adds a further value "width" to param set_width
93         (see format 359)
94         and
95         2.) a param width, which takes a length
96         If "width" is chosen, we define the indendation of the nomencl
97         list via the optional argument of \printnomenclature, e.g.
98         \printnomenclature[2cm]{}
99
100 2009-05-22 Jürgen Spitzmüller <spitz@lyx.org>
101         * Format incremented to 359: param set_width for nomencl_print
102         CommandInset. This specifies how wide the longest nomencl label
103         is (i.e., how wide the indendation in the nomencl list is).
104         Possible values:
105         - none: do not specifiy the width (use predefined values)
106         - auto: compute the widest label and specify via
107           \settowidth{\nomlabelwidth}{<widest label>}
108
109 2009-05-22 Jürgen Spitzmüller <spitz@lyx.org>
110         * Format incremented to 358: support for custom bibtex and
111           makeindex commands.
112
113 2009-05-05 Pavel Sanda <sanda@lyx.org>, Enrico Forestieri <forenr@lyx.org>
114         * Format incremented to 357: Change of the latex output for
115           underline from \underbar to ulem's \uline.
116
117 2009-05-05 Pavel Sanda <sanda@lyx.org>
118         * Format incremented to 356: support for double and wave underline
119           character styles via ulem's \uuline and \uwave
120
121 2009-05-03 Pavel Sanda <sanda@lyx.org>
122         * Format incremented to 355: support for strikeout character
123           style via ulem's \sout
124
125 2009-04-26 Jürgen Spitzmüller <spitz@lyx.org>
126         * Format incremented to 354: support for splitindex's
127           \printindex* and \printsubindex*.
128
129 2009-04-26 Jürgen Spitzmüller <spitz@lyx.org>
130         * Format incremented to 353: support for splitindex's
131           \printsubindex.
132
133 2009-04-15 Jürgen Spitzmüller <spitz@lyx.org>
134         * Format incremented to 352: splitindex support.
135
136 2009-04-11 Uwe Stöhr <uwestoehr@web.de>
137         * Format incremented to 351: support to set a page background
138           color.
139
140 2009-04-06 Jürgen Spitzmüller <spitz@lyx.org>
141         * Format incremented to 350: new param \default_output_format.
142
143 2009-04-05 Jürgen Spitzmüller <spitz@lyx.org>
144         * Format incremented to 349: initial support for XeTeX.
145
146 2009-01-30 Uwe Stöhr <uwestoehr@web.de>
147         * Format incremented to 348: support for \*phantom.
148
149 2009-01-03 Vincent van Ravesteijn <V.F.vanRavesteijn@tudelft.nl>
150         * Format incremented to 347: support for tabular valign.
151
152 2008-11-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
153         * Format incremented to 346: support for German (Switzerland):
154           (bug 5450)
155
156 2008-11-07 José Matos <jamatos@lyx.org>
157         * Format incremented to 345: for docbook backend CharStyle: -> Element:
158           (fix bug 5411)
159
160 2008-10-12 Pavel Sanda <sanda@lyx.org>
161         * Format incremented to 344: sanitize backreference settings
162           for hyperref (fix bug 5340).
163
164 2008-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
165         * Format incremented to 343: new param \use_default_options
166           (fix bug 2114).
167
168 2008-10-12 Uwe Stöhr <uwestoehr@web.de>
169         * Format incremented to 342: support for Mongolian.
170
171 2008-09-30 Uwe Stöhr <uwestoehr@web.de>
172         * Format incremented to 341: support for TABs in listings.
173
174 2008-08-01 José Matos <jamatos@fc.up.pt>
175         * Format incremented to 340: move empty layouts to "Plain Layout".
176
177 2008-07-28 Richard Heck <rgheck@brown.edu>
178         * Format incremented to 339: removal of default modules.
179
180 2008-06-21 Uwe Stöhr <uwestoehr@web.de>
181         * Format incremented to 338: support for polytonic Greek.
182
183 2008-06-13 Abdelrazak Younes <younes@lyx.org>
184         * Format incremented to 337: convert/revert graphics display param.
185
186 2008-06-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
187         * Format incremented to 336: new param \font_cjk.
188
189 2008-05-30 Richard Heck <rgheck@brown.edu>
190         * Format incremented to 335: fixes for InsetSpace problems.
191
192 2008-05-16 Uwe Stöhr <uwestoehr@web.de>
193         * Format incremented to 334: fix for bug 4868.
194
195 2008-05-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
196         * Format incremented to 333: fixes in the APA layout.
197
198 2008-05-06 Pavel Sanda <sanda@lyx.org>
199         * Format incremented to 332: Added groupId for graphics insets.
200
201 2008-25-04 Helge Hafting <helge.hafting@aitel.hist.no>
202         * Format incremented to 330: More horizontal fills
203           - \leftarrowfill, \rightarrowfill
204           - \upbracefill, \downbracefill
205
206 2008-04-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
207         * Format incremented to 329: new param \master.
208
209 2008-04-18 Bo Peng <ben.bob@gmail.com>
210         * Format incremented to 328: Revert the support for embedding
211
212 2008-04-16 Uwe Stöhr <uwestoehr@web.de>
213         * Format incremented to 327: support for Mexican Spanish.
214
215 2008-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
216         * Format incremented to 326: support for pdflatex via external inset.
217
218 2008-03-29 Uwe Stöhr <uwestoehr@web.de>
219         * Format incremented to 325: merge the two Japanese languages to one that is
220           encoding independent.
221
222 2008-03-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
223         * Format incremented to 324: merge the two newline insets.
224
225 2008-03-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
226         * Format incremented to 323: merge the diverse newpage insets.
227
228 2008-03-24 Richard Heck <rgheck@comcast.net>
229         * Format incremented to 322: local layout
230
231 2008-03-18 Edwin Leuven <e.leuven@uva.nl>
232         * Format incremented to 321: drop row/col lines and ensure
233           consistency between cell and row/col lines.
234           Make the separation between \begin_inset and Tabular a
235           single space (it used to be a double space for lyx < 1.4)
236
237 2008-03-18 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
238         * Format incremented to 320: support for protected horizontal fill
239           (\hspace*{\fill})
240
241 2008-03-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
242         * Format incremented to 319: hspace and extended hfill support
243
244 2008-03-09 Bo Peng <ben.bob@gmail.com>
245         * Format incremented to 318: add \extra_embedded_files to buffer params
246
247 2008-03-02 Uwe Stöhr <uwestoehr@web.de>
248         * Format incremented to 317: support floating placements for wrap floats
249
250 2008-03-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
251         * Format incremented to 316: support for subfloats (subfig package)
252
253 2008-02-18 Richard Heck <rgheck@comcast.net>
254         * Format incremented to 315: support for column separation in page margins
255
256 2008-02-03 Uwe Stöhr <uwestoehr@web.de>
257         * Format incremented to 314: adapt scrlttr2 class for serial letters
258
259 2008-01-12 Richard Heck <rgheck@comcast.net>
260         * Format incremented to 313: change in how modules are represented
261
262 2008-01-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
263         * Format incremented to 312: support for sidewaysalgorithm (rotfloat)
264           and wide sideways{figure,table}.
265
266 2008-01-10 Richard Heck <rgheck@comcast.net>
267         * Format incremented to 311: dummy format to drive the AMS conversion
268
269 2007-12-28 Bernhard Reiter <ockham@gmx.net>
270         * Format incremented to 310: support for \nocite{*}
271
272 2007-12-11 Bernhard Reiter <ockham@gmx.net>
273         * Format incremented to 309: support for \nocite
274
275 2007-12-15 Uwe Stöhr <uwestoehr@web.de>
276         * Format incremented to 308: support for Serbian (Latin)
277
278 2007-12-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
279         * Format incremented to 307: support for \slash and \nobreakdash
280
281 2007-12-05 Uwe Stöhr <uwestoehr@web.de>
282         * Format incremented to 306: support for Interlingua
283
284 2007-12-05 Uwe Stöhr <uwestoehr@web.de>
285         * Format incremented to 305: support for Bahasa Malaysia
286
287 2007-12-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
288         * Format incremented to 304: framed and shaded boxes are now real boxes
289           (not notes).
290
291 2007-11-25 Uwe Stöhr <uwestoehr@web.de>
292         * Format incremented to 303: remove Serbocroatian as this was not a real
293           babel language (Croatian was used instead in the background)
294         * Implement Serbian
295
296 2007-11-25 Uwe Stöhr <uwestoehr@web.de>
297         * Format incremented to 302: support for Latin and North Sami
298
299 2007-11-24 Uwe Stöhr <uwestoehr@web.de>
300         * Format incremented to 301: support for \linebreak
301
302 2007-11-23 Uwe Stöhr <uwestoehr@web.de>
303         * Format incremented to 300: support for \pagebreak
304
305 2007-11-01 Uwe Stöhr <uwestoehr@web.de>
306         * Format incremented to 299: support for hyperlink types
307
308 2007-11-01 Stefan Schimanski <sts@1stein.org>
309         * Format incremented to 298: math-macro code has been rewritten,
310           now it supports definitions with optional parameters
311
312 2007-10-29 Uwe Stöhr <uwestoehr@web.de>
313         * Format incremented to 297: support for Albanian, lower Sorbian,
314           fixed upper Sorbian language
315
316 2007-10-23 Richard Heck <rgheck@comcast.net>
317         * Format incremented to 296: InsetInclude becomes an InsetCommand
318
319 2007-10-12 Uwe Stöhr <uwestoehr@web.de>
320         * Format incremented to 295: get rid of the htmlurl command that was
321           needed for docbook, add the option to create a hyperlink instead
322
323 2007-10-12 Pavel Sanda <ps@twin.jikos.cz>
324         * Format incremented to 294: PDFOptions: add usetitle,
325           fix leftovers
326
327 2007-10-11 Bo Peng <ben.bob@gmail.com>
328         * Format incremented to 293: Add InsetInfo.
329
330 2007-10-09 Uwe Stöhr <uwestoehr@web.de>
331         * Format incremented to 292: Support for Japanese without
332           using CJK and inputenc. (japanese-plain)
333
334 2007-10-04 Uwe Stöhr <uwestoehr@web.de>
335         * Format incremented to 291: Support for Vietnamese.
336
337 2007-10-03 Uwe Stöhr <uwestoehr@web.de>
338         * Format incremented to 290: Add table wrap floats
339
340 2007-10-03 Martin Vermeer <martin.vermeer@tkk.fi>
341         * Format incremented to 289: make Index a collapsable inset.
342
343 2007-09-25 Richard Heck <rgheck@comcast.net>
344         * Format incremented to 288: Change how command insets are
345           represented in LyX files.
346
347 2007-09-24 Uwe Stöhr <uwestoehr@web.de>
348         * Format incremented to 287: Add missing optional parameters
349           for wrapped figures.
350
351 2007-09-21 Pavel Sanda <ps@twin.jikos.cz>
352         * Format incremented to 286: LyX now supports hyperref and some
353           of its options.
354
355 2007-09-11 Bo Peng <ben.bob@gmail.com>
356         * Format incremented to 285: Tweaks to embedded file format
357           Remove inzip parameter from graphics insets.
358
359 2007-09-09 Helge Hafting <helge.hafting@aitel.hist.no>
360         * Format incremented to 284: LyX now implements wrapped figures
361           using wrapfig.sty instead of floatflt.sty. The latter
362           is rather buggy, the former also has more options.
363           No conversion as the .lyx doesn't change.
364           The .tex export is slightly different, necessitating the
365           format increase.
366
367 2007-09-08 Martin Vermeer <martin.vermeer@tkk.fi>
368
369         * format incremented to 283: CharStyle insets are now
370           called Flex.
371
372 2007-08-31 Bo Peng <ben.bob@gmail.com>
373
374         * format incremented to 282: lyx files can be zipfiles with
375           embedded documents.
376
377 2007-08-29 Richard Heck <rgheck@comcast.net>
378
379         * format incremented to 281: allow modules for layout files
380
381 2007-08-17 Martin Vermeer <martin.vermeer@tkk.fi>
382
383         * format incremented to 280: the show_label parameter
384           is depreciated in favour of (Collapsable) status.
385
386 2007-08-17 Martin Vermeer <martin.vermeer@tkk.fi>
387
388         * format incremented to 279: CharStyle names are now
389           expected to be of form CharStyle:Name.
390
391 2007-08-12 José Matos <jamatos@fc.up.pt>
392
393         * format incremented to 278: Close begin_deeper with a
394           corresponding end_deeper (the only case where it matters is
395           at the end of the body).
396
397 2007-08-12 José Matos <jamatos@fc.up.pt>
398
399         * format incremented to 277: lyx is able to create invalid
400           table where a multicolumn does not have a first cell
401           (required by the table file format)
402
403 2007-07-20 Dov Feldstern <dov@lyx.org>
404
405         * format *not* incremented; fixed format 249 conversion, so that it now
406                 correctly deals with encodings in footnotes (part of bug 3613)
407
408 2007-06-26 Uwe Stöhr <uwestoehr@web.de> and Dov Feldstern <dov@lyx.org>
409
410         * format incremented to 276: switching exsting language 'arabic' to
411                 'arabic_arabtex'; this is to differentiate from the new arabic support
412                 using the arabi package.
413
414 2007-05-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
415
416         * format incremented to 275: add graphics params scaleBeforeRotation
417         (fix bug 1749).
418
419 2007-06-13 Dov Feldstern <dov@lyx.org>
420         * format incremented to 274: applying the conversion done in format 259
421                 to the \lang property, which was forgotten back then... This is
422                 slightly more complicated, because the default language has to be
423                 determined on a per-paragraph basis.
424
425 2007-06-13 Bo Peng <ben.bob@gmail.com>
426         * format incremented to 273: add --Separator-- environment to
427                 separate consecutive environments
428
429 2007-06-13 Bo Peng <bpeng@lyx.org>
430         * format incremented to 272: convert listings to ERT because
431                 earlier versions of lyx can not handle unrecognizable
432                 listings parameters.
433
434 2007-05-15 José Matos <jamatos@lyx.org>
435         * format incremented to 271: extended textclasses accept the
436         normal font sizes: 10, 11 and 12pt.
437
438 2007-05-14 Martin Vermeer <martin.vermeer@tkk.fi>
439         * format incremented to 270: support beamer \alert, \structure
440
441 2007-05-08 Bo Peng <ben.bob@gmail.com>
442         * format incremented to 269: add listings support
443         - add preamble flag \listings_params, e.g. \listings_params "language=Python,float"
444         - add inset listings, with options lstparams and inline, e.g.
445                 \begin_inset listings
446                 lstparams "xleftmargin=50pt,language=Python"
447                 inline false
448         - add \lstinputlisting Include type. e.g.
449                 \begin_inset Include \lstinputlisting{newfile1.lyx}[firstline=10,lastline=15]
450
451 2007-05-06 Uwe Stöhr  <uwestoehr@web.de>
452
453         * format incremented to 268: add support for the CJK encodings
454         - all encodings supported by CJK.sty are now in lib/encodings
455         - lib/encoding has got two new flags:
456           - encoding package:
457             "inputenc" for those languages that use the inputenc-package and
458             "CJK" for the CJK encodings
459           - "fixed"/"variable" to divide between multi- or single-byte encoding
460         - lib/languages allows now to set an empty language for babel
461           in this case babel isn't called.
462
463 2007-05-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
464
465         * format incremented to 267: add plain utf8 encoding (for XeTeX).
466
467 2007-04-29  Uwe Stöhr  <uwestoehr@web.de>
468
469         * format incremented to 266:
470         Support for the Armenian language
471
472 2007-04-26  Uwe Stöhr  <uwestoehr@web.de>
473
474         * format incremented to 265: fix LyX's table border line handling
475         With the fix (see bug 1746) LyX now takes care if the user has entered
476         a "|" character in the argument field of tables. Therefore the "|"
477         character has to be removed when also a table border is set.
478
479 2007-04-24  José Matos  <jamatos@lyx.org>
480
481         * format incremented to 264:
482         textclass cv is renamed simplecv
483
484 2007-02-22  José Matos  <jamatos@lyx.org>
485
486         * format incremented to 263: changes in the language names (overdue):
487           brazil -> brazilian
488           portuges -> portuguese
489
490 2007-02-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
491
492         * format incremented to 262: Allow ascii \inputencoding
493
494 2007-02-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
495
496         * format incremented to 261: \output_changes is now considered
497         even if \tracking_changes is false. This allows to output existing
498         changes even if future changes are not tracked anymore.
499         The old combination
500
501         \tracking_changes false
502         \output_changes true
503
504         is therefore converted to
505
506         \tracking_changes false
507         \output_changes false
508
509         on upgrade. Nothing is done on downgrade since the new behaviour is
510         not supported in older formats.
511
512 2007-02-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
513
514         * format incremented to 260: Allow utf8x \inputencoding
515
516 2007-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
517
518         * format incremented to 259:
519         Old: Spaces at start or end of font changes were output outside of
520              the font change, i.e. not 'xx\textbf{ yy }zz', but
521              'xx \textbf{yy} zz'.
522         New: Spaces are always output with the font set by the user.
523
524 2007-01-31  Uwe Stöhr  <uwestoehr@web.de>
525
526         * format incremented to 258: new \lyxline definition
527         Old:
528                 \\newcommand{\\lyxline}[1]{
529                   {#1 \\vspace{1ex} \\hrule width \\columnwidth \\vspace{1ex}}
530                 }
531         New:
532                 \\newcommand{\\lyxline}[1][1pt]{%
533                   \\par\\noindent%
534                   \\rule[.5ex]{\\linewidth}{#1}\\par}
535         The new definition is more robust, see bug 1988 and now really takes care of
536         the fontsize: \lyxline{\Huge} produces now a thicker line than \lyxline{\normalfont}
537
538 2007-01-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
539
540         * format incremented to 257: Caption styles have been replaced by
541         InsetCaption. This is at the same time also a layout file format
542         change to format 3. layout2layout removes caption layouts from old
543         styles.
544         Note that InsetCaption did exist before this format, but was never
545         used. Old files containing do nevertheless still work.
546         Of course users can still define a Caption style in layout files,
547         but the special treatment in LyX is gone (apart from the sensitive
548         label property).
549
550 2006-12-22  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
551
552         * format incremented to 256: allow some new inputenc settings.
553         For the complete list, see lib/lyx2lyx/lyx_1_5.py.
554
555 2006-11-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
556
557         * format incremented to 255: new insets for \clearpage and
558         \cleardoublepage. They are written inline to the file, exactly like
559         \newpage.
560
561 2006-11-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
562
563         * format incremented to 254: new header parameter \use_esint.
564         It can have the same values as \use_amsmath: 0 (off), 1 (auto) and
565         2 (on).
566
567 2006-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
568
569         * format incremented to 253: new nomenclature and printnomenclature
570         insets. These are standard InsetCommand with the following parameters:
571         \nomenclature[prefix]{symbol}{description}
572         \printnomenclature[labelwidth]
573
574 2006-10-15  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
575
576         * format incremented to 252: changed command inset syntax
577
578         Old:
579
580         \begin_inset LatexCommand \cmdname[opt1][opt2]{arg}
581         preview true
582         \end_inset
583
584         and
585
586         \bibitem [opt1]{arg}
587
588
589         New:
590
591         \begin_inset LatexCommand cmdname
592         name1 "opt1"
593         name2 "opt2"
594         name3 "arg"
595         preview true
596         \end_inset
597
598         The order of the parameters and for each parameter the name and
599         optional/required bit is now stored in InsetCommandParams.
600
601 2006-10-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
602
603         * format incremented to 251: save show_label param for charstyles.
604
605         On revert, the show_label param is just removed. Nothing to convert.
606
607 2006-10-12  Martin Vermeer <martin.vermeer@hut.fi>
608
609         * Format incremented to 250: allow optional arg to environments
610
611         No material format change. Now optargs for environments are allowed
612         to be specified in layout files and will be handled properly. When
613         converted back to older formats, they will be ignored in LaTeX
614         output.
615
616 2006-08-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
617
618         * format incremented to 249: Unicode
619
620         LyX documents are now always encoded in utf8. The value of
621         \inputencoding does now only determine the encoding of the created
622         LaTeX file.
623         Up to format 248 the value of \inputencoding did also determine the
624         encoding of the LyX file:
625
626         \inputencoding       LyX file encoding
627         auto                 as determined by the document and character
628                              languages
629         default              ditto
630         everything else      as determined by \inputencoding
631
632         The difference between auto and default is only the LaTeX output:
633         auto causes loading of the inputenc package, default does not.
634
635 2006-07-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
636
637         * format incremented to 248: Basic booktabs support
638
639         The <features> tag has a new switch: booktabs="true|false".
640         An absent switch is equivalent to booktabs="false".
641         Horizontal lines are set with the booktabs package if this switch
642         is on.
643
644         The <row> tag of tabulars has the following new attributes:
645         topspace, bottomspace and interlinespace. All take a LyXLength
646         as value, or the special keyword "default".
647
648 2006-06-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
649
650         * format incremented to 247. The Grand Font Interface Rewrite.
651         (1) Split font selection to rm, sf, tt:
652                 \fontscheme -> \font_roman, \font_sans, \font_typewriter
653                 Change 246->247:
654                         \fontscheme     \font_roman     \font_sans      \font_typewriter
655                         default         default         default         default
656                         ae              ae              default         default
657                         times           times           default         default
658                         palatino        palatino        default         default
659                         helvet          default         helvet          default
660                         avant           default         avant           default
661                         newcent         newcent         default         default
662                         bookman         bookman         default         default
663                         pslatex         times           (or \usepackage{pslatex})
664                 New 246->247:
665                         \font_roman: cmr (-> \renewcommand{\rmdefault}{cmr}),
666                                      lmodern, charter, utopia, ccfonts, chancery, beraserif
667                                         (-> \usepackage{<name>})
668                         \font_sans: cmss, lmss, cmbr
669                                         (-> \renewcommand{\sfdefault}{<name>})
670                                     berasans (-> \usepackage{<name>})
671                         \font_typewriter: cmtt, lmtt, cmtl,
672                                         (-> \renewcommand{\sfdefault}{<name>})
673                                         courier, luximono, beramono
674                                         (-> \usepackage{<name>})
675         (2) New param \font_default_family (rmdefault, sfdefault, ttdefault)
676         (3) New param \font_sc (true, false).
677         (4) New param \font_osf (true, false).
678         (5) New param \font_sf_scale (float)
679         (6) New param \font_tt_scale (float)
680         Support for the following fonts has been added:
681                 bera, ccfonts, chancery, charter, cmbright, computer modern (explicitely),
682                 courier, lmodern, luximono, utopia.
683         Support for the following font has been removed:
684                 pslatex (it's superseded by mathptmx (times)).
685
686 2006-06-03  Martin Vermeer  <martin.vermeer@hut.fi>
687
688         * format incremented to 246. The framed.sty package is
689         now supported with note types framed and shaded.
690
691 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
692
693         * format incremented to 245. The \quotes_times parameter
694         has been removed.
695
696 2005-09-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
697
698         * format incremented to 244. Rename '\InsetSpace \,'
699         to '\InsetSpace \thinspace{}', because the comma was
700         not parsed by lyxlex, and '\InsetSpace \space' to
701         '\InsetSpace \space{}' in favour of consistency.
702
703 2005-07-18  José Matos  <jamatos@lyx.org>
704
705         * format incremented to 243.
706
707         * this change only affects the preamble, the paperpackage
708           option was removed and papersize is changed to default.
709
710 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
711
712         * format incremented to 242. There is no file format per
713         se, but the "frenchb" language has been removed from lib/language
714         and has to be translated to "french" by lyx2lyx.
715
716 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
717
718         * format incremented to 241.
719
720         All following changes apply only to text in ERT insets. The
721         rationale is that text in ERT is simply ASCII text, and nothing more.
722
723         * paragraph breaks are now a single newline in latex and not a
724         paragraph break anymore (bug 698).
725         * \newline is not allowed anymore, because it is redundant (see above)
726         * layouts other than Standard, paragraph parameters and font changes
727         are not allowed anymore. They never made sense and were ignored for
728         latex output, but now they can't be read or set anymore (bug 922).
729
730
731 2005-01-23  Jürgen Spitzmüller  <j.spitzmüller@gmx.de>
732
733         * format incremented to 240.
734         * new bufferparam:
735                 \output_changes {true|false}
736         (should the change tracking marks be visible in the output or not?)
737         * lyx2lyx should just delete the param in 239.
738
739 2005-01-06  José Matos  <jamatos@lyx.org>
740
741         * format incremented to 239.
742         * the paragraph parameters are displayed in their own line. This
743         change is consistent with the insets behaviour, and corresponds
744         to a more uniform treatment of the paragraphs since some of them
745         had already their own line.
746
747         An example of a single paragraph follows:
748
749 \begin_layout Standard
750 \paragraph_spacing single
751 \align left
752 Paragraph text.
753 \end_layout
754
755
756 2004-12-03  José Matos  <jamatos@lyx.org>
757
758         * format incremented to 238.
759         * The compatibility code to read old latex accents from 0.12.x in
760         InsetLatexAccent::checkContents has been removed.
761         The following translations are done:
762                 "\i \x"   -> "\i \x{}"
763                 "\i \xy"  -> "\i \x{y}"
764                 "\i \x y" -> "\i \x{y}"
765                 "\i \x\i" -> "\i \x{\i}"
766                 "\i \x\j" -> "\i \x{\j}"
767         x is a latex accent command, y the base character. \, i and j are
768         literal.
769         lyx did these changes already from 0.12.x -> 215, but not lyx2lyx,
770         so formats 215 - 237 can have both versions.
771
772
773 2004-10-10  José Matos  <jamatos@lyx.org>
774
775         * format incremented to 237.
776         * In the header, the following statments use now booleans values,
777         instead of 0, 1:
778                 - \use_geometry
779                 - \use_bibtopic
780                 - \tracking_changes
781
782 2004-08-15  José Matos  <jamatos@lyx.org>
783
784         * format incremented to 236.
785         * Added tags:
786                 - \begin_document
787                 - \begin_header
788                 - \begin_body
789                 - \end_body
790
791         * The options for \papersize are changed:
792                 Default -> default
793                 Custom -> custom
794         * All whitespaces are removed at the end of lines, when
795         not necessary. As an example we have all the lines in the header that
796         do not belong to the preamble.
797
798 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
799
800         * format incremented to 235.
801         * \paperpackage had an off-by-one error. Translation table:
802
803           234: a4    a4wide  widemarginsa4
804           235: none  a4      a4wide         widemarginsa4
805
806           The "widemarginsa4" setting of 235 has no equivalent in 234.
807
808 2004-05-12  Angus Leeming  <leeming@lyx.org>
809
810         * format incremented to 234.
811         * the citation engine is specified explicitly rather than being
812         deduced from 3 bools.
813
814         \use_natbib 1
815         \use_numerical_citations 0   ->   \cite_engine <style>
816         \use_jurabib 0
817
818         where <style> is one of "basic", "natbib_authoryear",
819         "natbib_numerical" or "jurabib".
820
821 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
822
823         * format incremented to 233.
824         * insetgraphics does not allow filenames without extension anymore.
825         The complete filename has to be given.
826
827 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
828
829         * format incremented to 232.
830
831         * Support for bibtopic (sectioned bibliographies).
832           - bufferparam \use_bibtopic [1|0]
833           - the bibtex inset has a second argument for bibtopic's
834             btPrint{Cited|NotCited|All} command:
835             < 231:
836             \begin_inset LatexCommand \bibtex[<style>]{<database>}
837             now:
838             \begin_inset LatexCommand \bibtex[<style>][<btPrintX>]{<database>}
839           Forwards, there's nothing to be done. Backwards, \usepackage[dot]{bibtopic}
840           has to be inserted to the preamble. Instead of the bibtex inset, the LaTeX
841           \bibliographystyle{<style>}
842           \begin{btSect}{<database>}
843           \<btprintX>
844           \end{btSect}
845           has to be inserted.
846
847 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
848
849         * format incremented to 231.
850
851         * Support for sidewaysfigure/sidewaystable (rotating package).
852         insetfloat has now a param \sideways [true|false] (default is false).
853         The param should be erased on downwards conversion, if it was true,
854         the inset should be replaced by
855         \begin{sidewaysfigure} <content> \end{sidewaysfigure}
856         resp.
857         \begin{sidewaystable} <content> \end{sidewaystable}
858         i.e. ERT.
859
860 2004-02-23  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
861
862         * format incremented to 230.
863
864         * Support for a second optional argument in insetcommand.
865         currently, citation uses this to support natbibs second
866         optional argument \cite[before][after]{key}.
867         I think there's nothing to convert upwards. Downwards, the
868         commands with 2 optional args need to be converted to ERT.
869
870         * Support for jurabib (param \use_jurabib [1|0], default is 0).
871         When converting downwards, \usepackage{jurabib} has to be added
872         to the preamble and, if babel is used, \usepackage{babel} before
873         (jurabib fails if babel is called afterwards). If the natbib commands
874         are used together with jurabib, they have to be converted to ERT too.
875
876 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
877
878         * format incremented to 229.
879         * Minipages cannot be read anymore. All minipage insets will
880         be converted to frameless box insets between 228->229.
881
882 2003-12-15  Angus Leeming  <leeming@lyx.org>
883
884         * format incremented to 228.
885         * Change the output of all insets derived from InsetCollapsable
886         except for InsetERT (which has a similar output already), changing lines
887         "collapsed true" -> "status collapsed"
888         "collapsed false" -> "status open".
889         * Change the output of InsetERT, changing lines
890         "status Collapsed" -> "status collapsed"
891         "status Open" -> "status open".
892         "status Inlined" -> "status inlined".
893
894 2003-12-10  Angus Leeming  <leeming@lyx.org>
895
896         * format NOT incremented.
897         * add a 'draft' option to InsetExternal.
898
899 2003-12-10  Angus Leeming  <leeming@lyx.org>
900
901         * format incremented to 227.
902         * Change the output of InsetBox:
903         \begin_inset Boxed -> \begin_inset Box Boxed
904         \begin_inset Doublebox -> \begin_inset Box Doublebox
905         \begin_inset Frameless -> \begin_inset Box Frameless
906         \begin_inset ovalbox -> \begin_inset Box ovalbox
907         \begin_inset Ovalbox -> \begin_inset Box Ovalbox
908         \begin_inset Shadowbox -> \begin_inset Box Shadowbox
909
910 2003-12-10  Angus Leeming  <leeming@lyx.org>
911
912         * format incremented to 226.
913         * Change the output of InsetNote:
914         \begin_inset Note -> \begin_inset Note Note
915         \begin_inset Comment -> \begin_inset Note Comment
916         \begin_inset Greyedout -> \begin_inset Note Greyedout
917
918 2003-11-28  André Pönitz
919
920         * Remove space_above/space_below from Paragraph.
921     This is now handled by InsetVSpace.
922
923 2003-10-07  Angus Leeming  <leeming@lyx.org>
924
925         * Add transformations to InsetExternal
926
927         boundingBox 0 0 20 20           the dimensions of the B.B..
928                                         Output if the B.B. is not empty.
929         clip                            clip the image to the B.B.
930                                         Output if true.
931         extra LaTeX "draft"             'extra' data passed to the primary
932                                         command for this output format.
933                                         (Possible formats LaTeX, PDFLaTeX,
934                                          LinuxDoc, DocBook, Ascii.)
935                                         The string can contain spaces and so
936                                         is wrapped in "...".
937         rotateAngle 30                  Rotation of the data.
938                                         Output for non-zero rotation only.
939         rotateOrigin bottomleft         Rotation origin.
940                                         Output for non-zero rotation and
941                                         non-default origin (center) only.
942         scale 50
943         width 2cm                       Output only if the image is resized.
944         height 2cm
945         keepAspectRatio
946
947 2003-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
948
949         * Added box inset. File format:
950
951         \begin_inset Ovalbox            Boxed/Frameless/ovalbox/Ovalbox
952                                             /Shadowbox/Doublebox
953         position "b"                    t/c/b
954         hor_pos "c"                     l/c/r/s
955         has_inner_box 1                 1/0
956         inner_pos "b"                   t/c/b/s
957         use_parbox 0                    1/0
958         width "100col%"                 unit+width-string
959         special "none"                  none/height/depth
960                                             /totalheight/width
961         height "1in"                    unit+width-string
962         height_special "totalheight"    none/height/depth
963                                             /totalheight/width
964         collapsed false                 true/false
965
966         \begin_layout Standard
967
968         <box contents>
969         \end_layout
970
971         \end_inset
972
973         This box (Frameless, has_inner_box=1, use_parbox=0) replaces
974         the pre-existing Minipage inset. Parameters translate as follows:
975         position                        0/1/2   -> t/c/b
976         inner_position                  0/1/2/3 -> inner_pos c/t/b/s
977         height                          same
978         width                           same
979         collapsed                       same
980
981 2003-08-19  Michael Schmitt  <michael.schmitt@teststep.org>
982
983         * attribute valignment="center" is replaced by valignment="middle"
984         for tabular columns and cells
985
986 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
987
988         * Added branch inset. File format:
989
990         branch definition in the header:
991         \branch <branchname>
992         \selected 0                    0/1
993         \color #rrggbb
994         \end_branch
995
996         \begin_inset Branch <branchname>
997         collapsed false                 true/false
998
999         \begin_layout Standard
1000
1001         <branch contents>
1002         \end_layout
1003
1004         \end_inset
1005
1006 2003-07-28  José Matos  <jamatos@lyx.org>
1007
1008         * \the_end is replaced with \end_document
1009
1010 2003-07-28  José Matos  <jamatos@lyx.org>
1011
1012         * \layout is replaced with \begin_layout
1013
1014 2003-07-28  José Matos  <jamatos@fep.up.pt>
1015
1016         Format bumped to 225
1017
1018         * All layouts finish now with \end_layout
1019
1020 2003-06-04  Angus Leeming  <leeming@lyx.org>
1021
1022         Format bumped to 224
1023
1024         * the storage of the external inset has been changed from
1025
1026                 \begin_inset External XFig,"file.fig",""
1027
1028                 \end_inset
1029
1030         to this
1031
1032                 \begin_inset External
1033                         template XFig
1034                         filename file.fig
1035                         display <display_type>
1036                         lyxscale <scale>
1037
1038                 \end_inset
1039
1040         throwing away the final arg (here "", more generally "<string>") that holds
1041         the parameters variable.
1042         Variables are output if present (filename) or different from the default
1043         values (display, lyxscale).
1044
1045         Moreover, the RasterImage template has been scrapped. All RasterImage
1046         external insets are now converted to Graphics insets.
1047
1048 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1049
1050         * Added new space insets:
1051                 \SpecialChar ~ is now \InsetSpace ~
1052                 ERT: "\ " could be converted to InsetSpace \<space>
1053                 ERT: "\," could be converted to InsetSpace \,
1054
1055 2003-04-24  André Pönitz <poenitz@gmx.net>
1056
1057         * Added eqref support:
1058         \begin_inset LatexCommand \eqref{label}
1059
1060 2003-03-14  Dekel Tsur
1061
1062         * Format bumped to 223.
1063
1064 2003-03-12  John Levon  <levon@movementarian.org>
1065
1066         * Added \\end_header to signify the end of the header in a
1067           more robust fashion.
1068
1069         * use_amsmath is now a tristate {0 = never, 1 = auto, 2 = always}
1070
1071 2003-02-10  John Levon  <levon@movementarian.org>
1072
1073         Format bumped to 222
1074
1075         Added \\tracking_changes 0|1 to the header.
1076
1077         Added \\author to the header. This can be present multiple
1078         times, and is of the form :
1079
1080         \\author "Real Name" email@address.com
1081
1082         Added \\change_deleted, \\change_inserted. Each of these does not
1083         span a paragraph, and is delimited by "\\change_unchanged\n". Both are
1084         of the form :
1085
1086         \\change_inserted author time
1087
1088         where author is an integer ID reference into the author list in
1089         the header, and time is time_t.
1090
1091 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
1092
1093         * InsetGraphicsParams.h (scale): is now a float, not an unsigned int.
1094
1095 2002-08-22  Rob Lahaye <lahaye@snu.ac.kr>
1096
1097 New graphics dialog. With the removal of buttons in the dialog, also
1098 keywords in the graphics inset went. The following keywords do not
1099 exist anymore:
1100         lyxsize_kind
1101         lyxsize_type
1102         lyxwidth
1103         lyxheight
1104         size_kind
1105         size_type
1106         rotate
1107
1108 Only non-default values are saved to the lyx files. The defaults of the remaining
1109 keywords are;
1110         filename <empty>
1111         lyxscale 100
1112         display default
1113         scale 100
1114         width <empty>
1115         height <empty>
1116         draft <off>
1117         noUnzip <off>
1118         BoundingBox <from file>
1119         clip <off>
1120         rotateAngle 0
1121         rotateOrigin centerBaseline
1122         subcaption <off>
1123         subcaptionText <empty>
1124         special <empty>
1125
1126 The remaining keywords have sufficient overlap with the old ones for a
1127 smooth reading of the 1.2.x inset keywords in most common cases.
1128
1129 Compatibility is certainly broken for the old lyxwidth/lyxheight keywords.
1130 They don't exist anymore and we can't translate them into a scaling value, while
1131 we're reading the graphics inset. The old lyxwidth/lyxheight keyword and its
1132 argument is ignored and lost.
1133
1134 Only few compatibility issues are left for lyx2lyx:
1135
1136 ------------------------------------------------------------------------------
1137 old-token                                   new-token         remove
1138 ------------------------------------------------------------------------------
1139 size_kind original / size_type 0            scale 100         width <val>
1140                                                               height <val>
1141                                                               scale <val>
1142
1143 size_kind width_height / size_type 1            -             scale <val>
1144
1145 lyxsize_kind original / lyxsize_type 0      lyxscale 100      lyxscale <val>
1146 ------------------------------------------------------------------------------
1147 [replace old-token by new-token, and remove any of subsequent tokens as listed]
1148
1149 If "rotate" is absent, lyx2lyx should ignore "rotateAngle <val>":
1150    if ( "rotateAngle <val>" is there WITHOUT being preceded by the keyword "rotate" )
1151    then
1152         replace "rotateAngle <val>" by "rotateAngle 0"
1153
1154
1155 2002-08-12  Andre' Poenitz <poenitz@gmx.de>
1156
1157 Added \lyxlock for locked math inset when written to .lyx file.
1158 When "downgrading" .lyx files this should simple be deleted but it
1159 does not hurt at all if it stays in. It does not have to be added
1160 when "upgrading".
1161
1162
1163 2002-08-02  Angus Leeming  <leeming@lyx.org>
1164
1165 Added a boolean "preview" flag to InsetCommandParams.
1166 Currently it is written only by InsetInclude, because only this
1167 class can generate a preview of its contents.
1168
1169 The LyX file now contains:
1170
1171  \begin_inset Include \input{snapshot_t=40.tex}
1172 +preview true
1173
1174  \end_inset
1175
1176 Earlier versions of LyX just swallow this extra token silently.
1177
1178 2002-08-12  Angus Leeming  <leeming@lyx.org>
1179
1180 The 1.2.0 InsetGraphicsParams "size_type" and "lyxsize_type" have been
1181 renamed as "size_kind" and "lyxsize_kind" respectively.
1182
1183  \begin_inset Graphics FormatVersion 1
1184         filename file.eps
1185         display default
1186 -       size_kind original
1187 +       size_type original
1188         width 7cm
1189         rotateOrigin center
1190 -       lyxsize_kind original
1191 +       lyxsize_type original
1192         lyxwidth 4cm
1193
1194  \end_inset
1195