]> git.lyx.org Git - lyx.git/blob - RELEASE-NOTES
Note C-w binding change.
[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 Whenever the user closes a (tabbed) view on a document, either by
10 clicking on the tab close button, or by using the File->Close menu,
11 LyX now closes exclusively that specific view. If there are other
12 views showing the same document, they are not closed. When the user
13 closes the last view, LyX can be configured for either closing the
14 document, or keeping it into memory as a hidden document (that can be
15 shown again through the View->Hidden-> submenu).
16
17 A new configurable preference option has been added, allowing for either
18 (close_buffer_with_last_view)
19
20 There have been some changes to the LyX command line. The following new
21 options have been added:
22
23 -export-to <format> <dest>    (-E <format> <dest>)
24
25   Allows one to perform a batch export of the LyX file that is opened
26   to the specified destination file <dest> and format <format>.
27   For example, to create a PDF of a LyX document, you can run:
28     lyx -export-to pdf /path/to/dest.pdf /path/to/source.lyx
29   See the manual page for details.
30   This functionality is also available via a new menu voice
31   Export->Export As..., that pops up a dialog allowing one to
32   choose the export format, as well as the destination pathname.
33   Also, it is available via the mini-buffer (or the -x switch)
34   through a proper new LFUN (see below).
35
36 The Advanced Find and Replace feature now supports cancel of a long
37 search operation by hitting the ESC key.
38
39 The following pref variables were changed in 2.1:
40
41 - \\close_buffer_with_last_view [yes|no|ask]
42   When user closes the last view on a document, close the document
43   as well ("yes"), or hide the document ("no"), or ask the user
44   ("ask").
45
46 The following pref variables are obsoleted in 2.1:
47
48 - \\default_language
49 - \\default_papersize
50
51 To set the default language and paper size for new documents, use the
52 "Save As Document Defaults" button in Document > Settings.
53
54 The following new LyX functions have been introduced:
55
56 - LFUN_BUFFER_EXPORT_AS <format> <filename>
57   Equivalent to the new -export-to command-line switch (see above).
58
59 - LFUN_CLIPBOARD_PASTE_SIMPLE ("clipboard-paste-simple")
60   Paste the clipboard contents as simple unformatted text.
61   This is also available through a new menu voice within the
62   [Edit]->[Paste Special...] sub-menu.
63
64 - LFUN_VIEW_CLOSE
65   Close the current document view only, if there are no more views
66   on the document, either close or hide it (see the new preference
67   option \\close_buffer_with_last_view)
68
69 The following LyX functions have been removed:
70
71 //template, remove this entry later on
72 - LFUN_NEXT_INSET_TOGGLE ("next-inset-toggle"): use "inset-toggle" instead.
73
74
75 The following LyX functions have been changed:
76
77 //template, remove this entry later on
78 - LFUN_INSET_TOGGLE ("inset-toggle"): For some insets, this function was used 
79   to show the settings dialog. This is no longer possible and one should use
80   inset-settings for this purpose.
81  
82 -  LFUN_CLOSE_TAB_GROUP_CLOSE ("close-tab-group") was renamed to
83    LFUN_TAB_GROUP_CLOSE ("tab-group-close").
84
85 The following LyX key bindings have been changed:
86
87 //template, remove this entry later on
88 - LFUN_MATH_MACRO_FOLD ("math-macro-fold")
89   The binding to "C-minus" has changed to "C-S-underscore".
90
91 - The binding "C-w" was moved from "buffer-close" to "view-close".
92
93
94 Linux desktop file specification and scalable icon has been included
95 into the tarball.
96
97
98 New external programs and libraries:
99 ------------------------------------
100
101 - LyX links now against libmagic (http://www.darwinsys.com/file/) if it is
102   available at compile time. This improves the file format detection of
103   included graphics and other files. The old builtin format detection code
104   is used if libmagic is not available.
105
106
107 Known issues in version 2.1.0
108 -----------------------------
109
110 - LyX needs to be run under Python 2 and will not work properly on systems
111   where Python 3 is the default binary. See bug #7030 to know how to fix
112   this properly, since simple sheebang conversion in *.py files will not
113   be enough.
114
115 Caveats when upgrading from earlier versions to 2.1.x
116 -------------------------------------------------------
117
118 In order to improve reported scrolling slowness, we changed the way screen
119 painting is done. This, however, can slow down the performance on remote
120 X connections and we provide RC_USE_QIMAGE variable, which brings back
121 the old way of painting (when set to false).
122