]> git.lyx.org Git - lyx.git/blob - lib/RELEASE-NOTES
remerge he.po
[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 * InsetRef now supports starred commands. The starred commands stop hyperref from
48   creating a link (and are only available when hyperref is used). There is a 
49   checkbox "No Hyperlink" for this purpose.
50
51 * Alt-Escape can be used to 'float' and redock widgets like the table of contents
52   or source view.
53
54 * Edit > Paste operation now preserves newlines in text by default.
55
56
57 !!Documents compilation process and images conversion
58
59 * LyX now uses utf8 encoding per default for all languages. This does
60   not affect existing documents. Note that LyX also does not touch
61   personal defaults and templates. That is to say, if you still see
62   traditional encoding preset for new documents, you can change that
63   by selecting "Unicode (utf8) [default]" and hitting "Save as
64   Documents Defaults" afterwards. Your personal templates need to be
65   changed manually if desired.
66
67 * LyX defaults to the "HE8" LaTeX font encoding with Hebrew if the
68   "Culmus" LaTeX fonts are installed.
69
70 * Documents that use TeX fonts can only be compiled with XeTeX if the input
71   encoding is set to "utf8-plain" or "ascii".
72
73 * With LyXHTML output, there are now different CSS classes generated for
74   different depths: enumi, enumii, enumiii, and enumiv, and similarly for
75   itemize: lyxitemi, etc. There is also a new HTMLClass tag, which makes it
76   easier to provide specific classes for paragraphs.
77
78 * HTML support has been updated to output XHTML5 files. A major change is the
79   use of XML entities instead of HTML ones (e.g., LyX now outputs -
80   instead of ").
81
82 * DocBook support has been revamped and now targets DocBook 5 (i.e.
83   only XML, SGML is gone). Some supporting files for the previous
84   implementation have been removed: all examples (lib/examples),
85   some layouts (existing documents should still work, but with a
86   DocBook 5 output instead of DocBook 4 SGML). The dependency on
87   sgmltools has been removed, this new support is always enabled.
88   Having sgmltools installed or not will not change anything in LyX.
89
90 * Postscript -> PDF convertor (ps2pdf) uses -dALLOWPSTRANSPARENCY by
91   default now (implemented since ghostscript 9.53.3, see bug #12303).
92
93 * There is a widespread ban on postscript conversions across different
94   linux distributions and there are currently two way how to address
95   various image conversion errors when typesetting your documents: 
96   - either manually remove the bans of EPS/PDF coders in ImageMagick
97     policy.xml configuration file
98   - or install alternative converters for bitmap <-> postscript.
99     In particular pdftoppm (poppler-utils) and tiff2ps (libtiff-tools)
100     are now recognized and activated in case LyX detects ImageMagick
101     policy ban. These will allow eps<->png(jpg) conversion chain to
102     be found when processing your documents. 
103   Package maintainers of distributions (e.g. openSUSE or Debian derivates)
104   where ghostscript conversions of ImageMagick are banned can simply 
105   add dependencies for poppler-utils and libtiff-tools to workaround
106   the problem.
107
108 * LyX now supports hebrew and hungarian quotation styles.
109
110 !!!The following pref variables were added in 2.4:
111
112 * \ct_additions_underlined true|false: determines whether additions in change tracking
113   are underlined in the workarea (default: true).
114
115 * \ct_markup_copied true|false: determines whether change tracking markup should be
116   preserved on copy/paste (default: false).
117
118 * \citation_search_view lyxpaperview: determines whether external script "lyxpaperview"
119   should be used for looking up citation source.
120
121 * \draw_strategy partial|backingstore: when this is set to
122   "backingstore", the drawing code will force the use of an
123   intermediate surface, instead of just drawing changed regions on
124   screen. Note that "backingstore" is actually always enforced on
125   macOS and Wayland (default: partial).
126
127 * \screen_limit true|false: determines whether the text width on screen is limited
128   (both fullscreen and normal view).
129
130 * \screen_width <length>: sets the width of the text on screen if \screen_limit is true.
131
132 !!!The following pref variables were changed in 2.4:
133
134
135
136 !!!The following pref variables are obsoleted in 2.4:
137
138 * \font_encoding
139   The font encoding is now automatically set depending on the document
140   fonts and languages.
141
142 * \fullscreen_limit
143   Removed in favor of \screen_limit
144
145 * \fullscreen_width
146   Removed in favor of \screen_width
147
148 * \use_qimage
149   This is no longer necessary due to the rewrite of the painter.
150
151 * \use_pixmap_cacheqimage
152   There is no evidence that this painting mode was useful anymore.
153
154 * \date_insert_format
155   The function date-insert has been removed and superseded by info-insert date.
156   The latter does not need a pref value anymore.
157
158
159 !!!The following new LyX functions have been introduced in 2.4:
160
161 * bibtex-database-list: output a list of all bibtex files used in the current buffer.
162   The function outputs absolute paths in the OS style and separated by the os-specific
163   path separator. This function is intended for bibliography managers.
164
165 * branch-sync-all: Open/close all insets of selected branch (depending on its activation status).
166
167 * buffer-reset-export advises LyX to remove the auxiliary files before doing the next
168   export.
169
170 * buffer-write-as-template is a new convenience function to ease saving a document
171   in the (personal) templates folder.
172
173 * export-cancel: Used to cancel background export processes.
174
175 * font-nospellcheck marks the word under cursor or selection to the effect that the
176   spellchecker ignores it.
177
178 * ifrelatives is a helper function to check whether a buffer has a master or children.
179
180 * lyxfiles-open opens the new examples or templates dialog.
181
182 * master-buffer-forall executes an lfun in the master and all children of a document.
183
184 * paragraph-select is a new convenience function to select the paragraph
185   surrounding the actual cursor position.
186
187 * search-string-set [arg] stores the <arg>, the currently selected text or the word under
188   cursor in the search cache that is used by word-find[-backward|-forward] if no argument
189   is given to those.
190
191 * spelling-add-local adds words for a given language to the document's local spelling
192   dictionary.
193
194 * spelling-remove-local removes words for a given language from the document's local
195   spelling dictionary.
196
197 * index-tag-all adds a copy of the index entry under cursor to after all occurrences of the
198   word that precedes the index inset.
199
200 * inset-insert-copy inserts the inset's content (in ToC pane) at the position of the cursor.
201
202 * inset-split is a new convenience function that splits an inset into two at the given
203   cursor position. This is only implemented for text insets currently.
204
205 * tabular-style-insert: Insert a table in a specified style.
206
207 * tab-group-next, tab-group-previous: Activate another tab group in split view.
208   The new functions bound to F6/S-F6 in CUA bindings.
209
210
211 !!!The following LyX functions have been changed in 2.4:
212
213 * citation-insert now returns a list of undefined citations if passed through the LyX Server.
214
215 * file-insert: optional second parameter "ignorelang" to make the insertion
216   ignore the inserted file's main language (and rather adapt it to the insertion
217   context's language).
218
219 * info-insert buffer vcs-*: renamed to info-insert vcs *
220
221 * inset-edit recognizes optional argument "nogui" - no editor will be launched in
222   such case, only filename will be returned (for use in scripts).
223
224 * outline-in/out can now take argument "local", that restricts their
225   action to the current paragraph.
226
227 * set-graphics-group was renamed to graphics-set-group.
228
229 * tabular-feature: added toggle parameters "toggle-all-lines", "toggle-border-lines"
230   and "toggle-inner-lines"
231
232 * word-delete-forward, word-delete-backward, char-delete-forward,
233   char-delete-backward
234
235   The 2.4 behavior of these functions is almost equivalent to the
236   pre-2.3 behavior: without argument, it just deletes the
237   next/previous element; with the "confirm" argument however, big
238   insets are selected on the first call and deleted only on the
239   second. This new behavior allow scripts to work intuitively and
240   require the argument only for interactive use.
241
242
243 !!!The following LyX functions have been removed in 2.4:
244
245 * date-insert: obsoleted by info-insert date.
246
247 !!!The following LyX function has been added and then removed in 2.4 development cycle.
248
249 * bidi: used as a first solution to provide icons that change
250   direction with language.
251
252
253 !!!The following LyX documents have been moved in 2.4:
254
255 * As a result of a major restructuring of the templates and example
256   directories, almost all examples and templates files have been renamed and
257   moved to subfolders that reflect the layout category.
258   The files now have much more decriptive (and longer) names, and they use
259   URL encoding for specific special characters such as '(', ')' and '&'.
260   Notably also the file that opens for new users has been renamed (from
261   splash.lyx to Welcome.lyx).
262
263
264 !!!The following new folders have been added to the LyX directory
265
266 * The examples and templates directories have been completely re-organized.
267   They are now much more structured (by means of layout categories) and thus
268   consist of many new subfolders.
269
270
271
272 !!!The following preferences files have been removed from the tarball in 2.4:
273
274
275
276 !!!The following metadata files have been added to the tarball in 2.4:
277
278 * Metainfo was updated from appdata.xml to org.lyx.LyX.metainfo.xml
279   and is by default installed to /usr/share/metainfo/ per freedesktop.org
280   recommendation.
281
282
283 !!Changes with respect to external programs and libraries in 2.4:
284
285 * The Qt5 libraries are now used by default. In order to link against
286   Qt6 the configure option --enable-qt6 has to be used. Qt4 is not 
287   supported anymore.
288
289 * The dependency on pplatex/dvipost was dropped.
290
291 * The dependency on sgmltools was dropped, see DocBook 5 section.
292
293 !!! Dependencies to generate ePub files:
294
295 * The DocBook XSLT 1.0 style sheets are a required dependency to generate
296   ePub files. All versions since 1.76.0 are supported.
297
298   Version 1.79.2 is bundled with LyX. If your system already provides xslt
299   style sheets you can use configure parameter --without-xslt-stylesheets to
300   avoid installing them.
301
302
303 * XSLT processor is needed, two options were successfully tested
304   a) xsltproc
305      - Works on Linux and OSX (tested with xsltproc 1.1.32).
306      - Fails on Windows.
307   b) Saxon
308      - Tested on Linux, OSX and Windows.
309      - Java is a required dependency. Any JVM for Java 1.4 should be supported.
310      - Only Saxon versions 6.5.4 and 6.5.5 are supported.
311      - Version 6.5.5 is bundled with LyX. If your system already provides Saxon
312        (or xsltproc) you can use configure parameter --without-saxon to avoid
313        installation of this library.
314
315 * bash_completion script was updated for a newer syntax.
316
317
318 !!Known issues in version 2.4.0
319
320 * See http://www.lyx.org/trac/wiki/BugTrackerHome
321
322
323 !!Caveats when upgrading from earlier versions to 2.4.x
324
325 * LyX now uses the parskip package for vertical paragraph separation. Since the
326   output differs from the previous (sub-optimal) approach which applied paragraph
327   separation to sections, lists etc. as well, existing documents
328   are converted to use preamble code that maintains the previous layout.
329   The downside is that the workarea looks as if paragraph indendation rather
330   than paragraph separation was used (output is correct). We encourage you
331   to try if the new layout suits you, remove the respective preamble code
332   and re-set the paragraph separation to use the new layout.
333
334 * Autotools monolithic build option for building LyX binaries was removed,
335   for compilation speedup use parallel building on multiple cores instead.
336
337 * Several ttf fonts (esint10.ttf, stmary10.ttf, wasy10.ttf) were changed
338   to reflect the fact that newer Qt libraries do not support displaying certain
339   codepoints anymore (bug #8493, #10161).
340   Distribution packagers need to repack those font files in case they are
341   delivering the fonts as a separated package dependent from core LyX
342   in order to display correctly math symbols like \oint.
343
344   Also note, that while it is still possible to compile LyX against Qt 4
345   these math symbols will not be displayed correctly anymore on Qt 4.
346
347 !! If upgrading from a LyX version before 2.3.0
348
349 * Please additionally see the release notes from the versions in-between:
350   https://wiki.lyx.org/LyX/ReleaseNotes
351
352
353 !!Detailed list of 2.4 changes
354
355 * For more comprehensive list of changes and new features in LyX 2.4 see
356   https://wiki.lyx.org/LyX/NewInLyX24
357