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