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