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