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