2016-04-16 22:23:03 +00:00
|
|
|
-*- text -*-
|
|
|
|
|
2016-10-15 19:55:08 +00:00
|
|
|
This file describes what has been done in the preparation of LyX 2.2.3.
|
2016-04-16 22:23:03 +00:00
|
|
|
All comments are welcome.
|
|
|
|
|
|
|
|
We try to group things by topic and in decreasing order of importance.
|
|
|
|
Please feel free to re-arrange if that seems like a good idea.
|
|
|
|
|
2016-07-31 01:57:52 +00:00
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
What's new
|
|
|
|
==========
|
|
|
|
|
|
|
|
** Updates:
|
|
|
|
***********
|
|
|
|
|
|
|
|
* DOCUMENT INPUT/OUTPUT
|
|
|
|
|
2016-12-06 22:54:32 +00:00
|
|
|
- Allow use of verbatim and quotation environments with IOP articles
|
|
|
|
(bug 10505).
|
2016-04-16 22:23:03 +00:00
|
|
|
|
2016-09-21 20:30:58 +00:00
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
* TEX2LYX IMPROVEMENTS
|
|
|
|
|
|
|
|
|
2016-09-23 21:29:26 +00:00
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
* USER INTERFACE
|
|
|
|
|
2016-09-06 09:17:10 +00:00
|
|
|
- The title bar is now set according to platform UI. Read-only and
|
|
|
|
version control are shown by indicators in the status bar.
|
|
|
|
|
2016-10-09 07:15:20 +00:00
|
|
|
- The toolbar context menu and the View>Toobars menus are now
|
|
|
|
identical. Both allow to change icon size and to enable individual
|
|
|
|
toolbars.
|
|
|
|
|
2016-10-21 20:03:19 +00:00
|
|
|
- The citation dialog has been redesigned, following user suggestions.
|
|
|
|
|
2016-10-21 20:05:54 +00:00
|
|
|
- Remember citation style settings both within and between sessions
|
|
|
|
(bug 10256).
|
|
|
|
|
|
|
|
- Improve cross-references dialog design.
|
|
|
|
|
2016-10-15 14:34:16 +00:00
|
|
|
- Implement wrap-around in change tracking's next-change function (bug 10388).
|
|
|
|
|
2016-12-28 21:44:40 +00:00
|
|
|
- The Math Delimiters dialog now has a "Swap & Reverse" button (bug 10457).
|
|
|
|
|
2016-09-21 22:45:57 +00:00
|
|
|
- Document Settings > "Output" has been renamed to "Formats" now that it
|
2016-09-21 22:11:16 +00:00
|
|
|
also contains the option "Save transient properties".
|
|
|
|
|
2016-10-26 08:49:35 +00:00
|
|
|
- The title of the source pane now reflects the format being previewed,
|
|
|
|
e.g. "LaTeX (pdflatex) Preview".
|
2016-09-21 22:11:16 +00:00
|
|
|
|
2016-09-20 09:45:25 +00:00
|
|
|
- Improve information preview of bibliographic references (e.g. in the Citation
|
|
|
|
dialog), particularly for bibtex databases that use biblatex features.
|
|
|
|
|
2016-10-26 08:57:42 +00:00
|
|
|
- When using Return in an empty paragraph and the depth is reduced,
|
|
|
|
the layout of the paragraph is now changed accordingly.
|
|
|
|
|
2016-10-27 07:59:01 +00:00
|
|
|
- Issue an error message if incompatible languages (in terms of language package
|
|
|
|
requirements) are used (bug 10456).
|
|
|
|
|
Add caching for the QTextLayout objects we use
The QTextLayout handling is terribly slow on Qt 4.8.7, but some
caching has been added in Qt5 that makes it much faster. For some
reason, it is not that slow with Qt 4.8.1.
Caches are introduced for the three following methods
* width(doctring), controlled by CACHE_METRICS_WIDTH. This cache already
existed, but the code has been cleaned up
* getTextLayout, controlled by CACHE_METRICS_QTEXTLAYOUT (disabled by
default on Qt5, which does its own caching). This is used for pos2x
and x2pos and now for drawing of text too. The previous code used a
trivial caching scheme of the last used QTextLayout, but now they
are properly kept in a QCache. Moreover, the cacheEnabled() property
is enabled for these QTextLayout object (not sure what this does).
* breakAt, controlled by CACHE_METRICS_BREAKAT. This is the only user
of QTextLayout which did not have some kind of caching already.
For some weird reasons related to Argument-dependent look-up, the
qHash(docstring) function has to be defined in std namespace, since
lyx::docstring is actually std::basic_string<wchar_t>.
(cherry picked from c5119c97fcf84e8)
2016-07-05 12:06:22 +00:00
|
|
|
- Improve display speed, especially when compiled against Qt 4.x.
|
|
|
|
|
2016-08-01 10:04:39 +00:00
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
* DOCUMENTATION AND LOCALIZATION
|
|
|
|
|
2016-12-02 01:15:55 +00:00
|
|
|
- new Arabic translation of the Intro and Tutorial manuals and the Shortcuts
|
2016-11-01 14:07:50 +00:00
|
|
|
documentation file
|
2016-12-02 01:15:55 +00:00
|
|
|
- Updated Arabic, German, Italian, Slovakian, Swedish and Ukrainian user
|
|
|
|
interface localization.
|
2016-10-15 20:50:08 +00:00
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
|
|
|
|
* BUILD/INSTALLATION
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
** Bug fixes:
|
|
|
|
*************
|
|
|
|
|
|
|
|
* DOCUMENT INPUT/OUTPUT
|
|
|
|
|
2016-10-29 22:16:50 +00:00
|
|
|
- Fix nested language handling with polyglossia (bug 9633).
|
|
|
|
|
2016-11-02 17:04:26 +00:00
|
|
|
- Fix usage of multiple varieties of the same polyglossia language.
|
|
|
|
|
2016-10-22 10:13:36 +00:00
|
|
|
- Fix LaTeX output of fixed-width cells with decimal separator (bug 9568).
|
|
|
|
|
2016-11-05 20:31:09 +00:00
|
|
|
- Fix strike out of deleted display math with track-changes and pdf
|
|
|
|
output (bug 9678).
|
|
|
|
|
2016-09-21 14:11:53 +00:00
|
|
|
- Do not hardcode required packages for Note inset.
|
|
|
|
|
2016-09-09 08:37:42 +00:00
|
|
|
- Make *-lyxformat-* backup files use .lyx~ extension.
|
|
|
|
|
2016-10-27 02:16:04 +00:00
|
|
|
- Quote filenames used for forward-search with SumatraPDF (bug 10342).
|
|
|
|
|
2016-10-27 16:11:28 +00:00
|
|
|
- The '|' special character in index insets must no longer be inserted via
|
|
|
|
TeX-mode.
|
|
|
|
|
2016-10-31 17:46:06 +00:00
|
|
|
- Fix preview of language switching commands for single paragraphs in some
|
|
|
|
corner cases.
|
|
|
|
|
2016-11-01 08:57:43 +00:00
|
|
|
- Show symbol name and description in plaintext export of nomenclature
|
2016-11-07 23:49:01 +00:00
|
|
|
entries (bug 10459).
|
|
|
|
|
|
|
|
- Correct encoding for Baltic languages like Lithuanian (bug 10474).
|
2016-11-01 08:57:43 +00:00
|
|
|
|
2016-12-07 14:37:03 +00:00
|
|
|
- Fix some quote inset bugs (bug 10451):
|
|
|
|
# Adjoining closing Single + double quote becomes double + single quote
|
|
|
|
(for English, Swedish and German).
|
|
|
|
# French double quotes are converted to << >> in the LaTeX file and to double
|
|
|
|
inverted question/interrogation marks in the output, if the font encoding is
|
|
|
|
set to [None] or OT1 but the global default is T1.
|
|
|
|
# Quote type ignored for LyXHTML: always "English" quotes used.
|
|
|
|
|
2017-01-08 18:38:48 +00:00
|
|
|
- Output correct identifier for DocBook XML.
|
|
|
|
|
|
|
|
- Correctly escape hyperlinks for DocBook output.
|
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
|
|
|
|
* LYX2LYX
|
|
|
|
|
|
|
|
|
2016-09-21 20:30:58 +00:00
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
* USER INTERFACE
|
|
|
|
|
2016-09-14 08:23:39 +00:00
|
|
|
- Fix wrap-around on (simple) replace and in the spellchecker (bug 10378).
|
|
|
|
|
2016-09-08 13:04:58 +00:00
|
|
|
- Fix logic of OK/Apply buttons in cross-references dialog (bug 10376).
|
|
|
|
|
2016-10-21 17:20:23 +00:00
|
|
|
- Fix display of Examples and Sub-Examples labels in linguistics module.
|
|
|
|
|
2016-09-23 21:29:26 +00:00
|
|
|
- LyX keyboard shortcuts now take precedence over Qt accelerators. In
|
|
|
|
particular, under KDE, the automatic accelerator reassignment no longer steals
|
|
|
|
keys from LyX shortcuts (but can still leave some accelerators
|
|
|
|
inoperable). (bug 10261, see http://www.lyx.org/trac/ticket/10261#comment:16
|
|
|
|
for a workaround to KDE's bug.)
|
|
|
|
|
2016-09-23 07:04:03 +00:00
|
|
|
- Do not issue an error on missing characters in 'nullfont' (bug 10394).
|
|
|
|
|
2016-10-25 18:24:26 +00:00
|
|
|
- Fix on-screen display of font changes for text-in-math, so that now
|
|
|
|
$\textbf{\textsc{a}}$ is also boldened on screen other than in output.
|
|
|
|
|
2016-10-26 09:18:25 +00:00
|
|
|
- When selecting special logos, set their color correctly.
|
|
|
|
|
2016-10-26 14:20:02 +00:00
|
|
|
- Fix display of Arabic text when compiling with Qt5 (bug 10436).
|
2016-08-28 00:51:16 +00:00
|
|
|
|
2016-10-25 07:28:14 +00:00
|
|
|
- Fix selection painting in right-to-left texts (bug 10424).
|
|
|
|
|
2016-11-02 16:42:56 +00:00
|
|
|
- Fix cursor movement when the document contains high-plane Unicode
|
|
|
|
characters (bug 10443).
|
|
|
|
|
2016-10-27 01:18:29 +00:00
|
|
|
- Allow using colors supported by xcolor inside mathed (bug 10417).
|
|
|
|
|
2016-11-04 11:01:43 +00:00
|
|
|
- Change description of "frame of button" color to "button frame" (bug
|
|
|
|
10135).
|
|
|
|
|
|
|
|
- Fix height of cursor inside insets (bug 10478).
|
2016-10-30 16:19:29 +00:00
|
|
|
|
2016-11-04 10:35:22 +00:00
|
|
|
- Fix bad painting of collapsable insets sub-label when selecting (bug 10475).
|
|
|
|
|
2016-11-06 14:14:29 +00:00
|
|
|
- Always prefer breaking lines at word boundaries even for very long words. This
|
|
|
|
fixes line breaking issues most noticeably in languages where spaces are rare
|
|
|
|
such as Chinese (bug 10299).
|
2016-04-16 22:23:03 +00:00
|
|
|
|
2016-11-09 14:13:41 +00:00
|
|
|
- Do not use the clipboard stack when transforming selection into an
|
|
|
|
inset (bug 6570).
|
|
|
|
|
Fix display and output of math macros with optional arguments
This is a long standing issue, present since the new math macros
inception in version 1.6. It manifests as a display issue when a
macro with optional arguments appears in the optional argument of
another macro. In this case the display is messed up and it is
difficult, if not impossible, changing the arguments as they do not
appear on screen as related to a specific macro instance. It also
manifests as latex errors when compiling, even if the latex output
is formally correct, due to limitations of the xargs package used
to output the macros. Most probably, both aspects have the same
root cause, as simply enclosing in braces the macro and its
parameters solves both issues. However, when reloading a document,
lyx strips the outer braces enclosing a macro argument, thus
frustrating this possible workaround.
This commit solves the display issue by correctly accounting for
macros with optional arguments nested in the argument of another
macro, and circumvents the xargs package limitations causing errors
by enclosing in braces the macros with optional arguments appearing
in the argument of an outer macro when they are output. This means
that when loading an old document with such macros and saving it
again, the macro representation is updated and will have these
additional braces. However, as such braces are stripped by lyx on
loading, there is no risk that they accumulate.
See also this thread:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg197828.html
2016-12-04 21:52:22 +00:00
|
|
|
- Fix display and output of math macros with optional arguments appearing
|
|
|
|
in the optional argument of another macro.
|
|
|
|
|
2016-12-29 08:17:53 +00:00
|
|
|
- Do not prematurely cut selected text when inserting a Hyperref (bug 10306).
|
|
|
|
|
|
|
|
- Consider the argument of the hyperref-insert function even if there is a
|
|
|
|
selection.
|
|
|
|
|
|
|
|
|
2016-10-26 14:20:02 +00:00
|
|
|
* INTERNALS
|
2016-04-16 22:23:03 +00:00
|
|
|
|
2017-01-08 22:11:04 +00:00
|
|
|
- Squash annoying warning from Qt when attempting to delete a non-existent
|
|
|
|
file.
|
|
|
|
|
2016-09-21 22:45:57 +00:00
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
* DOCUMENTATION AND LOCALIZATION
|
|
|
|
|
2016-11-07 22:45:44 +00:00
|
|
|
- Fix compilation of the Fexynman diagram example file.
|
2016-04-16 22:23:03 +00:00
|
|
|
|
2016-09-21 20:30:58 +00:00
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
* LYXHTML
|
|
|
|
|
|
|
|
|
2016-09-21 20:30:58 +00:00
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
* TEX2LYX
|
|
|
|
|
|
|
|
|
|
|
|
* ADVANCED FIND AND REPLACE
|
|
|
|
|
|
|
|
|
|
|
|
* BUILD/INSTALLATION
|
2016-10-22 14:28:52 +00:00
|
|
|
|
|
|
|
- Update boost source to 1.62.
|
|
|
|
|
2016-10-19 15:51:32 +00:00
|
|
|
- fix compiler warnings from clang 3.9 and gcc 6.
|