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 - There have been changes to some often used menu items.
11 The following menu items moved from View to Document:
12 * View (Default format)
13 * View (Other formats)
14 * Update (Default format)
15 * Update (Other formats)
17 The following menu item moved from Document to View:
18 * Outline -> Outline Pane
20 - Whenever the user closes a (tabbed) view on a document, either by
21 clicking on the tab close button, or by using the File->Close menu,
22 LyX now closes exclusively that specific view. If there are other
23 views showing the same document, they are not closed. When the user
24 closes the last view, LyX can be configured for either closing the
25 document, or keeping it into memory as a hidden document (that can
26 be shown again through the View->Hidden-> submenu).
28 A new configurable preference option has been added, allowing for
29 either (close_buffer_with_last_view).
31 - There have been some changes to the LyX command line. The following
32 new options have been added:
34 -export-to <format> <dest> (-E <format> <dest>)
36 Allows one to perform a batch export of the LyX file that is
37 opened to the specified destination file <dest> and format
38 <format>. For example, to create a PDF of a LyX document,
40 lyx -export-to pdf /path/to/dest.pdf /path/to/source.lyx
41 See the manual page for details.
43 This functionality is also available via a new menu voice
44 Export->Export As..., that pops up a dialog allowing one to
45 choose the export format, as well as the destination pathname.
46 Also, it is available via the mini-buffer (or the -x switch)
47 through a proper new LFUN (see below).
49 - The Advanced Find and Replace feature now supports cancel of a
50 long search operation by hitting the ESC key.
52 - Linux desktop file specification and scalable icon has been
53 included into the tarball.
55 - The format pdf aka "PDF (ps2pdf)" was split in two formats: pdf aka
56 "PDF (ps2pdf)" and pdf6 aka "PDF (graphics)". pdf6 is used for PDF
57 files included as graphics. Custom external templates and converters
58 might need to be adjusted. The format split was needed since otherwise
59 an odt->pdf converter which is intended for included graphics only
60 did interfere with document export via ps2pdf.
62 - The support for ArmTeX (a special typesetting engine for Armenian)
63 was removed. Writing text in Armenian is now possible in a native
67 The following pref variables were added in 2.1:
69 - \\close_buffer_with_last_view [yes|no|ask]
70 When the user closes the last view on a document, close the
71 document as well ("yes"), or hide the document ("no"), or ask
74 - \\completion_minlength
75 Defines the minimal length of a word to be added to the list of
76 words for text completion.
78 - \\default_length_unit
79 Defines the default length unit: 2 for centimers, 6 for inches.
81 - \\default_otf_view_format
82 Defines the default output format for documents with non-tex
83 fonts (OpenType fonts).
86 Defines the prefix for the TEXINPUTS environment variable. A
87 single '.' in the paths will get replaced with the current
88 document dir and also non-absolute paths will be prefixed with
91 The default semantics of TEXINPUTS apply, such that, for example,
92 if a path is terminated with a double slash, all subdirectories
93 will also be searched by both the TeX engine amnd ancillary programs
94 such as dvi previewers or dvips.
96 (see also commit 1717ef20)
99 See Caveats section below.
101 - \\use_system_theme_icons
102 If set to true, LyX tries to use the theme icons as defined by
106 The following pref variables were changed in 2.1:
108 - \\mac_like_word_movement -> \\mac_like_cursor_movement
109 When this option is set, the cursor is now moved to the end of
110 the current paragraph on paragrah-down. The pref variable was
111 renamed to better reflect this new behaviour.
113 The following pref variables are obsoleted in 2.1:
115 - \\default_language and \\default_papersize
116 To set the default language and paper size for new documents, use
117 the "Save As Document Defaults" button in Document > Settings.
119 The following new LyX functions have been introduced:
122 Inserts an IPA (International Phonetic Alphabet) inset.
124 - LFUN_IPAMACRO_INSERT <char>
125 Inserts special IPA macros into the document. <char> can be
126 one of 'tone-falling', 'tone-rising', 'tone-high-rising',
127 'tone-low-rising', 'tone-high-rising-falling', 'deco bottomtiebar',
130 - LFUN_SPELLING_CONTINUOUSLY
131 Toggles continuous spell-checking.
135 Renames or copies a file under version control.
137 - LFUN_BUFFER_FORALL <command>
138 Applies the <command> to all non-hidden buffers.
140 - LFUN_ENVIRONMENT_SPLIT
141 Splits the current environment with a Separator.
143 - LFUN_BRANCH_MASTER_ACTIVATE <branch>
144 LFUN_BRANCH_MASTER_DEACTIVATE <branch>
145 Activates or deactivates a branch in a master document from within
146 a child (as opposed to the existing LFUN_BRANCH_[DE]ACTIVATE, which
147 toggle the branch in the document itself).
149 - LFUN_BUFFER_EXPORT_AS <format> <filename>
150 Equivalent to the new -export-to command-line switch (see above).
152 - LFUN_CLIPBOARD_PASTE_SIMPLE ("clipboard-paste-simple")
153 Paste the clipboard contents as simple unformatted text.
154 This is also available through a new menu voice within the
155 [Edit]->[Paste Special...] sub-menu.
158 Close the current document view only, if there are no more views
159 on the document, either close or hide it (see the new preference
160 option \\close_buffer_with_last_view)
162 The following LyX functions have been changed:
164 - LFUN_CLOSE_TAB_GROUP ("close-tab-group") was renamed to
165 LFUN_TAB_GROUP_CLOSE ("tab-group-close").
167 - LFUN_SPIT_VIEW ("split-view") was renamed to
168 LFUN_VIEW_SPLIT ("view-split").
170 - LFUN_BREAK_PARAGRAPH ("break-paragraph") was renamed to
171 LFUN_PARAGRAPH_BREAK ("paragraph-break").
173 The following LyX key bindings have been changed:
175 - The binding "C-w" was moved from "buffer-close" to "view-close"
179 Changes with respect to external programs and libraries:
180 --------------------------------------------------------
182 - LyX links now against libmagic (http://www.darwinsys.com/file/) if it is
183 available at compile time. This improves the file format detection of
184 included graphics and other files. The old builtin format detection code
185 is used if libmagic is not available.
187 - LyX no longer uses gettext for reading the translation files. This
188 especially has an advantage on Windows, reducing the time it takes to
189 find the correct translation.
192 Known issues in version 2.1.0
193 -----------------------------
195 - LyX needs to be run under Python 2 and will not work properly on systems
196 where Python 3 is the default binary. See bug #7030 to know how to fix
197 this properly, since simple sheebang conversion in *.py files will not
200 Caveats when upgrading from earlier versions to 2.1.x
201 -------------------------------------------------------
203 - In order to improve reported scrolling slowness, we changed the way
204 screen painting is done. This, however, can slow down the performance
205 on remote X connections and we provide the \\use_qimage preference
206 variable, which brings back the old way of painting (when set to false).