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