]> git.lyx.org Git - lyx.git/blobdiff - development/FORMAT
Fixed some lines that were too long. It compiled afterwards.
[lyx.git] / development / FORMAT
index aaf9e3e0366aec5f3e3489535e703c36492a6fb2..d55e03a7ef2362458abb7ef01418720ff7845b69 100644 (file)
@@ -1,7 +1,492 @@
 LyX file-format changes
 -----------------------
 
-2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+2007-08-12 José Matos
+
+       * format incremented to 278: Close begin_deeper with a
+          corresponding end_deeper (the only case where it matters is
+          at the end of the body).
+
+2007-08-12 José Matos
+
+       * format incremented to 277: lyx is able to create invalid
+          table where a multicolumn does not have a first cell
+          (required by the table file format)
+
+2007-07-20 Dov Feldstern <dov@lyx.org>
+
+       * format *not* incremented; fixed format 249 conversion, so that it now
+               correctly deals with encodings in footnotes (part of bug 3613)
+
+2007-06-26 Uwe Stöhr <uwestoehr@web.de> and Dov Feldstern <dov@lyx.org>
+
+       * format incremented to 276: switching exsting language 'arabic' to 
+               'arabic_arabtex'; this is to differentiate from the new arabic support
+               using the arabi package.
+
+2007-05-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * format incremented to 275: add graphics params scaleBeforeRotation
+       (fix bug 1749).
+
+2007-06-13 Dov Feldstern <dov@lyx.org>
+       * format incremented to 274: applying the conversion done in format 259
+               to the \lang property, which was forgotten back then... This is
+               slightly more complicated, because the default language has to be
+               determined on a per-paragraph basis.
+
+2007-06-13 Bo Peng <ben.bob@gmail.com>
+       * format incremented to 273: add --Separator-- environment to 
+               separate consecutive environments
+
+2007-06-13 Bo Peng <bpeng@lyx.org>
+       * format incremented to 272: convert listings to ERT because
+               earlier versions of lyx can not handle unrecognizable 
+               listings parameters.
+
+2007-05-15 José Matos <jamatos@lyx.org>
+       * format incremented to 271: extended textclasses accept the
+        normal font sizes: 10, 11 and 12pt.
+
+2007-05-14 Martin Vermeer <martin.vermeer@tkk.fi>
+       * format incremented to 270: support beamer \alert, \structure
+
+2007-05-08 Bo Peng <ben.bob@gmail.com>
+       * format incremented to 269: add listings support
+       - add preamble flag \listings_params, e.g. \listings_params "language=Python,float"
+       - add inset listings, with options lstparams and inline, e.g.
+               \begin_inset listings
+               lstparams "xleftmargin=50pt,language=Python"
+               inline false
+       - add \lstinputlisting Include type. e.g.
+               \begin_inset Include \lstinputlisting{newfile1.lyx}[firstline=10,lastline=15]
+
+2007-05-06 Uwe Stöhr  <uwestoehr@web.de>
+
+       * format incremented to 268: add support for the CJK encodings
+       - all encodings supported by CJK.sty are now in lib/encodings
+       - lib/encoding has got two new flags:
+         - encoding package:
+           "inputenc" for those languages that use the inputenc-package and
+           "CJK" for the CJK encodings
+         - "fixed"/"variable" to divide between multi- or single-byte encoding 
+       - lib/languages allows now to set an empty language for babel
+         in this case babel isn't called.
+       
+2007-05-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * format incremented to 267: add plain utf8 encoding (for XeTeX).
+
+2007-04-29  Uwe Stöhr  <uwestoehr@web.de>
+
+       * format incremented to 266:
+       Support for the Armenian language
+       
+2007-04-26  Uwe Stöhr  <uwestoehr@web.de>
+
+       * format incremented to 265: fix LyX's table border line handling
+       With the fix (see bug 1746) LyX now takes care if the user has entered
+       a "|" character in the argument field of tables. Therefore the "|"
+       character has to be removed when also a table border is set.
+
+2007-04-24  José Matos  <jamatos@lyx.org>
+
+       * format incremented to 264:
+       textclass cv is renamed simplecv
+
+2007-02-22  José Matos  <jamatos@lyx.org>
+
+       * format incremented to 263: changes in the language names (overdue):
+         brazil -> brazilian
+         portuges -> portuguese
+
+2007-02-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 262: Allow ascii \inputencoding
+
+2007-02-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 261: \output_changes is now considered
+       even if \tracking_changes is false. This allows to output existing
+       changes even if future changes are not tracked anymore.
+       The old combination
+
+       \tracking_changes false
+       \output_changes true
+
+       is therefore converted to
+
+       \tracking_changes false
+       \output_changes false
+
+       on upgrade. Nothing is done on downgrade since the new behaviour is
+       not supported in older formats.
+
+2007-02-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 260: Allow utf8x \inputencoding
+
+2007-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 259:
+       Old: Spaces at start or end of font changes were output outside of
+            the font change, i.e. not 'xx\textbf{ yy }zz', but
+            'xx \textbf{yy} zz'.
+       New: Spaces are always output with the font set by the user.
+
+2007-01-31  Uwe Stöhr  <uwestoehr@web.de>
+
+       * format incremented to 258: new \lyxline definition
+       Old:
+               \\newcommand{\\lyxline}[1]{ 
+                 {#1 \\vspace{1ex} \\hrule width \\columnwidth \\vspace{1ex}} 
+               } 
+       New:
+               \\newcommand{\\lyxline}[1][1pt]{% 
+                 \\par\\noindent% 
+                 \\rule[.5ex]{\\linewidth}{#1}\\par}
+        The new definition is more robust, see bug 1988 and now really takes care about
+       the fontsize: \lyxline{\Huge} produces now a thicker line then \lyxline{\normalfont}
+
+2007-01-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 257: Caption styles have been replaced by
+       InsetCaption. This is at the same time also a layout file format
+       change to format 3. layout2layout removes caption layouts from old
+       styles.
+       Note that InsetCaption did exist before this format, but was never
+       used. Old files containing do nevertheless still work.
+       Of course users can still define a Caption style in layout files,
+       but the special treatment in LyX is gone (apart from the sensitive
+       label property).
+
+2006-12-22  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 256: allow some new inputenc settings.
+       For the complete list, see lib/lyx2lyx/lyx_1_5.py.
+
+2006-11-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 255: new insets for \clearpage and
+       \cleardoublepage. They are written inline to the file, exactly like
+       \newpage.
+
+2006-11-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 254: new header parameter \use_esint.
+       It can have the same values as \use_amsmath: 0 (off), 1 (auto) and
+       2 (on).
+
+2006-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 253: new nomenclature and printnomenclature
+       insets. These are standard InsetCommand with the following parameters:
+       \nomenclature[prefix]{symbol}{description}
+       \printnomenclature[labelwidth]
+
+2006-10-15  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 252: changed command inset syntax
+
+       Old:
+
+       \begin_inset LatexCommand \cmdname[opt1][opt2]{arg}
+       preview true
+       \end_inset
+
+       and
+
+       \bibitem [opt1]{arg}
+
+
+       New:
+
+       \begin_inset LatexCommand cmdname
+       name1 "opt1"
+       name2 "opt2"
+       name3 "arg"
+       preview true
+       \end_inset
+
+       The order of the parameters and for each parameter the name and
+       optional/required bit is now stored in InsetCommandParams.
+
+2006-10-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * format incremented to 251: save show_label param for charstyles.
+
+       On revert, the show_label param is just removed. Nothing to convert.
+
+2006-10-12  Martin Vermeer <martin.vermeer@hut.fi>
+
+       * Format incremented to 250: allow optional arg to environments
+
+       No material format change. Now optargs for environments are allowed
+       to be specified in layout files and will be handled properly. When 
+       converted back to older formats, they will be ignored in LaTeX 
+       output.
+
+2006-08-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 249: Unicode
+
+       LyX documents are now always encoded in utf8. The value of
+       \inputencoding does now only determine the encoding of the created
+       LaTeX file.
+       Up to format 248 the value of \inputencoding did also determine the
+       encoding of the LyX file:
+
+       \inputencoding       LyX file encoding
+       auto                 as determined by the document and character
+                            languages
+       default              ditto
+       everything else      as determined by \inputencoding
+
+       The difference between auto and default is only the LaTeX output:
+       auto causes loading of the inputenc package, default does not.
+
+2006-07-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 248: Basic booktabs support
+
+       The <features> tag has a new switch: booktabs="true|false".
+       An absent switch is equivalent to booktabs="false".
+       Horizontal lines are set with the booktabs package if this switch
+       is on.
+
+       The <row> tag of tabulars has the following new attributes:
+       topspace, bottomspace and interlinespace. All take a LyXLength
+       as value, or the special keyword "default".
+
+2006-06-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * format incremented to 247. The Grand Font Interface Rewrite.
+       (1) Split font selection to rm, sf, tt:
+               \fontscheme -> \font_roman, \font_sans, \font_typewriter
+               Change 246->247:
+                       \fontscheme     \font_roman     \font_sans      \font_typewriter
+                       default         default         default         default
+                       ae              ae              default         default
+                       times           times           default         default
+                       palatino        palatino        default         default
+                       helvet          default         helvet          default
+                       avant           default         avant           default
+                       newcent         newcent         default         default
+                       bookman         bookman         default         default
+                       pslatex         times           (or \usepackage{pslatex})
+               New 246->247:
+                       \font_roman: cmr (-> \renewcommand{\rmdefault}{cmr}), 
+                                    lmodern, charter, utopia, ccfonts, chancery, beraserif
+                                       (-> \usepackage{<name>})
+                       \font_sans: cmss, lmss, cmbr 
+                                       (-> \renewcommand{\sfdefault}{<name>})
+                                   berasans (-> \usepackage{<name>})
+                       \font_typewriter: cmtt, lmtt, cmtl,
+                                       (-> \renewcommand{\sfdefault}{<name>})
+                                       courier, luximono, beramono
+                                       (-> \usepackage{<name>})
+       (2) New param \font_default_family (rmdefault, sfdefault, ttdefault)
+       (3) New param \font_sc (true, false).
+       (4) New param \font_osf (true, false).
+       (5) New param \font_sf_scale (float)
+       (6) New param \font_tt_scale (float)
+       Support for the following fonts has been added:
+               bera, ccfonts, chancery, charter, cmbright, computer modern (explicitely),
+               courier, lmodern, luximono, utopia.
+       Support for the following font has been removed:
+               pslatex (it's superseded by mathptmx (times)).
+
+2006-06-03  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * format incremented to 246. The framed.sty package is 
+       now supported with note types framed and shaded.
+
+2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * format incremented to 245. The \quotes_times parameter
+       has been removed.
+
+2005-09-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * format incremented to 244. Rename '\InsetSpace \,'
+       to '\InsetSpace \thinspace{}', because the comma was
+       not parsed by lyxlex, and '\InsetSpace \space' to
+       '\InsetSpace \space{}' in favour of consistency.
+
+2005-07-18  José Matos  <jamatos@lyx.org>
+
+       * format incremented to 243.
+
+       * this change only affects the preamble, the paperpackage
+          option was removed and papersize is changed to default.
+
+2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * format incremented to 242. There is no file format per
+       se, but the "frenchb" language has been removed from lib/language
+       and has to be translated to "french" by lyx2lyx.
+
+2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 241.
+
+       All following changes apply only to text in ERT insets. The
+       rationale is that text in ERT is simply ASCII text, and nothing more.
+
+       * paragraph breaks are now a single newline in latex and not a
+       paragraph break anymore (bug 698).
+       * \newline is not allowed anymore, because it is redundant (see above)
+       * layouts other than Standard, paragraph parameters and font changes
+       are not allowed anymore. They never made sense and were ignored for
+       latex output, but now they can't be read or set anymore (bug 922).
+
+
+2005-01-23  Jürgen Spitzmüller  <j.spitzmüller@gmx.de>
+
+       * format incremented to 240.
+       * new bufferparam:
+               \output_changes {true|false}
+       (should the change tracking marks be visible in the output or not?)
+       * lyx2lyx should just delete the param in 239.
+
+2005-01-06  José Matos  <jamatos@lyx.org>
+
+       * format incremented to 239.
+       * the paragraph parameters are displayed in their own line. This
+       change is consistent with the insets behaviour, and corresponds
+       to a more uniform treatment of the paragraphs since some of them
+       had already their own line.
+
+       An example of a single paragraph follows:
+
+\begin_layout Standard
+\paragraph_spacing single
+\align left
+Paragraph text.
+\end_layout
+
+
+2004-12-03  José Matos  <jamatos@lyx.org>
+
+       * format incremented to 238.
+       * The compatibility code to read old latex accents from 0.12.x in
+       InsetLatexAccent::checkContents has been removed.
+       The following translations are done:
+               "\i \x"   -> "\i \x{}"
+               "\i \xy"  -> "\i \x{y}"
+               "\i \x y" -> "\i \x{y}"
+               "\i \x\i" -> "\i \x{\i}"
+               "\i \x\j" -> "\i \x{\j}"
+       x is a latex accent command, y the base character. \, i and j are
+       literal.
+       lyx did these changes already from 0.12.x -> 215, but not lyx2lyx,
+       so formats 215 - 237 can have both versions.
+
+
+2004-10-10  José Matos  <jamatos@lyx.org>
+
+       * format incremented to 237.
+       * In the header, the following statments use now booleans values,
+       instead of 0, 1:
+               - \use_geometry
+               - \use_bibtopic
+               - \tracking_changes
+
+2004-08-15  José Matos  <jamatos@lyx.org>
+
+       * format incremented to 236.
+       * Added tags:
+               - \begin_document
+               - \begin_header
+               - \begin_body
+               - \end_body
+
+       * The options for \papersize are changed:
+               Default -> default
+               Custom -> custom
+       * All whitespaces are removed at the end of lines, when
+       not necessary. As an example we have all the lines in the header that
+       do not belong to the preamble.
+
+2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 235.
+       * \paperpackage had an off-by-one error. Translation table:
+
+         234: a4    a4wide  widemarginsa4
+         235: none  a4      a4wide         widemarginsa4
+
+         The "widemarginsa4" setting of 235 has no equivalent in 234.
+
+2004-05-12  Angus Leeming  <leeming@lyx.org>
+
+       * format incremented to 234.
+       * the citation engine is specified explicitly rather than being
+       deduced from 3 bools.
+
+       \use_natbib 1
+       \use_numerical_citations 0   ->   \cite_engine <style>
+       \use_jurabib 0
+
+       where <style> is one of "basic", "natbib_authoryear",
+       "natbib_numerical" or "jurabib".
+
+2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format incremented to 233.
+       * insetgraphics does not allow filenames without extension anymore.
+       The complete filename has to be given.
+
+2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * format incremented to 232.
+
+       * Support for bibtopic (sectioned bibliographies).
+         - bufferparam \use_bibtopic [1|0]
+         - the bibtex inset has a second argument for bibtopic's
+           btPrint{Cited|NotCited|All} command:
+           < 231:
+           \begin_inset LatexCommand \bibtex[<style>]{<database>}
+           now:
+           \begin_inset LatexCommand \bibtex[<style>][<btPrintX>]{<database>}
+         Forwards, there's nothing to be done. Backwards, \usepackage[dot]{bibtopic}
+         has to be inserted to the preamble. Instead of the bibtex inset, the LaTeX
+         \bibliographystyle{<style>}
+         \begin{btSect}{<database>}
+         \<btprintX>
+         \end{btSect}
+         has to be inserted.
+
+2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * format incremented to 231.
+
+       * Support for sidewaysfigure/sidewaystable (rotating package).
+       insetfloat has now a param \sideways [true|false] (default is false).
+       The param should be erased on downwards conversion, if it was true,
+       the inset should be replaced by
+       \begin{sidewaysfigure} <content> \end{sidewaysfigure}
+       resp.
+       \begin{sidewaystable} <content> \end{sidewaystable}
+       i.e. ERT.
+
+2004-02-23  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * format incremented to 230.
+
+       * Support for a second optional argument in insetcommand.
+       currently, citation uses this to support natbibs second
+       optional argument \cite[before][after]{key}.
+       I think there's nothing to convert upwards. Downwards, the
+       commands with 2 optional args need to be converted to ERT.
+
+       * Support for jurabib (param \use_jurabib [1|0], default is 0).
+       When converting downwards, \usepackage{jurabib} has to be added
+       to the preamble and, if babel is used, \usepackage{babel} before
+       (jurabib fails if babel is called afterwards). If the natbib commands
+       are used together with jurabib, they have to be converted to ERT too.
+
+2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
        * format incremented to 229.
        * Minipages cannot be read anymore. All minipage insets will
@@ -11,9 +496,13 @@ LyX file-format changes
 
        * format incremented to 228.
        * Change the output of all insets derived from InsetCollapsable
-       except for InsetERT (which has this output already), changing lines
+       except for InsetERT (which has a similar output already), changing lines
        "collapsed true" -> "status collapsed"
        "collapsed false" -> "status open".
+       * Change the output of InsetERT, changing lines
+       "status Collapsed" -> "status collapsed"
+       "status Open" -> "status open".
+       "status Inlined" -> "status inlined".
 
 2003-12-10  Angus Leeming  <leeming@lyx.org>
 
@@ -39,9 +528,9 @@ LyX file-format changes
        \begin_inset Comment -> \begin_inset Note Comment
        \begin_inset Greyedout -> \begin_inset Note Greyedout
 
-2003-11-28  André Pönitz
+2003-11-28  André Pönitz
 
-       * Remove space_above/space_below from Paragraph. 
+       * Remove space_above/space_below from Paragraph.
     This is now handled by InsetVSpace.
 
 2003-10-07  Angus Leeming  <leeming@lyx.org>
@@ -63,11 +552,11 @@ LyX file-format changes
        rotateOrigin bottomleft         Rotation origin.
                                        Output for non-zero rotation and
                                        non-default origin (center) only.
-       scale 50                        
+       scale 50
        width 2cm                       Output only if the image is resized.
        height 2cm
        keepAspectRatio
-       
+
 2003-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
 
        * Added box inset. File format:
@@ -94,7 +583,7 @@ LyX file-format changes
 
        \end_inset
 
-       This box (Frameless, has_inner_box=1, use_parbox=0) replaces 
+       This box (Frameless, has_inner_box=1, use_parbox=0) replaces
        the pre-existing Minipage inset. Parameters translate as follows:
        position                        0/1/2   -> t/c/b
        inner_position                  0/1/2/3 -> inner_pos c/t/b/s
@@ -107,15 +596,35 @@ LyX file-format changes
        * attribute valignment="center" is replaced by valignment="middle"
        for tabular columns and cells
 
-2003-07-28  José Matos  <jamatos@lyx.org>
+2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * Added branch inset. File format:
+
+       branch definition in the header:
+       \branch <branchname>
+       \selected 0                    0/1
+       \color #rrggbb
+       \end_branch
+
+       \begin_inset Branch <branchname>
+       collapsed false                 true/false
+
+       \begin_layout Standard
+
+       <branch contents>
+       \end_layout
+
+       \end_inset
+
+2003-07-28  José Matos  <jamatos@lyx.org>
 
        * \the_end is replaced with \end_document
 
-2003-07-28  José Matos  <jamatos@lyx.org>
+2003-07-28  José Matos  <jamatos@lyx.org>
 
        * \layout is replaced with \begin_layout
 
-2003-07-28  José Matos  <jamatos@fep.up.pt>
+2003-07-28  José Matos  <jamatos@fep.up.pt>
 
        Format bumped to 225
 
@@ -139,7 +648,7 @@ LyX file-format changes
                        display <display_type>
                        lyxscale <scale>
 
-               \end_inset 
+               \end_inset
 
        throwing away the final arg (here "", more generally "<string>") that holds
        the parameters variable.
@@ -149,13 +658,22 @@ LyX file-format changes
        Moreover, the RasterImage template has been scrapped. All RasterImage
        external insets are now converted to Graphics insets.
 
-2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
        * Added new space insets:
                \SpecialChar ~ is now \InsetSpace ~
                ERT: "\ " could be converted to InsetSpace \<space>
                ERT: "\," could be converted to InsetSpace \,
 
+2003-04-24  André Pönitz <poenitz@gmx.net>
+
+       * Added eqref support:
+       \begin_inset LatexCommand \eqref{label}
+
+2003-03-14  Dekel Tsur
+
+       * Format bumped to 223.
+
 2003-03-12  John Levon  <levon@movementarian.org>
 
        * Added \\end_header to signify the end of the header in a
@@ -185,7 +703,7 @@ LyX file-format changes
 
 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
 
-       * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
+       * InsetGraphicsParams.h (scale): is now a float, not an unsigned int.
 
 2002-08-22  Rob Lahaye <lahaye@snu.ac.kr>
 
@@ -266,7 +784,7 @@ The LyX file now contains:
  \begin_inset Include \input{snapshot_t=40.tex}
 +preview true
 
- \end_inset 
+ \end_inset
 
 Earlier versions of LyX just swallow this extra token silently.
 
@@ -286,5 +804,6 @@ renamed as "size_kind" and "lyxsize_kind" respectively.
 +      lyxsize_type original
        lyxwidth 4cm
 
- \end_inset 
+ \end_inset
+