]> git.lyx.org Git - lyx.git/blob - development/FORMAT
polish update
[lyx.git] / development / FORMAT
1 LyX file-format changes
2 -----------------------
3
4 2003-03-12  John Levon  <levon@movementarian.org>
5
6         * Added \\end_header to signify the end of the header in a
7           more robust fashion.
8
9         * use_amsmath is now a tristate {0 = never, 1 = auto, 2 = always}
10
11 2003-02-10  John Levon  <levon@movementarian.org>
12
13         Format bumped to 222
14
15         Added \\tracking_changes 0|1 to the header.
16
17         Added \\author to the header. This can be present multiple
18         times, and is of the form :
19
20         \\author "Real Name" email@address.com
21
22         Added \\change_deleted, \\change_inserted. Each of these does not
23         span a paragraph, and is delimited by "\\change_unchanged\n". Both are
24         of the form :
25
26         \\change_inserted author time
27
28         where author is an integer ID reference into the author list in
29         the header, and time is time_t.
30
31 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
32
33         * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
34
35 2002-08-22  Rob Lahaye <lahaye@snu.ac.kr>
36
37 New graphics dialog. With the removal of buttons in the dialog, also
38 keywords in the graphics inset went. The following keywords do not
39 exist anymore:
40         lyxsize_kind
41         lyxsize_type
42         lyxwidth
43         lyxheight
44         size_kind
45         size_type
46         rotate
47
48 Only non-default values are saved to the lyx files. The defaults of the remaining
49 keywords are;
50         filename <empty>
51         lyxscale 100
52         display default
53         scale 100
54         width <empty>
55         height <empty>
56         draft <off>
57         noUnzip <off>
58         BoundingBox <from file>
59         clip <off>
60         rotateAngle 0
61         rotateOrigin centerBaseline
62         subcaption <off>
63         subcaptionText <empty>
64         special <empty>
65
66 The remaining keywords have sufficient overlap with the old ones for a
67 smooth reading of the 1.2.x inset keywords in most common cases.
68
69 Compatibility is certainly broken for the old lyxwidth/lyxheight keywords.
70 They don't exist anymore and we can't translate them into a scaling value, while
71 we're reading the graphics inset. The old lyxwidth/lyxheight keyword and its
72 argument is ignored and lost.
73
74 Only few compatibility issues are left for lyx2lyx:
75
76 ------------------------------------------------------------------------------
77 old-token                                   new-token         remove
78 ------------------------------------------------------------------------------
79 size_kind original / size_type 0            scale 100         width <val>
80                                                               height <val>
81                                                               scale <val>
82
83 size_kind width_height / size_type 1            -             scale <val>
84
85 lyxsize_kind original / lyxsize_type 0      lyxscale 100      lyxscale <val>
86 ------------------------------------------------------------------------------
87 [replace old-token by new-token, and remove any of subsequent tokens as listed]
88
89 If "rotate" is absent, lyx2lyx should ignore "rotateAngle <val>":
90    if ( "rotateAngle <val>" is there WITHOUT being preceded by the keyword "rotate" )
91    then
92         replace "rotateAngle <val>" by "rotateAngle 0"
93
94
95 2002-08-12  Andre' Poenitz <poenitz@gmx.de>
96
97 Added \lyxlock for locked math inset when written to .lyx file.
98 When "downgrading" .lyx files this should simple be deleted but it
99 does not hurt at all if it stays in. It does not have to be added
100 when "upgrading".
101
102
103 2002-08-02  Angus Leeming  <leeming@lyx.org>
104
105 Added a boolean "preview" flag to InsetCommandParams.
106 Currently it is written only by InsetInclude, because only this
107 class can generate a preview of its contents.
108
109 The LyX file now contains:
110
111  \begin_inset Include \input{snapshot_t=40.tex}
112 +preview true
113
114  \end_inset 
115
116 Earlier versions of LyX just swallow this extra token silently.
117
118 2002-08-12  Angus Leeming  <leeming@lyx.org>
119
120 The 1.2.0 InsetGraphicsParams "size_type" and "lyxsize_type" have been
121 renamed as "size_kind" and "lyxsize_kind" respectively.
122
123  \begin_inset Graphics FormatVersion 1
124         filename file.eps
125         display default
126 -       size_kind original
127 +       size_type original
128         width 7cm
129         rotateOrigin center
130 -       lyxsize_kind original
131 +       lyxsize_type original
132         lyxwidth 4cm
133
134  \end_inset 
135