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