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