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