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