lyx_mirror/lib
Günter Milde 2a7deb802a Remove "notermination" flags from combining characters in "unicodesymbols".
This fixes bug #9615.

The "notermination" flag tells LyX, that terminating an LICR macro with {} is 
not necessary. This is normally the case for all macros with non-alphabetical
name (e.g. \{).

However, combining diacritical characters are converted to *accent macros*,
which expect an argument (the base character). 
In Unicode, the base character precedes the combining character, 
in LaTeX the combining character precedes the base character. 
LyX changes the order of the two characters to get this right,
e.g. "x" + "combining tilde" becomes "\~{x}". 

In the special case there is no preceding character (e.g. at the start of the 
document or a paragraph), Unicode shows the combining diacritical character
without base character.
The replacement is currently not "terminated" (e.g. "\~"), because of the 
"notermination=text" flags in "unicodesymbols". 
The accent macros take the *following* character as base character, which is
clearly not intended.
In case of a paragraph consisting of just one combining diacritical character,
LaTeX compilation fails with an error.

With the patch, LyX writes the accent macros with an empty argument,
e.g.  "\~{}", the output is similar to the view in the GUI with the diacritical 
character on its own, not on the follwoing character.
2015-07-09 11:54:37 +02:00
..
bind Make case-changing lfuns operate on full words by default 2015-06-03 09:30:28 +02:00
commands
doc \frenchbsetup is a babel command 2015-06-19 10:11:17 +02:00
examples hpstatement.module: just in time a new module for H-P statements 2015-05-28 20:36:35 +02:00
fonts Solve the "soft-hyphen" (0x00ad) symbol problem. 2015-01-21 14:12:42 +01:00
images Update banner. 2015-05-28 13:14:23 +02:00
kbd Fix #7348. Patch by Liviu. 2011-04-02 11:00:19 +00:00
layouts Update description to reflect arg improvements 2015-06-14 01:42:41 -04:00
lyx2lyx Fix lyx2lyx unicodesymbols escaping 2015-06-14 12:44:44 +02:00
scripts Small clean-up to debug support 2015-07-08 11:03:42 +02:00
templates iucr.layout: use Item_Environment for a style as proposed by Jürgen 2015-05-30 00:53:43 +02:00
tex
ui Revert "Auto feature for minibuffer toolbar" 2015-06-30 11:09:48 +02:00
.gitignore Add a few more things to ignore, mostly generated files. 2012-03-23 14:09:19 -04:00
appdata.xml Fix license string according to http://spdx.org/licenses/. 2014-06-17 09:50:28 -07:00
autocorrect
build-listerrors
chkconfig.ltx Fix test for urwclassico font (bug #9576) 2015-05-29 10:15:17 +02:00
configure.py Avoid unnecessary growth of python lists 2015-06-16 17:03:32 +02:00
CREDITS Add Jessica Hamilton to credits. 2015-06-11 17:41:09 +02:00
encodings Use the LyX name of encodings instead of the LaTeX names. 2013-02-18 23:52:42 +01:00
external_templates Add an explanatory note for external_templates 2015-05-30 13:40:28 -04:00
generate_contributions.py Add Jessica Hamilton to credits. 2015-06-11 17:41:09 +02:00
languages Improve list of available languages for UI l10n. 2015-05-21 10:48:38 +02:00
latexfonts Check for ugm font availability 2015-02-24 07:58:40 +01:00
layouttranslations Upate layouttranslations for he.po. 2015-07-05 15:26:52 -07:00
layouttranslations.review Upate layouttranslations for he.po. 2015-07-05 15:26:52 -07:00
lyx.desktop.in add "Keywords" to lyx.desktop file 2015-03-17 10:17:35 +01:00
Makefile.am hpstatement.module: just in time a new module for H-P statements 2015-05-28 20:36:35 +02:00
RELEASE-NOTES Make case-changing lfuns operate on full words by default 2015-06-03 09:30:28 +02:00
symbols Do not require esint for \int (bug 9498) 2015-05-16 12:29:54 +02:00
syntax.default Parse subcaption.sty commands correctly (bug #8690) 2015-01-03 20:23:02 +01:00
unicodesymbols Remove "notermination" flags from combining characters in "unicodesymbols". 2015-07-09 11:54:37 +02:00