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.
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).
17 A new configurable preference option has been added, allowing for either
18 (close_buffer_with_last_view)
20 There have been some changes to the LyX command line. The following new
21 options have been added:
23 -export-to <format> <dest> (-E <format> <dest>)
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).
36 The Advanced Find and Replace feature now supports cancel of a long
37 search operation by hitting the ESC key.
39 The following pref variables were changed in 2.1:
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
46 The following pref variables are obsoleted in 2.1:
51 To set the default language and paper size for new documents, use the
52 "Save As Document Defaults" button in Document > Settings.
54 The support for ArmTeX (a special typesetting engine for Armenian) was removed.
55 Writing text in Armenian is now possible in a native way using XeTeX.
57 The following new LyX functions have been introduced:
59 - LFUN_BRANCH_MASTER_ACTIVATE <branch>:
60 LFUN_BRANCH_MASTER_DEACTIVATE <branch>:
61 Activates or deactivates a branch in a master document from within
62 a child (as opposed to the existing LFUN_BRANCH_[DE]ACTIVATE, which
63 toggle the branch in the document itself).
65 - LFUN_BUFFER_EXPORT_AS <format> <filename>
66 Equivalent to the new -export-to command-line switch (see above).
68 - LFUN_CLIPBOARD_PASTE_SIMPLE ("clipboard-paste-simple")
69 Paste the clipboard contents as simple unformatted text.
70 This is also available through a new menu voice within the
71 [Edit]->[Paste Special...] sub-menu.
74 Close the current document view only, if there are no more views
75 on the document, either close or hide it (see the new preference
76 option \\close_buffer_with_last_view)
78 The following LyX functions have been removed:
80 //template, remove this entry later on
81 - LFUN_NEXT_INSET_TOGGLE ("next-inset-toggle"): use "inset-toggle" instead.
84 The following LyX functions have been changed:
86 //template, remove this entry later on
87 - LFUN_INSET_TOGGLE ("inset-toggle"): For some insets, this function was used
88 to show the settings dialog. This is no longer possible and one should use
89 inset-settings for this purpose.
91 - LFUN_CLOSE_TAB_GROUP_CLOSE ("close-tab-group") was renamed to
92 LFUN_TAB_GROUP_CLOSE ("tab-group-close").
94 - LFUN_SPIT_VIEW ("split-view") was renamed to
95 LFUN_VIEW_SPLIT ("view-split").
97 - LFUN_BREAK_PARAGRAPH ("break-paragraph") was renamed to
98 LFUN_PARAGRAPH_BREAK ("paragraph-break").
100 The following LyX key bindings have been changed:
102 //template, remove this entry later on
103 - LFUN_MATH_MACRO_FOLD ("math-macro-fold")
104 The binding to "C-minus" has changed to "C-S-underscore".
106 - The binding "C-w" was moved from "buffer-close" to "view-close"
110 Linux desktop file specification and scalable icon has been included
114 New external programs and libraries:
115 ------------------------------------
117 - LyX links now against libmagic (http://www.darwinsys.com/file/) if it is
118 available at compile time. This improves the file format detection of
119 included graphics and other files. The old builtin format detection code
120 is used if libmagic is not available.
123 Known issues in version 2.1.0
124 -----------------------------
126 - LyX needs to be run under Python 2 and will not work properly on systems
127 where Python 3 is the default binary. See bug #7030 to know how to fix
128 this properly, since simple sheebang conversion in *.py files will not
131 Caveats when upgrading from earlier versions to 2.1.x
132 -------------------------------------------------------
134 In order to improve reported scrolling slowness, we changed the way screen
135 painting is done. This, however, can slow down the performance on remote
136 X connections and we provide RC_USE_QIMAGE variable, which brings back
137 the old way of painting (when set to false).