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