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