]> git.lyx.org Git - lyx.git/blob - RELEASE-NOTES
documentation
[lyx.git] / RELEASE-NOTES
1 This file lists interface changes that might affect users in 2.1.0, some 
2 known problems in LyX 2.1.0 and some things you have to take into account
3 when upgrading from earlier versions to a version of the 2.1.x series.
4
5
6 Interface changes
7 -----------------
8
9 There have been some changes to the LyX command line. The following new
10 options have been added:
11
12 -export-to <format> <dest>    (-E <format> <dest>)
13
14   Allows one to perform a batch export of the LyX file that is opened
15   to the specified destination file <dest> and format <format>.
16   For example, to create a PDF of a LyX document, you can run:
17     lyx -export-to pdf /path/to/dest.pdf /path/to/source.lyx
18   See the manual page for details.
19   This functionality is also available via a new menu voice
20   Export->Export As..., that pops up a dialog allowing one to
21   choose the export format, as well as the destination pathname.
22   Also, it is available via the mini-buffer (or the -x switch)
23   through a proper new LFUN (see below).
24
25 The Advanced Find and Replace feature now supports cancel of a long
26 search operation by hitting the ESC key.
27
28 The following pref variables were changed in 2.1:
29
30 The following pref variables are obsoleted in 2.1:
31
32 - \\default_language
33 - \\default_papersize
34
35 To set the default language and paper size for new documents, use the
36 "Save As Document Defaults" button in Document > Settings.
37
38 The following new LyX functions have been introduced:
39
40 - LFUN_BUFFER_EXPORT_AS <format> <filename>
41   Equivalent to the new -export-to command-line switch (see above).
42
43 - LFUN_CLIPBOARD_PASTE_SIMPLE ("clipboard-paste-simple")
44   Paste the clipboard contents as simple unformatted text.
45   This is also available through a new menu voice within the
46   [Edit]->[Paste Special...] sub-menu.
47
48
49 The following LyX functions have been removed:
50
51 //template, remove this entry later on
52 - LFUN_NEXT_INSET_TOGGLE ("next-inset-toggle"): use "inset-toggle" instead.
53
54
55 The following LyX functions have been changed:
56
57 //template, remove this entry later on
58 - LFUN_INSET_TOGGLE ("inset-toggle"): For some insets, this function was used 
59   to show the settings dialog. This is no longer possible and one should use
60   inset-settings for this purpose.
61  
62
63 The following LyX key bindings have been changed:
64
65 //template, remove this entry later on
66 - LFUN_MATH_MACRO_FOLD ("math-macro-fold")
67   The binding to "C-minus" has changed to "C-S-underscore".
68
69
70 Linux desktop file specification and scalable icon has been included
71 into the tarball.
72
73
74 New external programs and libraries:
75 ------------------------------------
76
77 - LyX links now against libmagic (http://www.darwinsys.com/file/) if it is
78   available at compile time. This improves the file format detection of
79   included graphics and other files. The old builtin format detection code
80   is used if libmagic is not available.
81
82
83 Known issues in version 2.1.0
84 -----------------------------
85
86 - LyX needs to be run under Python 2 and will not work properly on systems
87   where Python 3 is the default binary. See bug #7030 to know how to fix
88   this properly, since simple sheebang conversion in *.py files will not
89   be enough.
90
91 Caveats when upgrading from earlier versions to 2.1.x
92 -------------------------------------------------------
93
94 In order to improve reported scrolling slowness, we changed the way screen
95 painting is done. This, however, can slow down the performance on remote
96 X connections and we provide RC_USE_QIMAGE variable, which brings back
97 the old way of painting (when set to false).
98