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

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

<< | Page list | >>

About the new features in LyX 1.6

What's new in LyX 1.6?

The LyX Team

November 2008

The development of LyX 1.6.0 took off in July 2007. In November 2008, LyX 1.6.0 was finally released. Here's an overview of the major new features that were implemented.

Table of contents (hide)

  1. 1. Multiple Work Areas
  2. 2. Split Views
  3. 3. User-formattable Collapsible Insets
  4. 4. Layout Modules
  5. 5. Citation Dialog
  6. 6. Layout combobox changes
  7. 7. Support for the LaTeX package hyperref
  8. 8. Support for hyperlinks and URLs
    1. 8.1 URLs
    2. 8.2 Hyperlinks
  9. 9. Improved floats
  10. 10. Math Macros
  11. 11. Completion popup
  12. 12. Inset Tooltip
  13. 13. Context Menu
  14. 14. New Symbols dialog
  15. 15. New Dialog for Horizontal Space
  16. 16. Revised Paragraph dialog
  17. 17. Simplified graphics display options
  18. 18. Shortcut Configuration dialog
  19. 19. Shortcuts menu
  20. 20. Paste Graphics from the Clipboard / Mac LinkBack support
  21. 21. Language and script support
  22. 22. "Visual mode" for bidirectional cursor movement
  23. 23. New LaTeX commands
  24. 24. Fullscreen capabilities
  25. 25. Well behaved scrolling
  26. 26. Navigator: Extended Outliner
  27. 27. Session management
  28. 28. Better master file handling
  29. 29. Subversion (SVN) support for version control handling
  30. 30. Index entries
  31. 31. Graphics parameters groups
  32. 32. Multi-LFUN Keybindings
  33. 33. Lines in Tables
  34. 34. Small bits
  35. 35. Under the hood
  36. 36. New features backported to 1.6.x

Categories: Development, LyX_1_6

§1. Multiple Work Areas

Abdelrazak Younes enhanced the way work areas are implemented. In LyX 1.5 a window was composed of a tab bar and a single work area; the tab bar was basically just a handy way for switching documents in the one work area. Now, there are as many work areas as tab items. This means two things to the user:

§2. Split Views

The support for multiple work areas paved the way to so-called "split-view" support. Abdelrazak Younes finally implemented that long-awaited feature. Split views works the same way as multiple windows except that (of course) they share the same window, including the menubar and the toolbars.

§3. User-formattable Collapsible Insets

Martin Vermeer enhanced the way collapsible insets can be configured.

§4. Layout Modules

Richard Heck has given birth to the "layout modules" feature. To add anything to the layout in LyX (for example, a custom character style), you previously had to edit the layout files themselves. This feature allows the use of layout "modules" which can be chosen within Document→Settings. So, for example, you could put all your custom character styles into mycharstyles.module, and then use this module with any document class. LyX 1.6 will ship with several modules, too, including one that defines an custom endnote inset (see above.) The third-party modules started to grow here.

§5. Citation Dialog

Richard Heck rewrote the internal representation of BibTeX data and, as a result, was able to add new search functionality to the citation dialog. You can now search by field (author, title, etc) and by entry type (article, book, etc). Richard has also added a cache for BibTeX data, which will speed up use of the citation dialog significantly for users on slower machines and for those who use large BibTeX databases.

§6. Layout combobox changes

§7. Support for the LaTeX package hyperref

Uwe St�hr has rewritten the handling of URLs and created a dialog to produce hyperlinks.

8.1 URLs

The menu Insert→URL has been moved to Insert→Custom insets→URL. This creates a collapsible inset with only one field. The former inset with an additional field for the URL name is now used for hyperlinks (see next paragraph). URL insets of existing LyX documents will be transformed into the new custom inset URLs.

LyX 1.6.0 introduces a new inset to create hyperlinks. Link target, name, and type can be specified. If no link name is given, the target will be displayed in the output.

§9. Improved floats

§10. Math Macros

Stefan Schimanski contributed a new implementation of math macros, the LyX counterpart of \newcommand macros in TeX. You can define mathematical notations once and at one place in the document and use them all over your formulas. Although this was available in older LyX version to some extent, LyX 1.6 takes them seriously for the first time:

For further details you can look here. If you like YouTube look here. Test cases can be found here.

§11. Completion popup

Stefan Schimanski implemented the well-known completion in the math editor and in text mode. In an equation just enter \ and see available math commands including symbols and your own math macros, which are valid at that point. To match everybody's taste you can configure the grey inline completion and the completion popup for math and text via an extensive preferences pane. You can see a small screencast of completion in action here at YouTube.

