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

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

<< | Page list | >>

About the new features in LyX 2.2.

What is new in LyX 2.2?

The LyX Team

May 2016

Table of contents (hide)

  1. 1. HiDPI display support
  2. 2. Qt5 support
  3. 3. New text display algorithm
  4. 4. Horizontal scrolling for large insets
  5. 5. New separators and improved control of paragraph breaks
  6. 6. Improved text color support
  7. 7. Improved box dialog
  8. 8. Improvements to tables
  9. 9. Reworked instant preview
  10. 10. Enhanced source panel
  11. 11. Improved outliner and navigation menu
  12. 12. Enhanced language support
  13. 13. New supported languages
  14. 14. New supported LaTeX commands
  15. 15. Layout enhancements
  16. 16. Module enhancements
  17. 17. New preferences settings
  18. 18. New converters
  19. 19. Miscellaneous
  20. 20. Under the hood
  21. 21. Backported
  22. 22. Categories

§1. HiDPI display support

LyX has been prepared to look good on HiDPI displays (such as Retina). This includes display of text, icons and graphics. Implemented by Stephan Witt, Enrico Forestieri and others. HiDPI support requires LyX to be built with Qt5.5 (Qt 5.6 under Windows).

§2. Qt5 support

LyX can be built with Qt5 (Qt4 is still supported and an official toolkit). Note that, due to a Qt5 bug that affects keyboard input, we strongly suggest to build against Qt 5.5. (Qt 5.6 under Linux)

§3. New text display algorithm

The code that displays LyX document text on screen has been partly rewritten. Metrics computation and painting are now done at line level and they share a lot more code. This leads to several improvements:

This work also paves the way for other improvements in text rendering, since the code base is cleaner.

§4. Horizontal scrolling for large insets

(:statusicon documented:)This implements horizontal scrolling of rows to allow editing insets (math, tabular...) that are larger than the screen. The scrolling happens as the cursor moves, in order to make sure that the cursor is always visible.

This feature is the result of the work of Hashini Senaratne as part of Google Summer of Code 2013. The code has been cleaned-up for inclusion and remaining bugs have been fixed.

§5. New separators and improved control of paragraph breaks

(:statusicon documented:) Splitting of consecutive environments has been reworked and enhanced by Enrico Forestieri. The Separator environment has been removed and replaced by a separator inset. This new separator is introduced with Edit→Start new environment (shortcut Alt+P Enter) or by pressing Enter in an empty Standard paragraph that immediately follows a non-standard one (e.g. enumerate environments).

In addition, LyX no longer outputs superfluous blank lines in the LaTeX output, which could be understood by LaTeX as paragraph breaks and cause undesirable vertical space in some situations. In replacement, there are now two separator insets: plain separators (splits consecutive environments) and parbreak separators (does the same and introduce a blank line in the LaTeX output). The plain separator (displayed as a horizontal line) is introduced as described above. The parbreak separator is introduced by turning a plain separator into a parbreak from the context menu.

Note: LyX's policy when converting documents across versions is to preserve the output. For this reason, the conversion into 2.2 documents introduces inline parbreak separators (latexpar) to simulate the behavior of LyX 2.1 in terms of blank lines. Users are simply made aware that previous LyX versions were silently introducing par breaks that now are explicitly indicated. These separators may be removed where desired. (:statusicon undocumented:) Users removing all latexpar separators from a document should expect small differences in the vertical spacing of nested lists and beamer environments, usually for the best. It is possible to remove all latexpar separators with the command: inset-forall Separator:latexpar char-delete-forward.

§6. Improved text color support

(:statusicon documented:) LyX supports now also the following text colors:brown, darkgray, gray,lightgray, lime, orange, olive, pink, purple, teal, violet

Implemented by Uwe St�hr.

§7. Improved box dialog

The new box dialog with the result in LyX.

The resulting PDF output.

§8. Improvements to tables

§9. Reworked instant preview

(:statusicon documented:) The appearance and performance of instant preview has been much improved. Also, some long-standing issues with previews are fixed. Done by Scott Kostyshak and Enrico Forestieri.

§10. Enhanced source panel

The source panel is better, faster. Long-standing issues are solved. Generation is done asynchronously so it no longer slows down the editing when auto-update is on. The text highlighting is now more precise and now works inside arbitrary nestings of:

It also uses Qt's highlighting feature. The precision of forward-search is also increased accordingly. Do not hesitate to report any remaining bugs about the source view panel.

The highlighted table row is also highlighted in the source panel.

§11. Improved outliner and navigation menu

This comes with global improvements to the navigation menu and the outliner, which are now more convenient and consistent, including:

§12. Enhanced language support

§13. New supported languages

§14. New supported LaTeX commands

§15. Layout enhancements

§16. Module enhancements

§17. New preferences settings

§18. New converters

§19. Miscellaneous

§20. Under the hood

Collaborating on LyX documents using version control systems has been improved:

§21. Backported

Some new features have been backported to the 2.1.x stable branch during the 2.2.0 cycle, you can find the list here.

22. Categories