]> git.lyx.org Git - lyx.git/blob - RELEASE-NOTES
Use libmagic for file format detection if available.
[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
26 The following pref variables were changed in 2.0:
27
28 The following pref variables are obsoleted in 2.0:
29
30 - \\default_papersize
31
32 The following new LyX functions have been introduced:
33
34 - LFUN_BUFFER_EXPORT_AS <format> <filename>
35   Equivalent to the new -export-to command-line switch (see above).
36
37 - LFUN_CLIPBOARD_PASTE_SIMPLE ("clipboard-paste-simple")
38   Paste the clipboard contents as simple unformatted text.
39   This is also available through a new menu voice within the
40   [Edit]->[Paste Special...] sub-menu.
41
42
43 The following LyX functions have been removed:
44
45 //template, remove this entry later on
46 - LFUN_NEXT_INSET_TOGGLE ("next-inset-toggle"): use "inset-toggle" instead.
47
48
49 The following LyX functions have been changed:
50
51 //template, remove this entry later on
52 - LFUN_INSET_TOGGLE ("inset-toggle"): For some insets, this function was used 
53   to show the settings dialog. This is no longer possible and one should use
54   inset-settings for this purpose.
55  
56
57 The following LyX key bindings have been changed:
58
59 //template, remove this entry later on
60 - LFUN_MATH_MACRO_FOLD ("math-macro-fold")
61   The binding to "C-minus" has changed to "C-S-underscore".
62
63
64 Linux desktop file specification and scalable icon has been included
65 into the tarball.
66
67
68 New external programs and libraries:
69 ------------------------------------
70
71 - LyX links now against libmagic (http://www.darwinsys.com/file/) if it is
72   available at compile time. This improves the file format detection of
73   included graphics and other files. The old builtin format detection code
74   is used if libmagic is not available.
75
76
77 Known issues in version 2.1.0
78 -----------------------------
79
80 - LyX needs to be run under Python 2 and will not work properly on systems
81   where Python 3 is the default binary. See bug #7030 to know how to fix
82   this properly, since simple sheebang conversion in *.py files will not
83   be enough.
84
85 Caveats when upgrading from earlier versions to 2.1.x
86 -------------------------------------------------------
87