]> git.lyx.org Git - lyx.git/blob - lib/RELEASE-NOTES
DocBook: use DocBookWrapperMergeWithPrevious in the code.
[lyx.git] / lib / RELEASE-NOTES
1 !Important Changes in LyX 2.4.0
2
3
4 !!Interface changes
5
6 * It is now possible to cancel background export processes. A menu entry
7   to do so will appear on the Document menu when such a process is underway.
8   The LFUN for this is export-cancel. One can also click on the 'spinner'
9   to cancel export.
10
11 * The items on the Edit menu have been reordered, and many of the shortcuts
12   have been changed so that they are more intuitive in the case of often
13   used items. We understand that this may frustrate some users and apologize,
14   while noting that menu shortcuts can always be customized by copying the
15   stdmenus.inc file to the user directory and editing it.
16
17 * Backspace will now merge paragraphs even when they have different layouts.
18
19
20 !!Documents compilation process and images conversion
21
22 * LyX now uses utf8 encoding per default for all languages. This does
23   not affect existing documents. Note that LyX also does not touch
24   personal defaults and templates. That is to say, if you still see
25   traditional encoding preset for new documents, you can change that
26   by selecting "Unicode (utf8) [default]" and hitting "Save as
27   Documents Defaults" afterwards. Your personal templates need to be
28   changed manually if desired.
29
30 * LyX defaults to the "HE8" LaTeX font encoding with Hebrew if the
31   "Culmus" LaTeX fonts are installed.
32
33 * Documents that use TeX fonts can only be compiled with XeTeX if the input
34   encoding is set to "utf8-plain" or "ascii".
35   
36 * DocBook support has been revamped and now targets DocBook 5 (i.e. 
37   only XML, SGML is gone). Some supporting files for the previous 
38   implementation have been removed: all examples (lib/examples), 
39   some layouts (existing documents should still work, but with a 
40   DocBook 5 output instead of DocBook 4 SGML). The dependency on 
41   sgmltools has been removed, this new support is always enabled.
42   Having sgmltools installed or not will not change anything in LyX.
43
44 !!!The following pref variables were added in 2.4:
45
46 * \ct_additions_underlined true|false: determines whether additions in change tracking
47   are underlined in the workarea (default: true).
48
49 * \ct_markup_copied true|false: determines whether change tracking markup should be
50   preserved on copy/paste (default: false).
51
52
53 !!!The following pref variables were changed in 2.4:
54
55
56
57 !!!The following pref variables are obsoleted in 2.4:
58
59 * \font_encoding
60   The font encoding is now automatically set depending on the document
61   fonts and languages.
62
63 * \use_qimage
64   This is no longer necessary due to the rewrite of the painter.
65
66 * \use_pixmap_cacheqimage
67   There is no evidence that this painting mode was useful anymore.
68
69 * \date_insert_format
70   The function date-insert has been removed and superseded by info-insert date.
71   The latter does not need a pref value anymore.
72
73
74 !!!The following new LyX functions have been introduced in 2.4:
75
76 * bidi is a helper function to implement icons that are different between LTR and RTL text. 
77
78 * buffer-reset-export advises LyX to remove the auxiliary files before doing the next
79   export.
80
81 * buffer-write-as-template is a new convenience function to ease saving a document
82   in the (personal) templates folder.
83
84 * export-cancel: Used to cancel background export processes.
85
86 * ifrelatives is a helper function to check whether a buffer has a master or children.
87
88 * master-buffer-forall executes an lfun in the master and all children of a document.
89
90 * paragraph-select is a new convenience function to select the paragraph
91   surrounding the actual cursor position.
92
93 * tabular-style-insert: Insert a table in a specified style.
94
95
96 !!!The following LyX functions have been changed in 2.4:
97
98 * set-graphics-group was renamed to graphics-set-group.
99
100 * info-insert buffer vcs-*: renamed to info-insert vcs *
101
102 * file-insert: optional second parameter "ignorelang" to make the insertion
103   ignore the inserted file's main language (and rather adapt it to the insertion
104   context's language).
105
106
107 !!!The following LyX functions have been removed in 2.4:
108
109 * date-insert: obsoleted by info-insert date.
110
111 !!!The following LyX function has been added and then removed in 2.4 development cycle.
112
113 * bidi: used as a first solution to provide icons that change
114   direction with language.
115
116
117 !!!The following LyX documents have been moved in 2.4:
118
119 * As a result of a major restructuring of the templates and example
120   directories, almost all examples and templates files have been renamed and
121   moved to subfolders that reflect the layout category.
122   The files now have much more decriptive (and longer) names, and they use
123   URL encoding for specific special characters such as '(', ')' and '&'.
124   Notably also the file that opens for new users has been renamed (from
125   splash.lyx to Welcome.lyx).
126
127
128 !!!The following new folders have been added to the LyX directory
129
130 * The examples and templates directories have been completely re-organized.
131   They are now much more structured (by means of layout categories) and thus
132   consist of many new subfolders. 
133
134
135
136 !!!The following preferences files have been removed from the tarball in 2.4:
137
138
139
140 !!!The following metadata files have been added to the tarball in 2.4:
141
142
143
144 !!Changes with respect to external programs and libraries in 2.4:
145
146 * The Qt5 libraries are now used by default. In order to link against
147   Qt4 the configure option --disable-qt5 has to be used.
148
149 * The dependency on pplatex/dvipost was dropped.
150
151 * The dependency on sgmltools was dropped, see DocBook 5 section.
152
153
154 !!Known issues in version 2.4.0
155
156 * See http://www.lyx.org/trac/wiki/BugTrackerHome
157
158
159 !!Caveats when upgrading from earlier versions to 2.4.x
160
161 * Autotools monolithic build option for building LyX binaries was removed,
162   for compilation speedup use parallel building on multiple cores instead.
163
164 * Several ttf fonts (esint10.ttf, stmary10.ttf, wasy10.ttf) were changed
165   to reflect the fact that newer Qt libraries do not support displaying certain
166   codepoints anymore (bug #8493, #10161). 
167   Distribution packagers need to repack those font files in case they are
168   delivering the fonts as a separated package dependent from core LyX
169   in order to display correctly math symbols like \oint.
170
171   Also note, that while it is still possible to compile LyX against Qt 4
172   these math symbols will not be displayed correctly anymore on Qt 4.
173
174 !! If upgrading from a LyX version before 2.3.0
175
176 * Please additionally see the release notes from the versions in-between:
177   https://wiki.lyx.org/LyX/ReleaseNotes