]> git.lyx.org Git - lyx.git/blob - development/FORMAT
373616ef217ac92e92c440fe95f5a86af9618fd2
[lyx.git] / development / FORMAT
1 LyX file-format changes
2 -----------------------
3
4 2007-11-01 Uwe Stöhr <uwestoehr@web.de>
5         * Format incremented to 299: support for hyperlink types
6
7 2007-11-01 Stefan Schimanski <sts@1stein.org>
8         * Format incremented to 298: math-macro code has been rewritten,
9           now it supports definitions with optional parameters
10
11 2007-10-29 Uwe Stöhr <uwestoehr@web.de>
12         * Format incremented to 297: support for Albanian, lower Sorbian,
13           fixed upper Sorbian language
14
15 2007-10-?? Richard Heck <rgheck@bobjweil.com>
16         * Format incremented to 296: ?Include insets are no longer insets?
17
18 2007-10-12 Uwe Stöhr <uwestoehr@web.de>
19         * Format incremented to 295: get rid of the htmlurl command that was
20           needed for docbook, add the option to create a hyperlink instead
21
22 2007-10-12 Pavel Sanda <ps@twin.jikos.cz>
23         * Format incremented to 294: PDFOptions: add usetitle,
24           fix leftovers
25
26 2007-10-11 Bo Peng <ben.bob@gmail.com>
27         * Format incremented to 293: Add InsetInfo.
28
29 2007-10-09 Uwe Stöhr <uwestoehr@web.de>
30         * Format incremented to 292: Support for Japanese without
31           using CJK and inputenc. (japanese-plain)
32
33 2007-10-04 Uwe Stöhr <uwestoehr@web.de>
34         * Format incremented to 291: Support for Vietnamese.
35
36 2007-10-03 Uwe Stöhr <uwestoehr@web.de>
37         * Format incremented to 290: Add table wrap floats.
38
39 2007-10-03 Martin Vermeer <martin.vermeer@tkk.fi>
40         * Format incremented to 289: make Index a collapsable inset.
41
42 2007-09-25 Richard Heck <rgheck@bobjweil.com>
43         * Format incremented to 288: Change how command insets are
44           represented in LyX files.
45
46 2007-09-24 Uwe Stöhr <uwestoehr@web.de>
47         * Format incremented to 287: Add missing optional parameters
48           for wrapped figures.
49
50 2007-09-21 Pavel Sanda <ps@twin.jikos.cz>
51         * Format incremented to 286: LyX now supports hyperref and some
52           of its options.
53
54 2007-09-11 Bo Peng <ben.bob@gmail.com>
55         * Format incremented to 285: Tweaks to embedded file format.
56           Remove inzip parameter from graphics insets.
57
58 2007-09-09 Helge Hafting <helge.hafting@aitel.hist.no>
59         * Format incremented to 284: LyX now implements wrapped figures
60           using wrapfig.sty instead of floatflt.sty. The latter
61           is rather buggy, the former also has more options.
62           No conversion as the .lyx doesn't change.
63           The .tex export is slightly different, necessitating the
64           format increase.
65
66 2007-09-08 Martin Vermeer <martin.vermeer@tkk.fi>
67
68         * format incremented to 283: CharStyle insets are now 
69           called Flex.
70
71 2007-08-31 Bo Peng <ben.bob@gmail.com>
72
73         * format incremented to 282: lyx files can be zipfiles with
74           embedded documents.
75
76 2007-08-29 Richard Heck <rgheck@bobjweil.com>
77
78         * format incremented to 281: allow modules for layout files.
79
80 2007-08-17 Martin Vermeer <martin.vermeer@tkk.fi>
81
82         * format incremented to 280: the show_label parameter
83           is depreciated in favour of (Collapsable) status.
84
85 2007-08-17 Martin Vermeer <martin.vermeer@tkk.fi>
86
87         * format incremented to 279: CharStyle names are now
88           expected to be of form CharStyle:Name.
89
90 2007-08-12 José Matos <jamatos@fc.up.pt>
91
92         * format incremented to 278: Close begin_deeper with a
93           corresponding end_deeper (the only case where it matters is
94           at the end of the body).
95
96 2007-08-12 José Matos <jamatos@fc.up.pt>
97
98         * format incremented to 277: lyx is able to create invalid
99           table where a multicolumn does not have a first cell
100           (required by the table file format)
101
102 2007-07-20 Dov Feldstern <dov@lyx.org>
103
104         * format *not* incremented; fixed format 249 conversion, so that it now
105                 correctly deals with encodings in footnotes (part of bug 3613)
106
107 2007-06-26 Uwe Stöhr <uwestoehr@web.de> and Dov Feldstern <dov@lyx.org>
108
109         * format incremented to 276: switching exsting language 'arabic' to 
110                 'arabic_arabtex'; this is to differentiate from the new arabic support
111                 using the arabi package.
112
113 2007-05-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
114
115         * format incremented to 275: add graphics params scaleBeforeRotation
116         (fix bug 1749).
117
118 2007-06-13 Dov Feldstern <dov@lyx.org>
119         * format incremented to 274: applying the conversion done in format 259
120                 to the \lang property, which was forgotten back then... This is
121                 slightly more complicated, because the default language has to be
122                 determined on a per-paragraph basis.
123
124 2007-06-13 Bo Peng <ben.bob@gmail.com>
125         * format incremented to 273: add --Separator-- environment to 
126                 separate consecutive environments
127
128 2007-06-13 Bo Peng <bpeng@lyx.org>
129         * format incremented to 272: convert listings to ERT because
130                 earlier versions of lyx can not handle unrecognizable 
131                 listings parameters.
132
133 2007-05-15 José Matos <jamatos@lyx.org>
134         * format incremented to 271: extended textclasses accept the
135         normal font sizes: 10, 11 and 12pt.
136
137 2007-05-14 Martin Vermeer <martin.vermeer@tkk.fi>
138         * format incremented to 270: support beamer \alert, \structure
139
140 2007-05-08 Bo Peng <ben.bob@gmail.com>
141         * format incremented to 269: add listings support
142         - add preamble flag \listings_params, e.g. \listings_params "language=Python,float"
143         - add inset listings, with options lstparams and inline, e.g.
144                 \begin_inset listings
145                 lstparams "xleftmargin=50pt,language=Python"
146                 inline false
147         - add \lstinputlisting Include type. e.g.
148                 \begin_inset Include \lstinputlisting{newfile1.lyx}[firstline=10,lastline=15]
149
150 2007-05-06 Uwe Stöhr  <uwestoehr@web.de>
151
152         * format incremented to 268: add support for the CJK encodings
153         - all encodings supported by CJK.sty are now in lib/encodings
154         - lib/encoding has got two new flags:
155           - encoding package:
156             "inputenc" for those languages that use the inputenc-package and
157             "CJK" for the CJK encodings
158           - "fixed"/"variable" to divide between multi- or single-byte encoding 
159         - lib/languages allows now to set an empty language for babel
160           in this case babel isn't called.
161         
162 2007-05-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
163
164         * format incremented to 267: add plain utf8 encoding (for XeTeX).
165
166 2007-04-29  Uwe Stöhr  <uwestoehr@web.de>
167
168         * format incremented to 266:
169         Support for the Armenian language
170         
171 2007-04-26  Uwe Stöhr  <uwestoehr@web.de>
172
173         * format incremented to 265: fix LyX's table border line handling
174         With the fix (see bug 1746) LyX now takes care if the user has entered
175         a "|" character in the argument field of tables. Therefore the "|"
176         character has to be removed when also a table border is set.
177
178 2007-04-24  José Matos  <jamatos@lyx.org>
179
180         * format incremented to 264:
181         textclass cv is renamed simplecv
182
183 2007-02-22  José Matos  <jamatos@lyx.org>
184
185         * format incremented to 263: changes in the language names (overdue):
186           brazil -> brazilian
187           portuges -> portuguese
188
189 2007-02-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
190
191         * format incremented to 262: Allow ascii \inputencoding
192
193 2007-02-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
194
195         * format incremented to 261: \output_changes is now considered
196         even if \tracking_changes is false. This allows to output existing
197         changes even if future changes are not tracked anymore.
198         The old combination
199
200         \tracking_changes false
201         \output_changes true
202
203         is therefore converted to
204
205         \tracking_changes false
206         \output_changes false
207
208         on upgrade. Nothing is done on downgrade since the new behaviour is
209         not supported in older formats.
210
211 2007-02-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
212
213         * format incremented to 260: Allow utf8x \inputencoding
214
215 2007-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
216
217         * format incremented to 259:
218         Old: Spaces at start or end of font changes were output outside of
219              the font change, i.e. not 'xx\textbf{ yy }zz', but
220              'xx \textbf{yy} zz'.
221         New: Spaces are always output with the font set by the user.
222
223 2007-01-31  Uwe Stöhr  <uwestoehr@web.de>
224
225         * format incremented to 258: new \lyxline definition
226         Old:
227                 \\newcommand{\\lyxline}[1]{ 
228                   {#1 \\vspace{1ex} \\hrule width \\columnwidth \\vspace{1ex}} 
229                 } 
230         New:
231                 \\newcommand{\\lyxline}[1][1pt]{% 
232                   \\par\\noindent% 
233                   \\rule[.5ex]{\\linewidth}{#1}\\par}
234         The new definition is more robust, see bug 1988 and now really takes care about
235         the fontsize: \lyxline{\Huge} produces now a thicker line than \lyxline{\normalfont}
236
237 2007-01-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
238
239         * format incremented to 257: Caption styles have been replaced by
240         InsetCaption. This is at the same time also a layout file format
241         change to format 3. layout2layout removes caption layouts from old
242         styles.
243         Note that InsetCaption did exist before this format, but was never
244         used. Old files containing do nevertheless still work.
245         Of course users can still define a Caption style in layout files,
246         but the special treatment in LyX is gone (apart from the sensitive
247         label property).
248
249 2006-12-22  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
250
251         * format incremented to 256: allow some new inputenc settings.
252         For the complete list, see lib/lyx2lyx/lyx_1_5.py.
253
254 2006-11-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
255
256         * format incremented to 255: new insets for \clearpage and
257         \cleardoublepage. They are written inline to the file, exactly like
258         \newpage.
259
260 2006-11-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
261
262         * format incremented to 254: new header parameter \use_esint.
263         It can have the same values as \use_amsmath: 0 (off), 1 (auto) and
264         2 (on).
265
266 2006-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
267
268         * format incremented to 253: new nomenclature and printnomenclature
269         insets. These are standard InsetCommand with the following parameters:
270         \nomenclature[prefix]{symbol}{description}
271         \printnomenclature[labelwidth]
272
273 2006-10-15  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
274
275         * format incremented to 252: changed command inset syntax
276
277         Old:
278
279         \begin_inset LatexCommand \cmdname[opt1][opt2]{arg}
280         preview true
281         \end_inset
282
283         and
284
285         \bibitem [opt1]{arg}
286
287
288         New:
289
290         \begin_inset LatexCommand cmdname
291         name1 "opt1"
292         name2 "opt2"
293         name3 "arg"
294         preview true
295         \end_inset
296
297         The order of the parameters and for each parameter the name and
298         optional/required bit is now stored in InsetCommandParams.
299
300 2006-10-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
301
302         * format incremented to 251: save show_label param for charstyles.
303
304         On revert, the show_label param is just removed. Nothing to convert.
305
306 2006-10-12  Martin Vermeer <martin.vermeer@hut.fi>
307
308         * Format incremented to 250: allow optional arg to environments
309
310         No material format change. Now optargs for environments are allowed
311         to be specified in layout files and will be handled properly. When 
312         converted back to older formats, they will be ignored in LaTeX 
313         output.
314
315 2006-08-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
316
317         * format incremented to 249: Unicode
318
319         LyX documents are now always encoded in utf8. The value of
320         \inputencoding does now only determine the encoding of the created
321         LaTeX file.
322         Up to format 248 the value of \inputencoding did also determine the
323         encoding of the LyX file:
324
325         \inputencoding       LyX file encoding
326         auto                 as determined by the document and character
327                              languages
328         default              ditto
329         everything else      as determined by \inputencoding
330
331         The difference between auto and default is only the LaTeX output:
332         auto causes loading of the inputenc package, default does not.
333
334 2006-07-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
335
336         * format incremented to 248: Basic booktabs support
337
338         The <features> tag has a new switch: booktabs="true|false".
339         An absent switch is equivalent to booktabs="false".
340         Horizontal lines are set with the booktabs package if this switch
341         is on.
342
343         The <row> tag of tabulars has the following new attributes:
344         topspace, bottomspace and interlinespace. All take a LyXLength
345         as value, or the special keyword "default".
346
347 2006-06-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
348
349         * format incremented to 247. The Grand Font Interface Rewrite.
350         (1) Split font selection to rm, sf, tt:
351                 \fontscheme -> \font_roman, \font_sans, \font_typewriter
352                 Change 246->247:
353                         \fontscheme     \font_roman     \font_sans      \font_typewriter
354                         default         default         default         default
355                         ae              ae              default         default
356                         times           times           default         default
357                         palatino        palatino        default         default
358                         helvet          default         helvet          default
359                         avant           default         avant           default
360                         newcent         newcent         default         default
361                         bookman         bookman         default         default
362                         pslatex         times           (or \usepackage{pslatex})
363                 New 246->247:
364                         \font_roman: cmr (-> \renewcommand{\rmdefault}{cmr}), 
365                                      lmodern, charter, utopia, ccfonts, chancery, beraserif
366                                         (-> \usepackage{<name>})
367                         \font_sans: cmss, lmss, cmbr 
368                                         (-> \renewcommand{\sfdefault}{<name>})
369                                     berasans (-> \usepackage{<name>})
370                         \font_typewriter: cmtt, lmtt, cmtl,
371                                         (-> \renewcommand{\sfdefault}{<name>})
372                                         courier, luximono, beramono
373                                         (-> \usepackage{<name>})
374         (2) New param \font_default_family (rmdefault, sfdefault, ttdefault)
375         (3) New param \font_sc (true, false).
376         (4) New param \font_osf (true, false).
377         (5) New param \font_sf_scale (float)
378         (6) New param \font_tt_scale (float)
379         Support for the following fonts has been added:
380                 bera, ccfonts, chancery, charter, cmbright, computer modern (explicitely),
381                 courier, lmodern, luximono, utopia.
382         Support for the following font has been removed:
383                 pslatex (it's superseded by mathptmx (times)).
384
385 2006-06-03  Martin Vermeer  <martin.vermeer@hut.fi>
386
387         * format incremented to 246. The framed.sty package is 
388         now supported with note types framed and shaded.
389
390 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
391
392         * format incremented to 245. The \quotes_times parameter
393         has been removed.
394
395 2005-09-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
396
397         * format incremented to 244. Rename '\InsetSpace \,'
398         to '\InsetSpace \thinspace{}', because the comma was
399         not parsed by lyxlex, and '\InsetSpace \space' to
400         '\InsetSpace \space{}' in favour of consistency.
401
402 2005-07-18  José Matos  <jamatos@lyx.org>
403
404         * format incremented to 243.
405
406         * this change only affects the preamble, the paperpackage
407           option was removed and papersize is changed to default.
408
409 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         * format incremented to 242. There is no file format per
412         se, but the "frenchb" language has been removed from lib/language
413         and has to be translated to "french" by lyx2lyx.
414
415 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
416
417         * format incremented to 241.
418
419         All following changes apply only to text in ERT insets. The
420         rationale is that text in ERT is simply ASCII text, and nothing more.
421
422         * paragraph breaks are now a single newline in latex and not a
423         paragraph break anymore (bug 698).
424         * \newline is not allowed anymore, because it is redundant (see above)
425         * layouts other than Standard, paragraph parameters and font changes
426         are not allowed anymore. They never made sense and were ignored for
427         latex output, but now they can't be read or set anymore (bug 922).
428
429
430 2005-01-23  Jürgen Spitzmüller  <j.spitzmüller@gmx.de>
431
432         * format incremented to 240.
433         * new bufferparam:
434                 \output_changes {true|false}
435         (should the change tracking marks be visible in the output or not?)
436         * lyx2lyx should just delete the param in 239.
437
438 2005-01-06  José Matos  <jamatos@lyx.org>
439
440         * format incremented to 239.
441         * the paragraph parameters are displayed in their own line. This
442         change is consistent with the insets behaviour, and corresponds
443         to a more uniform treatment of the paragraphs since some of them
444         had already their own line.
445
446         An example of a single paragraph follows:
447
448 \begin_layout Standard
449 \paragraph_spacing single
450 \align left
451 Paragraph text.
452 \end_layout
453
454
455 2004-12-03  José Matos  <jamatos@lyx.org>
456
457         * format incremented to 238.
458         * The compatibility code to read old latex accents from 0.12.x in
459         InsetLatexAccent::checkContents has been removed.
460         The following translations are done:
461                 "\i \x"   -> "\i \x{}"
462                 "\i \xy"  -> "\i \x{y}"
463                 "\i \x y" -> "\i \x{y}"
464                 "\i \x\i" -> "\i \x{\i}"
465                 "\i \x\j" -> "\i \x{\j}"
466         x is a latex accent command, y the base character. \, i and j are
467         literal.
468         lyx did these changes already from 0.12.x -> 215, but not lyx2lyx,
469         so formats 215 - 237 can have both versions.
470
471
472 2004-10-10  José Matos  <jamatos@lyx.org>
473
474         * format incremented to 237.
475         * In the header, the following statments use now booleans values,
476         instead of 0, 1:
477                 - \use_geometry
478                 - \use_bibtopic
479                 - \tracking_changes
480
481 2004-08-15  José Matos  <jamatos@lyx.org>
482
483         * format incremented to 236.
484         * Added tags:
485                 - \begin_document
486                 - \begin_header
487                 - \begin_body
488                 - \end_body
489
490         * The options for \papersize are changed:
491                 Default -> default
492                 Custom -> custom
493         * All whitespaces are removed at the end of lines, when
494         not necessary. As an example we have all the lines in the header that
495         do not belong to the preamble.
496
497 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
498
499         * format incremented to 235.
500         * \paperpackage had an off-by-one error. Translation table:
501
502           234: a4    a4wide  widemarginsa4
503           235: none  a4      a4wide         widemarginsa4
504
505           The "widemarginsa4" setting of 235 has no equivalent in 234.
506
507 2004-05-12  Angus Leeming  <leeming@lyx.org>
508
509         * format incremented to 234.
510         * the citation engine is specified explicitly rather than being
511         deduced from 3 bools.
512
513         \use_natbib 1
514         \use_numerical_citations 0   ->   \cite_engine <style>
515         \use_jurabib 0
516
517         where <style> is one of "basic", "natbib_authoryear",
518         "natbib_numerical" or "jurabib".
519
520 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
521
522         * format incremented to 233.
523         * insetgraphics does not allow filenames without extension anymore.
524         The complete filename has to be given.
525
526 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
527
528         * format incremented to 232.
529
530         * Support for bibtopic (sectioned bibliographies).
531           - bufferparam \use_bibtopic [1|0]
532           - the bibtex inset has a second argument for bibtopic's
533             btPrint{Cited|NotCited|All} command:
534             < 231:
535             \begin_inset LatexCommand \bibtex[<style>]{<database>}
536             now:
537             \begin_inset LatexCommand \bibtex[<style>][<btPrintX>]{<database>}
538           Forwards, there's nothing to be done. Backwards, \usepackage[dot]{bibtopic}
539           has to be inserted to the preamble. Instead of the bibtex inset, the LaTeX
540           \bibliographystyle{<style>}
541           \begin{btSect}{<database>}
542           \<btprintX>
543           \end{btSect}
544           has to be inserted.
545
546 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
547
548         * format incremented to 231.
549
550         * Support for sidewaysfigure/sidewaystable (rotating package).
551         insetfloat has now a param \sideways [true|false] (default is false).
552         The param should be erased on downwards conversion, if it was true,
553         the inset should be replaced by
554         \begin{sidewaysfigure} <content> \end{sidewaysfigure}
555         resp.
556         \begin{sidewaystable} <content> \end{sidewaystable}
557         i.e. ERT.
558
559 2004-02-23  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
560
561         * format incremented to 230.
562
563         * Support for a second optional argument in insetcommand.
564         currently, citation uses this to support natbibs second
565         optional argument \cite[before][after]{key}.
566         I think there's nothing to convert upwards. Downwards, the
567         commands with 2 optional args need to be converted to ERT.
568
569         * Support for jurabib (param \use_jurabib [1|0], default is 0).
570         When converting downwards, \usepackage{jurabib} has to be added
571         to the preamble and, if babel is used, \usepackage{babel} before
572         (jurabib fails if babel is called afterwards). If the natbib commands
573         are used together with jurabib, they have to be converted to ERT too.
574
575 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
576
577         * format incremented to 229.
578         * Minipages cannot be read anymore. All minipage insets will
579         be converted to frameless box insets between 228->229.
580
581 2003-12-15  Angus Leeming  <leeming@lyx.org>
582
583         * format incremented to 228.
584         * Change the output of all insets derived from InsetCollapsable
585         except for InsetERT (which has a similar output already), changing lines
586         "collapsed true" -> "status collapsed"
587         "collapsed false" -> "status open".
588         * Change the output of InsetERT, changing lines
589         "status Collapsed" -> "status collapsed"
590         "status Open" -> "status open".
591         "status Inlined" -> "status inlined".
592
593 2003-12-10  Angus Leeming  <leeming@lyx.org>
594
595         * format NOT incremented.
596         * add a 'draft' option to InsetExternal.
597
598 2003-12-10  Angus Leeming  <leeming@lyx.org>
599
600         * format incremented to 227.
601         * Change the output of InsetBox:
602         \begin_inset Boxed -> \begin_inset Box Boxed
603         \begin_inset Doublebox -> \begin_inset Box Doublebox
604         \begin_inset Frameless -> \begin_inset Box Frameless
605         \begin_inset ovalbox -> \begin_inset Box ovalbox
606         \begin_inset Ovalbox -> \begin_inset Box Ovalbox
607         \begin_inset Shadowbox -> \begin_inset Box Shadowbox
608
609 2003-12-10  Angus Leeming  <leeming@lyx.org>
610
611         * format incremented to 226.
612         * Change the output of InsetNote:
613         \begin_inset Note -> \begin_inset Note Note
614         \begin_inset Comment -> \begin_inset Note Comment
615         \begin_inset Greyedout -> \begin_inset Note Greyedout
616
617 2003-11-28  André Pönitz
618
619         * Remove space_above/space_below from Paragraph.
620     This is now handled by InsetVSpace.
621
622 2003-10-07  Angus Leeming  <leeming@lyx.org>
623
624         * Add transformations to InsetExternal
625
626         boundingBox 0 0 20 20           the dimensions of the B.B..
627                                         Output if the B.B. is not empty.
628         clip                            clip the image to the B.B.
629                                         Output if true.
630         extra LaTeX "draft"             'extra' data passed to the primary
631                                         command for this output format.
632                                         (Possible formats LaTeX, PDFLaTeX,
633                                          LinuxDoc, DocBook, Ascii.)
634                                         The string can contain spaces and so
635                                         is wrapped in "...".
636         rotateAngle 30                  Rotation of the data.
637                                         Output for non-zero rotation only.
638         rotateOrigin bottomleft         Rotation origin.
639                                         Output for non-zero rotation and
640                                         non-default origin (center) only.
641         scale 50
642         width 2cm                       Output only if the image is resized.
643         height 2cm
644         keepAspectRatio
645
646 2003-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
647
648         * Added box inset. File format:
649
650         \begin_inset Ovalbox            Boxed/Frameless/ovalbox/Ovalbox
651                                             /Shadowbox/Doublebox
652         position "b"                    t/c/b
653         hor_pos "c"                     l/c/r/s
654         has_inner_box 1                 1/0
655         inner_pos "b"                   t/c/b/s
656         use_parbox 0                    1/0
657         width "100col%"                 unit+width-string
658         special "none"                  none/height/depth
659                                             /totalheight/width
660         height "1in"                    unit+width-string
661         height_special "totalheight"    none/height/depth
662                                             /totalheight/width
663         collapsed false                 true/false
664
665         \begin_layout Standard
666
667         <box contents>
668         \end_layout
669
670         \end_inset
671
672         This box (Frameless, has_inner_box=1, use_parbox=0) replaces
673         the pre-existing Minipage inset. Parameters translate as follows:
674         position                        0/1/2   -> t/c/b
675         inner_position                  0/1/2/3 -> inner_pos c/t/b/s
676         height                          same
677         width                           same
678         collapsed                       same
679
680 2003-08-19  Michael Schmitt  <michael.schmitt@teststep.org>
681
682         * attribute valignment="center" is replaced by valignment="middle"
683         for tabular columns and cells
684
685 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
686
687         * Added branch inset. File format:
688
689         branch definition in the header:
690         \branch <branchname>
691         \selected 0                    0/1
692         \color #rrggbb
693         \end_branch
694
695         \begin_inset Branch <branchname>
696         collapsed false                 true/false
697
698         \begin_layout Standard
699
700         <branch contents>
701         \end_layout
702
703         \end_inset
704
705 2003-07-28  José Matos  <jamatos@lyx.org>
706
707         * \the_end is replaced with \end_document
708
709 2003-07-28  José Matos  <jamatos@lyx.org>
710
711         * \layout is replaced with \begin_layout
712
713 2003-07-28  José Matos  <jamatos@fep.up.pt>
714
715         Format bumped to 225
716
717         * All layouts finish now with \end_layout
718
719 2003-06-04  Angus Leeming  <leeming@lyx.org>
720
721         Format bumped to 224
722
723         * the storage of the external inset has been changed from
724
725                 \begin_inset External XFig,"file.fig",""
726
727                 \end_inset
728
729         to this
730
731                 \begin_inset External
732                         template XFig
733                         filename file.fig
734                         display <display_type>
735                         lyxscale <scale>
736
737                 \end_inset
738
739         throwing away the final arg (here "", more generally "<string>") that holds
740         the parameters variable.
741         Variables are output if present (filename) or different from the default
742         values (display, lyxscale).
743
744         Moreover, the RasterImage template has been scrapped. All RasterImage
745         external insets are now converted to Graphics insets.
746
747 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
748
749         * Added new space insets:
750                 \SpecialChar ~ is now \InsetSpace ~
751                 ERT: "\ " could be converted to InsetSpace \<space>
752                 ERT: "\," could be converted to InsetSpace \,
753
754 2003-04-24  André Pönitz <poenitz@gmx.net>
755
756         * Added eqref support:
757         \begin_inset LatexCommand \eqref{label}
758
759 2003-03-14  Dekel Tsur
760
761         * Format bumped to 223.
762
763 2003-03-12  John Levon  <levon@movementarian.org>
764
765         * Added \\end_header to signify the end of the header in a
766           more robust fashion.
767
768         * use_amsmath is now a tristate {0 = never, 1 = auto, 2 = always}
769
770 2003-02-10  John Levon  <levon@movementarian.org>
771
772         Format bumped to 222
773
774         Added \\tracking_changes 0|1 to the header.
775
776         Added \\author to the header. This can be present multiple
777         times, and is of the form :
778
779         \\author "Real Name" email@address.com
780
781         Added \\change_deleted, \\change_inserted. Each of these does not
782         span a paragraph, and is delimited by "\\change_unchanged\n". Both are
783         of the form :
784
785         \\change_inserted author time
786
787         where author is an integer ID reference into the author list in
788         the header, and time is time_t.
789
790 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
791
792         * InsetGraphicsParams.h (scale): is now a float, not an unsigned int.
793
794 2002-08-22  Rob Lahaye <lahaye@snu.ac.kr>
795
796 New graphics dialog. With the removal of buttons in the dialog, also
797 keywords in the graphics inset went. The following keywords do not
798 exist anymore:
799         lyxsize_kind
800         lyxsize_type
801         lyxwidth
802         lyxheight
803         size_kind
804         size_type
805         rotate
806
807 Only non-default values are saved to the lyx files. The defaults of the remaining
808 keywords are;
809         filename <empty>
810         lyxscale 100
811         display default
812         scale 100
813         width <empty>
814         height <empty>
815         draft <off>
816         noUnzip <off>
817         BoundingBox <from file>
818         clip <off>
819         rotateAngle 0
820         rotateOrigin centerBaseline
821         subcaption <off>
822         subcaptionText <empty>
823         special <empty>
824
825 The remaining keywords have sufficient overlap with the old ones for a
826 smooth reading of the 1.2.x inset keywords in most common cases.
827
828 Compatibility is certainly broken for the old lyxwidth/lyxheight keywords.
829 They don't exist anymore and we can't translate them into a scaling value, while
830 we're reading the graphics inset. The old lyxwidth/lyxheight keyword and its
831 argument is ignored and lost.
832
833 Only few compatibility issues are left for lyx2lyx:
834
835 ------------------------------------------------------------------------------
836 old-token                                   new-token         remove
837 ------------------------------------------------------------------------------
838 size_kind original / size_type 0            scale 100         width <val>
839                                                               height <val>
840                                                               scale <val>
841
842 size_kind width_height / size_type 1            -             scale <val>
843
844 lyxsize_kind original / lyxsize_type 0      lyxscale 100      lyxscale <val>
845 ------------------------------------------------------------------------------
846 [replace old-token by new-token, and remove any of subsequent tokens as listed]
847
848 If "rotate" is absent, lyx2lyx should ignore "rotateAngle <val>":
849    if ( "rotateAngle <val>" is there WITHOUT being preceded by the keyword "rotate" )
850    then
851         replace "rotateAngle <val>" by "rotateAngle 0"
852
853
854 2002-08-12  Andre' Poenitz <poenitz@gmx.de>
855
856 Added \lyxlock for locked math inset when written to .lyx file.
857 When "downgrading" .lyx files this should simple be deleted but it
858 does not hurt at all if it stays in. It does not have to be added
859 when "upgrading".
860
861
862 2002-08-02  Angus Leeming  <leeming@lyx.org>
863
864 Added a boolean "preview" flag to InsetCommandParams.
865 Currently it is written only by InsetInclude, because only this
866 class can generate a preview of its contents.
867
868 The LyX file now contains:
869
870  \begin_inset Include \input{snapshot_t=40.tex}
871 +preview true
872
873  \end_inset
874
875 Earlier versions of LyX just swallow this extra token silently.
876
877 2002-08-12  Angus Leeming  <leeming@lyx.org>
878
879 The 1.2.0 InsetGraphicsParams "size_type" and "lyxsize_type" have been
880 renamed as "size_kind" and "lyxsize_kind" respectively.
881
882  \begin_inset Graphics FormatVersion 1
883         filename file.eps
884         display default
885 -       size_kind original
886 +       size_type original
887         width 7cm
888         rotateOrigin center
889 -       lyxsize_kind original
890 +       lyxsize_type original
891         lyxwidth 4cm
892
893  \end_inset
894