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