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