From ac36c2c64e7ef9e0d355b98a0ad98a2c34e0583c Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnter=20Milde?= Date: Wed, 16 Jan 2019 18:32:20 +0100 Subject: [PATCH] unicodesymbols Force substitution of NNBSP in utf8. NNBSP (narrow no break space) is supported by LyX's unicodesymbols but missing in LaTeX inputenc *.dfu definitions. (TeXLive 2017) --- ...general-punctuation-sub-super-currency.lyx | 19 +++++++++++++++++-- lib/unicodesymbols | 2 +- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/autotests/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx b/autotests/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx index f9d7e66257..ded0820a35 100644 --- a/autotests/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx +++ b/autotests/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx @@ -90,7 +90,20 @@ \begin_layout Labeling \labelwidthstring 00.00.0000 -1F00                       ​ ‌ +1F00 +\color cyan +( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) (​) +\begin_inset Branch na +inverted 0 +status open + +\begin_layout Standard +ZWNJ ZWJ LRM RLM +\end_layout + +\end_inset + + \end_layout \begin_layout Labeling @@ -133,7 +146,9 @@ status open \end_inset - + +\color cyan +( ) \end_layout \begin_layout Labeling diff --git a/lib/unicodesymbols b/lib/unicodesymbols index 8e20d31ec3..404a75ba20 100644 --- a/lib/unicodesymbols +++ b/lib/unicodesymbols @@ -1773,7 +1773,7 @@ #0x202c "" "" "" "" "" # POP DIRECTIONAL FORMATTING #0x202d "" "" "" "" "" # LEFT-TO-RIGHT OVERRIDE #0x202e "" "" "" "" "" # RIGHT-TO-LEFT OVERRIDE -0x202f "\\," "" "notermination=both" "\\," "" # NARROW NO-BREAK SPACE +0x202f "\\," "" "force=utf8;utf8-cjk;utf8x,notermination=both" "\\," "" # NARROW NO-BREAK SPACE 0x2030 "\\textperthousand" "textcomp" "" # PER MILLE SIGN 0x2031 "\\textpertenthousand" "textcomp" "" # PER TEN THOUSAND SIGN 0x2032 "\\textasciiacute" "textcomp" "force=utf8;utf8-cjk" "\\prime" "" # PRIME -- 2.39.5