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