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