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