]> git.lyx.org Git - lyx.git/blob - lib/RELEASE-NOTES
d3f02890d0151da439fd5f3bdfa3abfa0de025a3
[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 at any time. A menu
7   entry to do so will appear on the Document menu when such a process is
8   underway.  The LFUN for this is export-cancel. One can also click on the red
9   'x' next to the spinner to cancel export. Thanks to this functionality, we now
10   remove the "Stop command?" prompt, which polled users whether to stop a long
11   process.
12
13 * The items on the Edit menu have been reordered, and many of the shortcuts
14   have been changed so that they are more intuitive in the case of often
15   used items. We understand that this may frustrate some users and apologize,
16   while noting that menu shortcuts can always be customized by copying the
17   stdmenus.inc file to the user directory and editing it.
18
19 * Backspace will now merge paragraphs even when they have different layouts.
20
21 * Ctrl-click on a cross-reference will now take you to its label.
22
23 * Default shortcuts for saving bookmarks have been changed to Alt-NUM, where
24   NUM is the number of the bookmark. (They were previously Shift-F1, etc.)
25
26 * Shift-F3 can be used for word-find-backwards (i.e., find previous) on Linux
27   and Windows.
28
29 * The shortcut to use the selection for a find on macOS is now Cmd-E, as is the
30   Apple standard.  The shortcut for find the next occurrence of the current
31   find buffer text is Cmd-G.  The shortcut for toggle of font emphasis has been
32   changed to Cmd-Ctrl-E.
33
34 * Continuous spellcheck is now on by default, but only if the user does not have
35   an existing preferences file. In that case, the old setting is preserved.
36
37 * Document (or selection statistics) is now shown in status bar and can be
38   disabled by the context menu.
39
40 * The actual enabled state of the synchronize TeX output option of the document
41   is used to enable or disable the menu item for forward-search.
42
43 !!Documents compilation process and images conversion
44
45 * LyX now uses utf8 encoding per default for all languages. This does
46   not affect existing documents. Note that LyX also does not touch
47   personal defaults and templates. That is to say, if you still see
48   traditional encoding preset for new documents, you can change that
49   by selecting "Unicode (utf8) [default]" and hitting "Save as
50   Documents Defaults" afterwards. Your personal templates need to be
51   changed manually if desired.
52
53 * LyX defaults to the "HE8" LaTeX font encoding with Hebrew if the
54   "Culmus" LaTeX fonts are installed.
55
56 * Documents that use TeX fonts can only be compiled with XeTeX if the input
57   encoding is set to "utf8-plain" or "ascii".
58
59 * DocBook support has been revamped and now targets DocBook 5 (i.e.
60   only XML, SGML is gone). Some supporting files for the previous
61   implementation have been removed: all examples (lib/examples),
62   some layouts (existing documents should still work, but with a
63   DocBook 5 output instead of DocBook 4 SGML). The dependency on
64   sgmltools has been removed, this new support is always enabled.
65   Having sgmltools installed or not will not change anything in LyX.
66
67 !!!The following pref variables were added in 2.4:
68
69 * \ct_additions_underlined true|false: determines whether additions in change tracking
70   are underlined in the workarea (default: true).
71
72 * \ct_markup_copied true|false: determines whether change tracking markup should be
73   preserved on copy/paste (default: false).
74
75 * \citation_search_view lyxpaperview: determines whether external script "lyxpaperview"
76   should be used for looking up citation source.
77
78 * \draw_strategy partial|backingstore: when this is set to
79   "backingstore", the drawing code will force the use of an
80   intermediate surface, instead of just drawing changed regions on
81   screen. Note that "backingstore" is actually always enforced on
82   macOS and Wayland (default: partial).
83
84 * \screen_limit true|false: determines whether the text width on screen is limited
85   (both fullscreen and normal view).
86
87 * \screen_width <length>: sets the width of the text on screen if \screen_limit is true.
88
89 !!!The following pref variables were changed in 2.4:
90
91
92
93 !!!The following pref variables are obsoleted in 2.4:
94
95 * \font_encoding
96   The font encoding is now automatically set depending on the document
97   fonts and languages.
98
99 * \fullscreen_limit
100   Removed in favor of \screen_limit
101
102 * \fullscreen_width
103   Removed in favor of \screen_width
104
105 * \use_qimage
106   This is no longer necessary due to the rewrite of the painter.
107
108 * \use_pixmap_cacheqimage
109   There is no evidence that this painting mode was useful anymore.
110
111 * \date_insert_format
112   The function date-insert has been removed and superseded by info-insert date.
113   The latter does not need a pref value anymore.
114
115
116 !!!The following new LyX functions have been introduced in 2.4:
117
118 * buffer-reset-export advises LyX to remove the auxiliary files before doing the next
119   export.
120
121 * buffer-write-as-template is a new convenience function to ease saving a document
122   in the (personal) templates folder.
123
124 * export-cancel: Used to cancel background export processes.
125
126 * font-nospellcheck marks the word under cursor or selection to the effect that the
127   spellchecker ignores it.
128
129 * ifrelatives is a helper function to check whether a buffer has a master or children.
130
131 * lyxfiles-open opens the new examples or templates dialog.
132
133 * master-buffer-forall executes an lfun in the master and all children of a document.
134
135 * paragraph-select is a new convenience function to select the paragraph
136   surrounding the actual cursor position.
137
138 * search-string-set [arg] stores the <arg>, the currently selected text or the word under
139   cursor in the search cache that is used by word-find[-backward|-forward] if no argument
140   is given to those.
141
142 * spelling-add-local adds words for a given language to the document's local spelling
143   dictionary.
144
145 * spelling-remove-local removes words for a given language from the document's local
146   spelling dictionary.
147
148 * index-tag-all adds a copy of the index entry under cursor to after all occurrences of the
149   word that precedes the index inset.
150   
151 * inset-insert-copy inserts the inset's content (in ToC pane) at the position of the cursor.
152
153 * inset-split is a new convenience function that splits an inset into two at the given
154   cursor position. This is only implemented for text insets currently.
155
156 * tabular-style-insert: Insert a table in a specified style.
157
158
159 !!!The following LyX functions have been changed in 2.4:
160
161 * set-graphics-group was renamed to graphics-set-group.
162
163 * info-insert buffer vcs-*: renamed to info-insert vcs *
164
165 * file-insert: optional second parameter "ignorelang" to make the insertion
166   ignore the inserted file's main language (and rather adapt it to the insertion
167   context's language).
168
169 * tabular-feature: added toggle parameters "toggle-all-lines", "toggle-border-lines"
170   and "toggle-inner-lines"
171
172 * branch-sync-all: Open/close all insets of selected branch (depending on its activation status).
173
174
175 !!!The following LyX functions have been removed in 2.4:
176
177 * date-insert: obsoleted by info-insert date.
178
179 !!!The following LyX function has been added and then removed in 2.4 development cycle.
180
181 * bidi: used as a first solution to provide icons that change
182   direction with language.
183
184
185 !!!The following LyX documents have been moved in 2.4:
186
187 * As a result of a major restructuring of the templates and example
188   directories, almost all examples and templates files have been renamed and
189   moved to subfolders that reflect the layout category.
190   The files now have much more decriptive (and longer) names, and they use
191   URL encoding for specific special characters such as '(', ')' and '&'.
192   Notably also the file that opens for new users has been renamed (from
193   splash.lyx to Welcome.lyx).
194
195
196 !!!The following new folders have been added to the LyX directory
197
198 * The examples and templates directories have been completely re-organized.
199   They are now much more structured (by means of layout categories) and thus
200   consist of many new subfolders.
201
202
203
204 !!!The following preferences files have been removed from the tarball in 2.4:
205
206
207
208 !!!The following metadata files have been added to the tarball in 2.4:
209
210 * Metainfo was updated from appdata.xml to org.lyx.LyX.metainfo.xml
211   and is by default installed to /usr/share/metainfo/ per freedesktop.org
212   recommendation.
213
214
215 !!Changes with respect to external programs and libraries in 2.4:
216
217 * The Qt5 libraries are now used by default. In order to link against
218   Qt4 the configure option --disable-qt5 has to be used.
219
220 * The dependency on pplatex/dvipost was dropped.
221
222 * The dependency on sgmltools was dropped, see DocBook 5 section.
223
224 !!! Dependencies to generate ePub files:
225
226 * The DocBook XSLT 1.0 style sheets are a required dependency to generate
227   ePub files. All versions since 1.76.0 are supported.
228
229   Version 1.79.2 is bundled with LyX. If your system already provides xslt
230   style sheets you can use configure parameter --without-xslt-stylesheets to
231   avoid installing them.
232
233
234 * XSLT processor is needed, two options were successfully tested
235   a) xsltproc
236      - Works on Linux and OSX (tested with xsltproc 1.1.32).
237      - Fails on Windows.
238   b) Saxon
239      - Tested on Linux, OSX and Windows.
240      - Java is a required dependency. Any JVM for Java 1.4 should be supported.
241      - Only Saxon versions 6.5.4 and 6.5.5 are supported.
242      - Version 6.5.5 is bundled with LyX. If your system already provides Saxon
243        (or xsltproc) you can use configure parameter --without-saxon to avoid
244        installation of this library.
245
246 * bash_completion script was updated for a newer syntax.
247
248
249 !!Known issues in version 2.4.0
250
251 * See http://www.lyx.org/trac/wiki/BugTrackerHome
252
253
254 !!Caveats when upgrading from earlier versions to 2.4.x
255
256 * LyX now uses the parskip package for vertical paragraph separation. Since the
257   output differs from the previous (sub-optimal) approach which applied paragraph
258   separation to sections, lists etc. as well, existing documents
259   are converted to use preamble code that maintains the previous layout.
260   The downside is that the workarea looks as if paragraph indendation rather
261   than paragraph separation was used (output is correct). We encourage you
262   to try if the new layout suits you, remove the respective preamble code
263   and re-set the paragraph separation to use the new layout.
264
265 * Autotools monolithic build option for building LyX binaries was removed,
266   for compilation speedup use parallel building on multiple cores instead.
267
268 * Several ttf fonts (esint10.ttf, stmary10.ttf, wasy10.ttf) were changed
269   to reflect the fact that newer Qt libraries do not support displaying certain
270   codepoints anymore (bug #8493, #10161).
271   Distribution packagers need to repack those font files in case they are
272   delivering the fonts as a separated package dependent from core LyX
273   in order to display correctly math symbols like \oint.
274
275   Also note, that while it is still possible to compile LyX against Qt 4
276   these math symbols will not be displayed correctly anymore on Qt 4.
277
278 !! If upgrading from a LyX version before 2.3.0
279
280 * Please additionally see the release notes from the versions in-between:
281   https://wiki.lyx.org/LyX/ReleaseNotes