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