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
|
|
|
|
Allow Input of local includes from local layout files
When including files, LyX always searches the user and the system
directory, in that order. This means that when using local layout
files broken down into multiple includes, the various includes should
be specified with a path relative to the user layouts directory
(typically ~/.lyx/layouts), making this very impractical.
This commit allows including local files by specifying their path
as explicitly relative to the main layout file position, i.e., by
specifying their path with either "./" or "../". If the main layout
is not loaded from a local file, the usual search order is used,
even if the path are explicitly relative. So, for system layouts,
both "Input ./name.inc" and "Input name.inc" are equivalent.
(cherry picked from commit 17ab47b3e6acafae8f11e6363ee64252b26c81e7)
2017-03-01 08:19:18 +00:00
|
|
|
- Search for input files relative to local layout files, when those
|
|
|
|
are provided and relative paths are used.
|
|
|
|
|
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.
|
|
|
|
|
2017-01-13 10:32:36 +00:00
|
|
|
- Polish the BibTeX add dialog (bug 9795).
|
|
|
|
|
2017-02-25 20:00:25 +00:00
|
|
|
- Fix regression that was not allowing inserting more than three consecutive
|
|
|
|
dashes without jumping through hoops.
|
|
|
|
|
2017-04-04 21:54:31 +00:00
|
|
|
- Remove the unused question mark button in dialogs on Windows (bug 10098).
|
|
|
|
|
2016-08-01 10:04:39 +00:00
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
* DOCUMENTATION AND LOCALIZATION
|
|
|
|
|
2017-02-23 09:44:05 +00:00
|
|
|
- New Arabic translation of the Intro and Tutorial manuals and the Shortcuts
|
2017-04-15 02:59:30 +00:00
|
|
|
documentation file.
|
2017-02-23 09:44:05 +00:00
|
|
|
|
2017-04-15 02:59:30 +00:00
|
|
|
- New German translation of the PDF-form.lyx example file.
|
|
|
|
|
|
|
|
- Updated translation of the French EmbeddedObjects and UserGuide manuals.
|
2017-02-23 09:44:05 +00:00
|
|
|
|
2017-02-13 23:17:51 +00:00
|
|
|
- Updated Arabic, Brazilian, Chinese, German, Italian, Slovakian, Swedish,
|
|
|
|
Ukrainian and French user interface localization.
|
2017-04-16 17:57:59 +00:00
|
|
|
|
|
|
|
- Updated screenshots and images in all manual files.
|
2016-10-15 20:50:08 +00:00
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
|
|
|
|
* BUILD/INSTALLATION
|
|
|
|
|
2017-03-04 23:14:53 +00:00
|
|
|
- Correctly determine whether the X11 backend is used by Qt 5.8.
|
2016-04-16 22:23:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
** Bug fixes:
|
|
|
|
*************
|
|
|
|
|
|
|
|
* DOCUMENT INPUT/OUTPUT
|
|
|
|
|
2017-04-20 20:20:50 +00:00
|
|
|
- Conversion of files using the command line (e.g. for batch processing) is
|
|
|
|
again possible on Windows (bug 10440).
|
|
|
|
|
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
|
2017-01-27 15:36:06 +00:00
|
|
|
(for English, Swedish and German).
|
2016-12-07 14:37:03 +00:00
|
|
|
# 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.
|
2017-01-27 15:36:06 +00:00
|
|
|
# Quote type ignored for LyXHTML: always "English" quotes used.
|
2016-12-07 14:37:03 +00:00
|
|
|
|
2017-01-08 18:38:48 +00:00
|
|
|
- Output correct identifier for DocBook XML.
|
|
|
|
|
|
|
|
- Correctly escape hyperlinks for DocBook output.
|
|
|
|
|
2017-01-09 22:16:31 +00:00
|
|
|
- Fix mathtools, amsmath and amssymb not loading automatically for some
|
|
|
|
symbols (bug 10467)
|
2016-04-16 22:23:03 +00:00
|
|
|
|
2017-01-26 17:32:26 +00:00
|
|
|
- Protect citation arguments (pre and post text) which contain brackets
|
|
|
|
(part of bug 2751).
|
|
|
|
|
2017-01-27 08:15:47 +00:00
|
|
|
- Handle backslash in label and ref insets (bug 4595).
|
|
|
|
|
2017-02-18 09:40:42 +00:00
|
|
|
- Output Preamble code of InPreamble styles before the styles themselves
|
|
|
|
(bug 10215).
|
|
|
|
|
2017-02-19 11:25:23 +00:00
|
|
|
- Fix CopyRightYear with ACMSiggraph 0.9.3.
|
|
|
|
|
2017-02-17 07:35:41 +00:00
|
|
|
- Use \providecommand for logical markup macros. This fixes a LaTeX error
|
|
|
|
with strong and fontenc.
|
|
|
|
|
2017-04-02 22:07:53 +00:00
|
|
|
- Fix problem with deleted page and paragraph breaks when changes are
|
|
|
|
shown in output (bugs 10554 and 10579).
|
2017-03-03 12:00:32 +00:00
|
|
|
|
|
|
|
- Allow for empty .lyx files to be opened (bug 9198).
|
|
|
|
|
2017-01-26 17:32:26 +00:00
|
|
|
|
2016-04-16 22:23:03 +00:00
|
|
|
* LYX2LYX
|
|
|
|
|
2017-01-19 02:47:40 +00:00
|
|
|
- Do not convert "--" to "\twohyphens" in formula macros.
|
2016-04-16 22:23:03 +00:00
|
|
|
|
2017-04-18 21:53:27 +00:00
|
|
|
- Fix bugs in the reversion of colored boxes with special frame settings.
|
2017-04-16 14:37:05 +00:00
|
|
|
|
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).
|
|
|
|
|
2017-01-26 13:10:23 +00:00
|
|
|
- Fix wrong on-screen text layout where a word would be alone on a
|
|
|
|
line.
|
|
|
|
|
2017-01-27 15:09:03 +00:00
|
|
|
- Fix wrong on-screen flushing of a row that was cut after an hyphen.
|
|
|
|
|
2016-11-07 09:14:39 +00:00
|
|
|
- Fix crash when the document contains Unicode line-breaking characters.
|
|
|
|
|
2017-02-22 15:13:19 +00:00
|
|
|
- Fix assertion when selecting muticolumn in math (bug 10486).
|
|
|
|
|
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.
|
|
|
|
|
2017-04-18 21:53:27 +00:00
|
|
|
- Handle the command \multicolumn correctly in math macros (bug 10466).
|
|
|
|
|
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.
|
|
|
|
|
2017-01-14 21:12:58 +00:00
|
|
|
- Fix size of Section* headings in amsart.
|
|
|
|
|
2017-01-27 15:36:06 +00:00
|
|
|
- Fix possible crash with Save As... when online spell-checking is active.
|
|
|
|
|
2017-02-05 14:42:03 +00:00
|
|
|
- Correctly enable/disable citation dialog widgets on initialization.
|
|
|
|
|
2017-02-05 17:02:34 +00:00
|
|
|
- Correct width of the navigating window in the document settings and
|
|
|
|
preferences dialogs in non-English localizations.
|
|
|
|
|
2017-03-19 15:15:03 +00:00
|
|
|
- Fix display of some text-mode accents in the citation preview (bug 9340).
|
|
|
|
|
2017-03-27 13:00:43 +00:00
|
|
|
- Fix font display in preview insets (bug 9732).
|
|
|
|
|
2016-12-29 08:17:53 +00:00
|
|
|
|
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
|
|
|
|
2017-01-19 20:23:35 +00:00
|
|
|
- Added some comments to User Guide section 6.1 about defining formatted
|
|
|
|
references (bug 10545).
|
|
|
|
|
2017-02-18 09:40:42 +00:00
|
|
|
- Fix translation of Fixme module description (bug 10058).
|
|
|
|
|
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-12-19 23:15:58 +00:00
|
|
|
- Fix compiler warnings from clang 3.9 and gcc 6.
|
|
|
|
|
|
|
|
- Fix compilation with Qt 5.8.
|