LyX wiki | LyX / New in LyX 2.3 (original) (raw)

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

<< | Page list | >>

About the new features in LyX 2.3.

What is new in LyX 2.3?

The LyX Team

March 2018

Table of contents (hide)

  1. 1. New features brought by the new file format
    1. 1.1 Biblatex support
    2. 1.2 Multiple bibliographies
    3. 1.3 Inverted branches
    4. 1.4 Quotation marks enhancements
    5. 1.5 Updates to reference handling
    6. 1.6 Improved LaTeX handling in dialogs
    7. 1.7 Fonts
    8. 1.8 New supported document languages
    9. 1.9 New supported LaTeX commands
    10. 1.10 New template for Inkscape drawings
  2. 2. General improvements
    1. 2.1 Handling of environments (e.g. beamer frames)
    2. 2.2 Footnotes in tables
    3. 2.3 Localization of nomenclature
    4. 2.4 New translations of the LyX user interface
    5. 2.5 Improvements to on-screen display of math equations
    6. 2.6 Automatic detection of file changes
    7. 2.7 Citation & reference dialogs
    8. 2.8 Improvements to cursor movement and selection
    9. 2.9 Improvements to row breaking and alignment
    10. 2.10 Outliner and navigation menu
    11. 2.11 Forward/Reverse search and error reporting
    12. 2.12 Change tracking
    13. 2.13 Code preview & highlighting
    14. 2.14 Shortcuts
    15. 2.15 New or changed LFUNs
    16. 2.16 Layouts
    17. 2.17 Module enhancements
    18. 2.18 External templates reorganization
    19. 2.19 Image formats and conversion
    20. 2.20 New preferences settings
    21. 2.21 Miscellaneous
    22. 2.22 Under the hood
    23. 2.23 Backported
    24. 2.24 Categories

§1. New features brought by the new file format

§1.1 Biblatex support

(:statusicon documented:)At long last, LyX 2.3 introduces native support for the state of the art bibliography package, Biblatex. This addresses one of the most frequent user requests.

Biblatex support is not comprehensive in the sense that each and every of the many features of the package is (already) natively supported via the GUI, but it is now possible to

The support furthermore includes the following features:

Simply put, you can now do (almost*) everything with Biblatex you could already do with Natbib or Jurabib in previous versions of LyX, and more (*with the exception of "Subdivided [aka "Sectioned"] Bibliographies", which are easily possible with Biblatex, but too different to be supported by the current "Subdivided Bibliography" check box. See the Biblatex manual for details).

We have put most energy into a design that enables portability between the diverse citation engines as much as possible, so it should be rather straightforward to switch an existing document from, say, Natbib to Biblatex and (to a limited degree, since the feature set is larger) back.

§1.2 Multiple bibliographies

LyX has supported subdivided bibliographies for a long time, drawing on the bibtopic package. LyX 2.3 introduces support for multiple bibliographies (per part, chapter, section, subsection or child document). This uses Biblatex's features, if Biblatex is used (see above). For classic BibTeX, either the bibtopic or the chapterbib package is used (depending on the setting). Since we draw on bibtopic, it is possible to combine multiple with subdivided bibliographies.

§1.3 Inverted branches

(:statusicon documented:)

LyX now supports "inverted" branch insets: Ones whose content will be output if the branch is not activated. This allows users more easily to define alternative text for two versions of a document.

§1.4 Quotation marks enhancements

The quotation marks inset has undergone a thorough revision. Several long-standing bugs have been fixed and some enhancements have been implemented, most notably

§1.5 Updates to reference handling

(:statusicon documented:)

§1.6 Improved LaTeX handling in dialogs

(:statusicon documented:)

Text that is added to the document via dialogs (e.g., "text after" in the citation dialog, "label" in the bibitem dialog, "name" in the hyperlink dialog, "index name" in the document dialog) is now properly prepared for the LaTeX output (special characters are transferred to LaTeX macros and necessary packages are loaded, special characters such as '&' are escaped). The affected dialogs furthermore provide a "literal" checkbox that allows the insertion of literal LaTeX code.

§1.7 Fonts

(:statusicon documented:)The LaTeX package microtype (for micro-typographic enhancements) is natively supported via the document preferences.

The following (LaTeX) fonts are now supported natively:

§1.8 New supported document languages

§1.9 New supported LaTeX commands

§1.10 New template for Inkscape drawings

§2. General improvements

§2.1 Handling of environments (e.g. beamer frames)

(:statusicon documented:)Particularly driven by the feedback we got about some shortcomings in the editing of beamer frames, the following improvements have been made:

§2.2 Footnotes in tables

Footnotes in tables will now directly be output. It is no longer necessary to use TeX or preamble code to achieve this.

§2.3 Localization of nomenclature

Nomenclatures are now fully localized.

§2.4 New translations of the LyX user interface

§2.5 Improvements to on-screen display of math equations

The display of math has seen major changes. LyX now gives a good idea of the appearance of math equations in the typeset output, often matching the instant preview.

The biggest change is the spacing algorithm. One typical example is that �-a� has no spacing, contrary to �a - b�. This reflects the difference TeX makes between unary and binary minus that will indeed appear in typeset output. Macros are handled properly; the spacing inside a macro will depend on the values of the arguments and the elements that are before and after the macro.

(:statusicon documented:) A consequence of these changes is that user macros that contain hand-crafted screen representations may have to be revised. Note that it is now possible to make use of the class macros: \mathrel, \mathbin, \mathop, \mathord, \mathopen, \mathclose, \mathinner, and \mathpunct. In particular \mathrel, \mathbin, \mathop, and \mathord are accessible from the �Styles & classes� toolbar.

§2.6 Automatic detection of file changes

(:statusicon undocumented:)

LyX detects external modifications to files in real-time and warns about it. It is also instantaneous for updating graphics when they change, and more battery-efficient.

§2.7 Citation & reference dialogs

Along the way of the new Biblatex implementation, we have polished, streamlined and extended the bibliography-related code at many places. This also allowed us, en passant, to fix some bugs and implement some long-standing desiderata (such as the display of upper-cased names and full author lists in the GUI and the text/xhtml output).

The citation dialog has been simplified. A more important focus is given to the filter box. Keyboard navigation has been enriched: it is now possible to select and edit citations quickly using only the filter, arrow keys, Enter, Backspace and Ctrl+Enter. Similar improvements have been made for the references dialog.

§2.8 Improvements to cursor movement and selection

§2.9 Improvements to row breaking and alignment

§2.10 Outliner and navigation menu

§2.11 Forward/Reverse search and error reporting

§2.12 Change tracking

§2.13 Code preview & highlighting

§2.14 Shortcuts

§2.15 New or changed LFUNs

The following functions have been added:

The following functions have been changed:

§2.16 Layouts

§2.17 Module enhancements

§2.18 External templates reorganization

(:statusicon documented:)Up to LyX 2.2, all templates for formats that can be input to LyX via Insert→File→External Materialwere defined in one monolithic external_templates file, to the effect that you had to copy and change this whole file if you wanted to alter an existing template or add new ones. With LyX 2.3, the monolithic definition file has been dropped in favor of one file per template. These new template files use the filename suffix *.xtemplate and are now located in lib/xtemplates/. This change makes it much easier to add your own templates or modify existing ones.

Note: If you have modified the external_templates file, you will have to move the modifications to the respective *.xtemplate file manually.

§2.19 Image formats and conversion

§2.20 New preferences settings

§2.21 Miscellaneous

§2.22 Under the hood

§2.23 Backported

2.24 Categories