From: Günter Milde Date: Wed, 16 Jan 2019 17:32:20 +0000 (+0100) Subject: unicodesymbols Force substitution of NNBSP in utf8. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2670 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b9041328a0a2c25e2c03cad1bb7aa1c34d7297bc;p=lyx.git 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) --- 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