]> git.lyx.org Git - lyx.git/blob - development/FORMAT
prevent crash in cursorX when row cache is empty
[lyx.git] / development / FORMAT
1 LyX file-format changes
2 -----------------------
3
4 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5
6         * format incremented to 229.
7         * Minipages cannot be read anymore. All minipage insets will
8         be converted to frameless box insets between 228->229.
9
10 2003-12-15  Angus Leeming  <leeming@lyx.org>
11
12         * format incremented to 228.
13         * Change the output of all insets derived from InsetCollapsable
14         except for InsetERT (which has this output already), changing lines
15         "collapsed true" -> "status collapsed"
16         "collapsed false" -> "status open".
17
18 2003-12-10  Angus Leeming  <leeming@lyx.org>
19
20         * format NOT incremented.
21         * add a 'draft' option to InsetExternal.
22
23 2003-12-10  Angus Leeming  <leeming@lyx.org>
24
25         * format incremented to 227.
26         * Change the output of InsetBox:
27         \begin_inset Boxed -> \begin_inset Box Boxed
28         \begin_inset Doublebox -> \begin_inset Box Doublebox
29         \begin_inset Frameless -> \begin_inset Box Frameless
30         \begin_inset ovalbox -> \begin_inset Box ovalbox
31         \begin_inset Ovalbox -> \begin_inset Box Ovalbox
32         \begin_inset Shadowbox -> \begin_inset Box Shadowbox
33
34 2003-12-10  Angus Leeming  <leeming@lyx.org>
35
36         * format incremented to 226.
37         * Change the output of InsetNote:
38         \begin_inset Note -> \begin_inset Note Note
39         \begin_inset Comment -> \begin_inset Note Comment
40         \begin_inset Greyedout -> \begin_inset Note Greyedout
41
42 2003-11-28  André Pönitz
43
44         * Remove space_above/space_below from Paragraph. 
45     This is now handled by InsetVSpace.
46
47 2003-10-07  Angus Leeming  <leeming@lyx.org>
48
49         * Add transformations to InsetExternal
50
51         boundingBox 0 0 20 20           the dimensions of the B.B..
52                                         Output if the B.B. is not empty.
53         clip                            clip the image to the B.B.
54                                         Output if true.
55         extra LaTeX "draft"             'extra' data passed to the primary
56                                         command for this output format.
57                                         (Possible formats LaTeX, PDFLaTeX,
58                                          LinuxDoc, DocBook, Ascii.)
59                                         The string can contain spaces and so
60                                         is wrapped in "...".
61         rotateAngle 30                  Rotation of the data.
62                                         Output for non-zero rotation only.
63         rotateOrigin bottomleft         Rotation origin.
64                                         Output for non-zero rotation and
65                                         non-default origin (center) only.
66         scale 50                        
67         width 2cm                       Output only if the image is resized.
68         height 2cm
69         keepAspectRatio
70         
71 2003-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
72
73         * Added box inset. File format:
74
75         \begin_inset Ovalbox            Boxed/Frameless/ovalbox/Ovalbox
76                                             /Shadowbox/Doublebox
77         position "b"                    t/c/b
78         hor_pos "c"                     l/c/r/s
79         has_inner_box 1                 1/0
80         inner_pos "b"                   t/c/b/s
81         use_parbox 0                    1/0
82         width "100col%"                 unit+width-string
83         special "none"                  none/height/depth
84                                             /totalheight/width
85         height "1in"                    unit+width-string
86         height_special "totalheight"    none/height/depth
87                                             /totalheight/width
88         collapsed false                 true/false
89
90         \begin_layout Standard
91
92         <box contents>
93         \end_layout
94
95         \end_inset
96
97         This box (Frameless, has_inner_box=1, use_parbox=0) replaces 
98         the pre-existing Minipage inset. Parameters translate as follows:
99         position                        0/1/2   -> t/c/b
100         inner_position                  0/1/2/3 -> inner_pos c/t/b/s
101         height                          same
102         width                           same
103         collapsed                       same
104
105 2003-08-19  Michael Schmitt  <michael.schmitt@teststep.org>
106
107         * attribute valignment="center" is replaced by valignment="middle"
108         for tabular columns and cells
109
110 2003-07-28  José Matos  <jamatos@lyx.org>
111
112         * \the_end is replaced with \end_document
113
114 2003-07-28  José Matos  <jamatos@lyx.org>
115
116         * \layout is replaced with \begin_layout
117
118 2003-07-28  José Matos  <jamatos@fep.up.pt>
119
120         Format bumped to 225
121
122         * All layouts finish now with \end_layout
123
124 2003-06-04  Angus Leeming  <leeming@lyx.org>
125
126         Format bumped to 224
127
128         * the storage of the external inset has been changed from
129
130                 \begin_inset External XFig,"file.fig",""
131
132                 \end_inset
133
134         to this
135
136                 \begin_inset External
137                         template XFig
138                         filename file.fig
139                         display <display_type>
140                         lyxscale <scale>
141
142                 \end_inset 
143
144         throwing away the final arg (here "", more generally "<string>") that holds
145         the parameters variable.
146         Variables are output if present (filename) or different from the default
147         values (display, lyxscale).
148
149         Moreover, the RasterImage template has been scrapped. All RasterImage
150         external insets are now converted to Graphics insets.
151
152 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
153
154         * Added new space insets:
155                 \SpecialChar ~ is now \InsetSpace ~
156                 ERT: "\ " could be converted to InsetSpace \<space>
157                 ERT: "\," could be converted to InsetSpace \,
158
159 2003-03-12  John Levon  <levon@movementarian.org>
160
161         * Added \\end_header to signify the end of the header in a
162           more robust fashion.
163
164         * use_amsmath is now a tristate {0 = never, 1 = auto, 2 = always}
165
166 2003-02-10  John Levon  <levon@movementarian.org>
167
168         Format bumped to 222
169
170         Added \\tracking_changes 0|1 to the header.
171
172         Added \\author to the header. This can be present multiple
173         times, and is of the form :
174
175         \\author "Real Name" email@address.com
176
177         Added \\change_deleted, \\change_inserted. Each of these does not
178         span a paragraph, and is delimited by "\\change_unchanged\n". Both are
179         of the form :
180
181         \\change_inserted author time
182
183         where author is an integer ID reference into the author list in
184         the header, and time is time_t.
185
186 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
187
188         * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
189
190 2002-08-22  Rob Lahaye <lahaye@snu.ac.kr>
191
192 New graphics dialog. With the removal of buttons in the dialog, also
193 keywords in the graphics inset went. The following keywords do not
194 exist anymore:
195         lyxsize_kind
196         lyxsize_type
197         lyxwidth
198         lyxheight
199         size_kind
200         size_type
201         rotate
202
203 Only non-default values are saved to the lyx files. The defaults of the remaining
204 keywords are;
205         filename <empty>
206         lyxscale 100
207         display default
208         scale 100
209         width <empty>
210         height <empty>
211         draft <off>
212         noUnzip <off>
213         BoundingBox <from file>
214         clip <off>
215         rotateAngle 0
216         rotateOrigin centerBaseline
217         subcaption <off>
218         subcaptionText <empty>
219         special <empty>
220
221 The remaining keywords have sufficient overlap with the old ones for a
222 smooth reading of the 1.2.x inset keywords in most common cases.
223
224 Compatibility is certainly broken for the old lyxwidth/lyxheight keywords.
225 They don't exist anymore and we can't translate them into a scaling value, while
226 we're reading the graphics inset. The old lyxwidth/lyxheight keyword and its
227 argument is ignored and lost.
228
229 Only few compatibility issues are left for lyx2lyx:
230
231 ------------------------------------------------------------------------------
232 old-token                                   new-token         remove
233 ------------------------------------------------------------------------------
234 size_kind original / size_type 0            scale 100         width <val>
235                                                               height <val>
236                                                               scale <val>
237
238 size_kind width_height / size_type 1            -             scale <val>
239
240 lyxsize_kind original / lyxsize_type 0      lyxscale 100      lyxscale <val>
241 ------------------------------------------------------------------------------
242 [replace old-token by new-token, and remove any of subsequent tokens as listed]
243
244 If "rotate" is absent, lyx2lyx should ignore "rotateAngle <val>":
245    if ( "rotateAngle <val>" is there WITHOUT being preceded by the keyword "rotate" )
246    then
247         replace "rotateAngle <val>" by "rotateAngle 0"
248
249
250 2002-08-12  Andre' Poenitz <poenitz@gmx.de>
251
252 Added \lyxlock for locked math inset when written to .lyx file.
253 When "downgrading" .lyx files this should simple be deleted but it
254 does not hurt at all if it stays in. It does not have to be added
255 when "upgrading".
256
257
258 2002-08-02  Angus Leeming  <leeming@lyx.org>
259
260 Added a boolean "preview" flag to InsetCommandParams.
261 Currently it is written only by InsetInclude, because only this
262 class can generate a preview of its contents.
263
264 The LyX file now contains:
265
266  \begin_inset Include \input{snapshot_t=40.tex}
267 +preview true
268
269  \end_inset 
270
271 Earlier versions of LyX just swallow this extra token silently.
272
273 2002-08-12  Angus Leeming  <leeming@lyx.org>
274
275 The 1.2.0 InsetGraphicsParams "size_type" and "lyxsize_type" have been
276 renamed as "size_kind" and "lyxsize_kind" respectively.
277
278  \begin_inset Graphics FormatVersion 1
279         filename file.eps
280         display default
281 -       size_kind original
282 +       size_type original
283         width 7cm
284         rotateOrigin center
285 -       lyxsize_kind original
286 +       lyxsize_type original
287         lyxwidth 4cm
288
289  \end_inset 
290