2015-05-19 07:57:52 +00:00
|
|
|
!Important Changes in LyX 2.2.0
|
|
|
|
|
|
|
|
(: This file lists interface changes that might affect users in 2.2.0, some
|
|
|
|
known problems in LyX 2.2.0 and some things you have to take into account
|
|
|
|
when upgrading from earlier versions to a version of the 2.2.x series. :)
|
|
|
|
|
|
|
|
|
|
|
|
!!Interface changes
|
|
|
|
|
2015-05-21 21:22:21 +00:00
|
|
|
* The --Separator-- layout has been removed in favor of an environment
|
|
|
|
separator inset. There is no provision for inserting this inset from
|
2015-05-21 21:32:44 +00:00
|
|
|
the GUI (though some menu entries use it) as it is automatically inserted
|
2015-05-21 21:22:21 +00:00
|
|
|
when needed. See Section 3.4.6 of the User Guide for details.
|
2015-05-19 07:57:52 +00:00
|
|
|
|
2015-05-24 11:50:21 +00:00
|
|
|
* The prefix for subsections in labels and references has been changed from
|
|
|
|
"sub:" to "subsec:" in order to avoid a clash with subfloats (conflicting
|
2015-12-11 10:55:31 +00:00
|
|
|
\subref command, see #7550). Files are automatically converted to the new
|
2015-12-11 10:53:37 +00:00
|
|
|
scheme. Please assure that you adapt external refstyle or prettyref
|
|
|
|
definitions and your own layout files.
|
2015-05-27 22:23:44 +00:00
|
|
|
|
2015-05-28 13:43:12 +00:00
|
|
|
* Support for printing from within LyX (File> Print) has been removed. LyX's
|
|
|
|
printing support was very limited, and most users will want to print after
|
2015-05-27 22:23:44 +00:00
|
|
|
reviewing an output document (e.g., a PDF), anyway, which can be done from the
|
2015-05-28 13:43:12 +00:00
|
|
|
PDF viewer.
|
|
|
|
Users who would like to restore this functionality can create a
|
|
|
|
"printer" format from within LyX and then define, say, a
|
|
|
|
pdf->printer converter that does nothing but call lpd, or a2ps, or
|
|
|
|
whatever. The "printer" will then be available as an export option.
|
|
|
|
|
2015-05-24 11:50:21 +00:00
|
|
|
|
2015-05-19 07:57:52 +00:00
|
|
|
!!!The following pref variables were added in 2.2:
|
|
|
|
|
2015-05-27 22:23:44 +00:00
|
|
|
* \save_origin
|
2015-05-23 16:56:18 +00:00
|
|
|
This variable was introduced to allow saving the document directory
|
|
|
|
path in the document. If allowed, LyX will be able to locate all
|
|
|
|
included files even when the document is manually moved/copied to
|
|
|
|
a different location. If a valid \origin tag is present and the
|
|
|
|
document was actually moved, the path of all included files is
|
|
|
|
updated relative to the new location and the new origin will be
|
|
|
|
recorded when saving again the document.
|
2015-05-19 07:57:52 +00:00
|
|
|
|
|
|
|
!!!The following pref variables were changed in 2.2:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!!!The following pref variables are obsoleted in 2.2:
|
|
|
|
|
2015-05-27 22:23:44 +00:00
|
|
|
* \rtl
|
2015-05-19 07:57:52 +00:00
|
|
|
This variable was introduced to guard against any bad consequence of
|
|
|
|
the then-new right-to-left languages support. It is no longer needed
|
|
|
|
because of improvements. Now right-to-left support is always enabled.
|
|
|
|
|
2015-05-27 22:23:44 +00:00
|
|
|
* \printer
|
|
|
|
* \print_adapt_output
|
|
|
|
* \print_command
|
|
|
|
* \print_evenpage_flag
|
|
|
|
* \print_oddpage_flag
|
|
|
|
* \print_pagerange_flag
|
|
|
|
* \print_copies_flag
|
|
|
|
* \print_collcopies_flag
|
|
|
|
* \print_reverse_flag
|
|
|
|
* \print_to_printer
|
|
|
|
* \print_to_file
|
|
|
|
* \print_file_extension:
|
2015-05-28 13:43:12 +00:00
|
|
|
These were used for print support, which has been removed.
|
2015-05-27 22:23:44 +00:00
|
|
|
|
2015-05-19 07:57:52 +00:00
|
|
|
|
|
|
|
!!!The following new LyX functions have been introduced in 2.2:
|
|
|
|
|
2015-05-27 22:23:44 +00:00
|
|
|
* buffer-view-cache
|
2015-05-19 07:57:52 +00:00
|
|
|
Opens the last previewed output of the buffer, if it exists.
|
|
|
|
|
2015-05-27 22:23:44 +00:00
|
|
|
* buffer-move-next
|
2015-05-19 07:57:52 +00:00
|
|
|
Moves the current tab one spot to the right.
|
|
|
|
|
2015-05-27 22:23:44 +00:00
|
|
|
* buffer-move-previous
|
2015-05-19 07:57:52 +00:00
|
|
|
Moves the current tab one spot to the left.
|
|
|
|
|
2016-02-10 00:13:43 +00:00
|
|
|
* tabular-feature is reintroduced to allow more flexibility for user
|
|
|
|
commands, whereas "inset-modify tabular" is now reserved for the tabular
|
|
|
|
dialog. In particular, "inset-modify tabular" is no longer caught by math grid
|
|
|
|
insets. The name tabular-feature is kept to avoid renaming icons. For more
|
|
|
|
information, see #9794.
|
2015-05-19 07:57:52 +00:00
|
|
|
|
|
|
|
!!!The following LyX functions have been changed in 2.2:
|
|
|
|
|
2015-05-28 13:43:12 +00:00
|
|
|
* word-upcase, word-lowcase and word-capitalize do not select the word
|
|
|
|
to operate on in the emacs way (that is, starting at cursor
|
|
|
|
position); this behaviour can be restored by using the argument
|
|
|
|
"partial".
|
2015-05-19 07:57:52 +00:00
|
|
|
|
2016-02-10 00:13:43 +00:00
|
|
|
* Functionality of "inset-modify tabular" has changed. See description of the
|
|
|
|
new LyX function "tabular-feature" above.
|
|
|
|
|
2015-05-19 07:57:52 +00:00
|
|
|
!!!The following LyX key bindings have been changed in 2.2:
|
|
|
|
|
|
|
|
* For bindings where Control + {PgDn, PgUp} switches to the
|
|
|
|
{next, previous} tab, Control + Shift + {PgDn, PgUp} moves the current
|
|
|
|
tab to the {next, previous} tab.
|
2015-05-28 13:43:12 +00:00
|
|
|
|
2015-05-27 23:36:55 +00:00
|
|
|
* The shortcuts for "bookmark-save x" have been changed from C-M-S-x to S-Fx
|
|
|
|
("x" stands for the number of the bookmark.)
|
2015-05-19 07:57:52 +00:00
|
|
|
|
|
|
|
!!!The following LyX documents have been moved in 2.2:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!!!The following metadata files have been added to the tarball in 2.2:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!!Changes with respect to external programs and libraries in 2.2:
|
|
|
|
|
2015-10-14 23:14:01 +00:00
|
|
|
* LyX 2.2.0 and the following 2.2.x releases will continue to work well with
|
2015-10-15 23:52:45 +00:00
|
|
|
Qt 4.5 (and later Qt 4.x) but will also support Qt 5.6, which brings some
|
|
|
|
advantages most notably for users with HiDPI displays. Note that if you
|
|
|
|
compile LyX with a Qt 5 release before 5.6 you are likely to run into
|
|
|
|
several regressions with respect to Qt 4.x. See #9215 for a list of bugs
|
|
|
|
related to compiling LyX with different versions of Qt.
|
2015-05-19 07:57:52 +00:00
|
|
|
|
2016-04-26 03:45:39 +00:00
|
|
|
* If compiling LyX on Windows with Qt 5.6, it is recommended to use MSVC 2015
|
|
|
|
update 2 to avoid #9892.
|
|
|
|
|
2015-05-19 07:57:52 +00:00
|
|
|
* LyX now gives an error if the underlying LaTeX command exited with error.
|
|
|
|
|
|
|
|
|
|
|
|
!!Known issues in version 2.2.0
|
|
|
|
|
|
|
|
* LyX needs to be run under Python 2 and will not work properly on systems
|
2015-12-11 10:55:31 +00:00
|
|
|
where Python 3 is the default binary. See #7030 to know how to fix this
|
|
|
|
properly, since simple shebang conversion in *.py files will not be enough.
|
2015-05-19 07:57:52 +00:00
|
|
|
|
2015-12-11 11:10:00 +00:00
|
|
|
* If using LyX with Qt 4, it is possible to suddenly get keyboard keys wrong,
|
|
|
|
and deadlock. To work around the issue, you can disable IBus for LyX by
|
|
|
|
starting LyX as 'XMODIFIERS= lyx'. For further discussion and alternative
|
|
|
|
workarounds, see #9362.
|
|
|
|
|
2015-05-19 07:57:52 +00:00
|
|
|
|
|
|
|
!!Caveats when upgrading from earlier versions to 2.2.x
|
|
|
|
|
|
|
|
* BibTeX errors are now processed and cause LyX to show the errors dialog.
|
|
|
|
Before, these errors were ignored, which means that it may happen that
|
|
|
|
documents that compiled without error with a previous version now
|
|
|
|
compile with error. However, because now in 2.2.x users can click on
|
|
|
|
the "Show Output Anyway" button, the document can still be viewed.
|
|
|
|
|
2015-10-20 02:57:27 +00:00
|
|
|
* Missing characters in the output are now reported as errors. This leads
|
|
|
|
to error reports for documents that compiled without error before.
|
|
|
|
However, the error was always present but went undetected!
|
2015-08-26 06:41:12 +00:00
|
|
|
|
2015-08-26 22:04:19 +00:00
|
|
|
* Documents using Times fonts and containing Greek characters may now fail
|
|
|
|
to compile under pdflatex for users of MikTeX due to an automatically
|
|
|
|
half-installed "grtimes" package. A workaround in LyX was removed as it
|
2015-12-11 10:55:31 +00:00
|
|
|
stands in the way of alternative approaches (see #6469).
|
2015-11-07 06:48:52 +00:00
|
|
|
|
|
|
|
* With LuaTeX, LyX now uses polyglossia instead of babel if the language
|
|
|
|
package option "Automatic" is selected. In order to use babel, select
|
|
|
|
"Always babel" instead. This may be needed if a document uses code that
|
|
|
|
is specific to babel.
|
2016-03-27 02:32:53 +00:00
|
|
|
|
|
|
|
* As usual, when opening and saving a document that was created by a previous
|
|
|
|
major version of LyX (in this case 2.1.x), the file format is changed to
|
|
|
|
the new file format (in this case 2.2.x). What is different starting with
|
|
|
|
2.2.0 is that when we save a file that was not originally in the current LyX
|
|
|
|
format, we create a backup of the original file. We put it in the backup
|
|
|
|
directory, if one exists, otherwise in the directory the original file is
|
|
|
|
in. This is the same strategy as for normal backups. This backup file can be
|
|
|
|
helpful in case a bug in lyx2lyx caused data loss. For more information, see
|
|
|
|
#9554.
|