Public release of LyX version 2.5.0
===================================

We are proud to announce the release the LyX 2.5.1, the first maintenance
release in the 2.5.x series.

This release fixes a number of mostly minor bugs in 2.5.0. One important fix
concerns crashes when exiting LyX on OSX, specifically when documents are still
open. We have also fixed a handful of bugs with the new input method support.
If you should encounter any more, please do let us know.

If a file from an earlier version of LyX is opened *and saved* with any version
of 2.5.x, then the original file will automatically be backed up. The backup
file will be found in the backup directory, if one is set under
Tools> Preferences> Paths
or else in the same folder as the original file, if no backup directory is set.

If you think you may have found a bug in LyX 2.5.1, either email the developers'
mailing list (lyx-devel at lists.lyx.org), or open a bug report at
  https://www.lyx.org/trac/wiki/BugTrackerHome
Please specify if the behavior you are reporting is different from behavior in
a previous LyX version. Please note that we have had to disable registration
for new accounts due to spam. If you would like an account, email the LyX
developers' list.

If you have trouble using LyX or have a question, consult the documentation
that comes with LyX (under Help) and the LyX wiki, which you will find at
https://wiki.lyx.org/. You can also send email to the LyX users' list
(lyx-users at lists.lyx.org).

The LyX team.
https://www.lyx.org

What's new
==========

** Updates:
***********

* DOCUMENT INPUT/OUTPUT

- Support the Sioyek PDF viewer.


* USER INTERFACE

-  Enable dark/light mode preference setting on Linux.
   This is supported at least for QT_QPA_PLATFORMTHEME=gtk3 (bug 12224).


* DOCUMENTATION AND LOCALIZATION

- Update the KOMA-Letter (v. 2) template.

- Add a German KOMA-Letter (v. 2) template.

- Update Brazilian Portuguese, Czech, Dutch, German, Italian, Japanese, and
  Slovak translations.


* BUILD/INSTALLATION

- Accept macos SDKs with version 20 and higher to build bundle package.



** Bug fixes:
*************

* DOCUMENT INPUT/OUTPUT

- Fix an assertion caused by the new Input Method implementation in relation to
  the change of work area.

- Properly resolve font in insets that do not inherit font (bug 13278).

- Fix switch of text direction with verbatim content (bug 6373).

- Fix several cases where language begin/end commands have not been
  properly nested when "Set document language explicitly" or
  "Unset document language explicitly" have been selected in preferences.

- Fix old docbook layouts.


* USER INTERFACE

- Fix crash in mathed when using cursor right to end the input of
  macro names like \alpha.

- Fix crash when quitting LyX on recent macOS versions.

- Fix cross-references dialog in mathed (bug 13285).

- Fix pasting of partial math grids (bug 13277).

- Fix logic of auto-insertion to argument insets (part of 12364).

- Automatically insert overlay argument of beamer layouts (part of 12364).

- Fix empty paragraph check in pasting (bug 13281).

- Do not allow to split InsetArgument which does not make sense.

- Fix initial value of custom color dialog.

- Build InsetInfo info also when inset is hidden in collapsible (bug 13280).

- Fix computer algebra system bug: converting the displayed math
  into eqnarray* environment (bug 13247).

- Fix PDF->PNG conversion problem on macOS. Now gs takes priority over sips
  on that os (bug 12632).

- Reintroduce a proper version of a broken optimization that was removed for 2.5.0.


* TEX2LYX

- Update tex2lyx support for babel-german.