Keybindings: Tab will "accept" the suggested completion. (Due to work by Richard Heck, implementing a suggestion by G�nther Milde, this does not interfere with the use of Tab to navigate tables.) There is no default keybinding to ask LyX to suggest a completion, but individual users can bind any key they wish to "complete".

§12. Inset Tooltip

In order to further improve the user experience with regard to inset understanding, Abdelrazak Younes put in place a framework for tooltip showing in the document work area. Some tooltips show some practical advices, other indicate their content (as shown below for footnotes). Users are invited to send recommendation and/or ideas for further enhancements of this features to the devel list.

§13. Context Menu

A framework for context menu was put in place by Abdelrazak Younes. Right-clicking somewhere in a text or math area will popup an edit context menu. Most insets have specific context menus. Below is the current context menu of the citation inset as an example:

§14. New Symbols dialog

§15. New Dialog for Horizontal Space

§16. Revised Paragraph dialog

§17. Simplified graphics display options

§18. Shortcut Configuration dialog

Thanks to Bo Peng LyX has now a nice user interface for the key bindings.

§19. Shortcuts menu

§20. Paste Graphics from the Clipboard / Mac LinkBack support

Stefan Schimanski added support for pasting graphics directly from the clipboard. Getting graphics into LyX usually takes a number of steps: draw it, export it, find it in the file dialog and insert it.

§21. Language and script support

Uwe St�hr revised the language support. LyX supports now also

With the help of Koji Yokota, Tetsuya Makimura, and J�rgen Spitzm�ller, the support for Japanese has been improved. Furthermore, users of the CJK package for Chinese, Japanese, and Korean script can now also customize the font in the Document dialog.

§22. "Visual mode" for bidirectional cursor movement

Dov Feldstern added "visual mode" cursor movement in bidirectional text. This mode can be enabled in the "Language" pane of the preferences dialog, provided that RTL support is also enabled (logical mode is still the default).

§23. New LaTeX commands

§24. Fullscreen capabilities

§25. Well behaved scrolling

Ever since version 1.4.0 the scrolling behavior of LyX has had a lot of bugs and deficiencies. Abdelrazak Younes rewrote the scrolling code and fixed most of these. As a bonus you can now scroll with the keyboard using Ctrl-Alt-[up/right/PageUp/PageDown] shortcuts. Also, when right-clicking on the scrollbar a scrolling context menu pops up.

§26. Navigator: Extended Outliner

Abdelrazak Younes extended the outline panel which transformed into a "Navigator". The new navigator supports the following navigation lists:

Note that the navigator has a 'Sort' checkbox that allows to enable the sorting of each list separately.

§27. Session management

Abdelrazak Younes improved the session management that was introduced in the LyX-1.5 series significantly. Notable new features are:

§28. Better master file handling

§29. Subversion (SVN) support for version control handling

Pavel Sanda sanitized the current VCS handling and added support for svn, so basic operations like update/commit/lock/log/new files adding work. Please refer to the Extended manual for further information.

§30. Index entries

§31. Graphics parameters groups

Imagine you have a lot of similar pictures in your document and want to change their size settings in the same way. Up to now you had to change them one by one or edit .lyx file directly in some plain editor. This kind of annoying task should be much simpler now. Pavel Sanda implemented a grouping mechanism for this purpose. You can now define a new group for any picture in the graphics dialog and any other picture can be joined to this group via its context menu. Changing settings of any picture from some particular group automatically changes all other pictures within this group.

§32. Multi-LFUN Keybindings

It is now possible to bind several different LyX functions to a single key. LyX will then use the key to execute the first of these that is "enabled" in the present context. In the bind files, the key binding should be given in the following form:

\bind "Tab" "command-alternatives completion-accept;cell-forward;tab-insert;depth-increment;outline-in"

Following the "command-alternatives" keyword, one lists the alternative bindings in order, with the semi-colon delimiter.

§33. Lines in Tables

Edwin Leuven implemented free line setting in tables. Where in LyX 1.5 lines were applied to complete rows and columns unless cells were multicolumn cells, now lines are applied to the selected range of cells only.

To facilitate line setting in complete rows/columns it is now also possible to selects complete rows/columns by a single click. For rows simply click at the beginning of the row and it will be selected. Dragging the mouse will select a range of rows. For columns selecting works similarly but now by clicking at the top of the column (and possibly dragging to select a range of columns).

§34. Small bits

§35. Under the hood

§36. New features backported to 1.6.x

Although new features are primarily developed in the development branch ("trunk"), few of them were backported to 1.6.x branch.