]> git.lyx.org Git - lyx.git/blob - lib/RELEASE-NOTES
Japanese doc files: translations from Koji
[lyx.git] / lib / RELEASE-NOTES
1 !Important Changes in LyX 2.2.0
2
3 (: This file lists interface changes that might affect users in 2.2.0, some
4    known problems in LyX 2.2.0 and some things you have to take into account
5    when upgrading from earlier versions to a version of the 2.2.x series. :)
6
7
8 !!Interface changes
9
10 * The --Separator-- layout has been removed in favor of an environment
11   separator inset. There is no provision for inserting this inset from
12   the GUI (though some menu entries use it) as it is automatically inserted
13   when needed. See Section 3.4.6 of the User Guide for details.
14
15 * The prefix for subsections in labels and references has been changed from
16   "sub:" to "subsec:" in order to avoid a clash with subfloats (conflicting
17   \subref command, see #7550). Files are automatically converted to the new
18   scheme. Please assure that you adapt external refstyle or prettyref
19   definitions and your own layout files.
20
21 * Support for printing from within LyX (File> Print) has been removed. LyX's
22   printing support was very limited, and most users will want to print after
23   reviewing an output document (e.g., a PDF), anyway, which can be done from the
24   PDF viewer.
25   Users who would like to restore this functionality can create a
26   "printer" format from within LyX and then define, say, a
27   pdf->printer converter that does nothing but call lpd, or a2ps, or
28   whatever. The "printer" will then be available as an export option.
29
30
31 !!!The following pref variables were added in 2.2:
32
33 * \save_origin
34   This variable was introduced to allow saving the document directory
35   path in the document. If allowed, LyX will be able to locate all
36   included files even when the document is manually moved/copied to
37   a different location. If a valid \origin tag is present and the
38   document was actually moved, the path of all included files is
39   updated relative to the new location and the new origin will be
40   recorded when saving again the document.
41
42 !!!The following pref variables were changed in 2.2:
43
44
45
46 !!!The following pref variables are obsoleted in 2.2:
47
48 * \rtl
49   This variable was introduced to guard against any bad consequence of
50   the then-new right-to-left languages support. It is no longer needed
51   because of improvements. Now right-to-left support is always enabled.
52
53 * \printer
54 * \print_adapt_output
55 * \print_command
56 * \print_evenpage_flag
57 * \print_oddpage_flag
58 * \print_pagerange_flag
59 * \print_copies_flag
60 * \print_collcopies_flag
61 * \print_reverse_flag
62 * \print_to_printer
63 * \print_to_file
64 * \print_file_extension:
65   These were used for print support, which has been removed.
66
67
68 !!!The following new LyX functions have been introduced in 2.2:
69
70 * buffer-view-cache
71   Opens the last previewed output of the buffer, if it exists.
72
73 * buffer-move-next
74   Moves the current tab one spot to the right.
75
76 * buffer-move-previous
77   Moves the current tab one spot to the left.
78
79
80 !!!The following LyX functions have been changed in 2.2:
81
82 * word-upcase, word-lowcase and word-capitalize do not select the word
83   to operate on in the emacs way (that is, starting at cursor
84   position); this behaviour can be restored by using the argument
85   "partial".
86
87 !!!The following LyX key bindings have been changed in 2.2:
88
89 * For bindings where Control + {PgDn, PgUp} switches to the
90   {next, previous} tab, Control + Shift + {PgDn, PgUp} moves the current
91   tab to the {next, previous} tab.
92
93 * The shortcuts for "bookmark-save x" have been changed from C-M-S-x to S-Fx
94   ("x" stands for the number of the bookmark.)
95
96
97 !!!The following LyX documents have been moved in 2.2:
98
99
100
101 !!!The following metadata files have been added to the tarball in 2.2:
102
103
104
105 !!Changes with respect to external programs and libraries in 2.2:
106
107 * LyX 2.2.0 and the following 2.2.x releases will continue to work well with
108   Qt 4.5 (and later Qt 4.x) but will also support Qt 5.6, which brings some
109   advantages most notably for users with HiDPI displays. Note that if you
110   compile LyX with a Qt 5 release before 5.6 you are likely to run into
111   several regressions with respect to Qt 4.x. See #9215 for a list of bugs
112   related to compiling LyX with different versions of Qt.
113
114 * LyX now gives an error if the underlying LaTeX command exited with error.
115
116
117 !!Known issues in version 2.2.0
118
119 * LyX needs to be run under Python 2 and will not work properly on systems
120   where Python 3 is the default binary. See #7030 to know how to fix this
121   properly, since simple shebang conversion in *.py files will not be enough.
122
123 * If using LyX with Qt 4, it is possible to suddenly get keyboard keys wrong,
124   and deadlock. To work around the issue, you can disable IBus for LyX by
125   starting LyX as 'XMODIFIERS= lyx'. For further discussion and alternative
126   workarounds, see #9362.
127
128
129 !!Caveats when upgrading from earlier versions to 2.2.x
130
131 * BibTeX errors are now processed and cause LyX to show the errors dialog.
132   Before, these errors were ignored, which means that it may happen that
133   documents that compiled without error with a previous version now
134   compile with error. However, because now in 2.2.x users can click on
135   the "Show Output Anyway" button, the document can still be viewed.
136
137 * Missing characters in the output are now reported as errors. This leads
138   to error reports for documents that compiled without error before.
139   However, the error was always present but went undetected!
140
141 * Documents using Times fonts and containing Greek characters may now fail
142   to compile under pdflatex for users of MikTeX due to an automatically
143   half-installed "grtimes" package. A workaround in LyX was removed as it
144   stands in the way of alternative approaches (see #6469).
145
146 * With LuaTeX, LyX now uses polyglossia instead of babel if the language
147   package option "Automatic" is selected. In order to use babel, select
148   "Always babel" instead. This may be needed if a document uses code that
149   is specific to babel.