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