]> git.lyx.org Git - lyx.git/blob - development/FORMAT
Move some more #includes out of the header files.
[lyx.git] / development / FORMAT
1 LyX file-format changes
2 -----------------------
3
4 2003-08-19  Michael Schmitt  <michael.schmitt@teststep.org>
5
6         * attribute valignment="center" is replaced by valignment="middle"
7         for tabular columns and cells
8
9 2003-07-28  José Matos  <jamatos@lyx.org>
10
11         * \the_end is replaced with \end_document
12
13 2003-07-28  José Matos  <jamatos@lyx.org>
14
15         * \layout is replaced with \begin_layout
16
17 2003-07-28  José Matos  <jamatos@fep.up.pt>
18
19         Format bumped to 225
20
21         * All layouts finish now with \end_layout
22
23 2003-06-04  Angus Leeming  <leeming@lyx.org>
24
25         Format bumped to 224
26
27         * the storage of the external inset has been changed from
28
29                 \begin_inset External XFig,"file.fig",""
30
31                 \end_inset
32
33         to this
34
35                 \begin_inset External
36                         template XFig
37                         filename file.fig
38                         display <display_type>
39                         lyxscale <scale>
40
41                 \end_inset 
42
43         throwing away the final arg (here "", more generally "<string>") that holds
44         the parameters variable.
45         Variables are output if present (filename) or different from the default
46         values (display, lyxscale).
47
48         Moreover, the RasterImage template has been scrapped. All RasterImage
49         external insets are now converted to Graphics insets.
50
51 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
52
53         * Added new space insets:
54                 \SpecialChar ~ is now \InsetSpace ~
55                 ERT: "\ " could be converted to InsetSpace \<space>
56                 ERT: "\," could be converted to InsetSpace \,
57
58 2003-03-12  John Levon  <levon@movementarian.org>
59
60         * Added \\end_header to signify the end of the header in a
61           more robust fashion.
62
63         * use_amsmath is now a tristate {0 = never, 1 = auto, 2 = always}
64
65 2003-02-10  John Levon  <levon@movementarian.org>
66
67         Format bumped to 222
68
69         Added \\tracking_changes 0|1 to the header.
70
71         Added \\author to the header. This can be present multiple
72         times, and is of the form :
73
74         \\author "Real Name" email@address.com
75
76         Added \\change_deleted, \\change_inserted. Each of these does not
77         span a paragraph, and is delimited by "\\change_unchanged\n". Both are
78         of the form :
79
80         \\change_inserted author time
81
82         where author is an integer ID reference into the author list in
83         the header, and time is time_t.
84
85 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
86
87         * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
88
89 2002-08-22  Rob Lahaye <lahaye@snu.ac.kr>
90
91 New graphics dialog. With the removal of buttons in the dialog, also
92 keywords in the graphics inset went. The following keywords do not
93 exist anymore:
94         lyxsize_kind
95         lyxsize_type
96         lyxwidth
97         lyxheight
98         size_kind
99         size_type
100         rotate
101
102 Only non-default values are saved to the lyx files. The defaults of the remaining
103 keywords are;
104         filename <empty>
105         lyxscale 100
106         display default
107         scale 100
108         width <empty>
109         height <empty>
110         draft <off>
111         noUnzip <off>
112         BoundingBox <from file>
113         clip <off>
114         rotateAngle 0
115         rotateOrigin centerBaseline
116         subcaption <off>
117         subcaptionText <empty>
118         special <empty>
119
120 The remaining keywords have sufficient overlap with the old ones for a
121 smooth reading of the 1.2.x inset keywords in most common cases.
122
123 Compatibility is certainly broken for the old lyxwidth/lyxheight keywords.
124 They don't exist anymore and we can't translate them into a scaling value, while
125 we're reading the graphics inset. The old lyxwidth/lyxheight keyword and its
126 argument is ignored and lost.
127
128 Only few compatibility issues are left for lyx2lyx:
129
130 ------------------------------------------------------------------------------
131 old-token                                   new-token         remove
132 ------------------------------------------------------------------------------
133 size_kind original / size_type 0            scale 100         width <val>
134                                                               height <val>
135                                                               scale <val>
136
137 size_kind width_height / size_type 1            -             scale <val>
138
139 lyxsize_kind original / lyxsize_type 0      lyxscale 100      lyxscale <val>
140 ------------------------------------------------------------------------------
141 [replace old-token by new-token, and remove any of subsequent tokens as listed]
142
143 If "rotate" is absent, lyx2lyx should ignore "rotateAngle <val>":
144    if ( "rotateAngle <val>" is there WITHOUT being preceded by the keyword "rotate" )
145    then
146         replace "rotateAngle <val>" by "rotateAngle 0"
147
148
149 2002-08-12  Andre' Poenitz <poenitz@gmx.de>
150
151 Added \lyxlock for locked math inset when written to .lyx file.
152 When "downgrading" .lyx files this should simple be deleted but it
153 does not hurt at all if it stays in. It does not have to be added
154 when "upgrading".
155
156
157 2002-08-02  Angus Leeming  <leeming@lyx.org>
158
159 Added a boolean "preview" flag to InsetCommandParams.
160 Currently it is written only by InsetInclude, because only this
161 class can generate a preview of its contents.
162
163 The LyX file now contains:
164
165  \begin_inset Include \input{snapshot_t=40.tex}
166 +preview true
167
168  \end_inset 
169
170 Earlier versions of LyX just swallow this extra token silently.
171
172 2002-08-12  Angus Leeming  <leeming@lyx.org>
173
174 The 1.2.0 InsetGraphicsParams "size_type" and "lyxsize_type" have been
175 renamed as "size_kind" and "lyxsize_kind" respectively.
176
177  \begin_inset Graphics FormatVersion 1
178         filename file.eps
179         display default
180 -       size_kind original
181 +       size_type original
182         width 7cm
183         rotateOrigin center
184 -       lyxsize_kind original
185 +       lyxsize_type original
186         lyxwidth 4cm
187
188  \end_inset 
189