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