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