From 4ebb415773efba5d2c8cd243596defe7c435bda3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnter=20Milde?= Date: Mon, 14 Jan 2019 22:35:14 +0100 Subject: [PATCH] Update unicodesymbols replacements "textcomp" supports some more characters in its ts1enc.dfu Unicode definition file. --- .../latex/unicodesymbols/001-4-latin.lyx | 15 ++++++--- .../078-79-misc-technical-control-pics.lyx | 32 ++++++++----------- .../087-90-misc-math-A-arrows-A-B.lyx | 17 +++++++--- lib/unicodesymbols | 10 +++--- 4 files changed, 43 insertions(+), 31 deletions(-) diff --git a/autotests/export/latex/unicodesymbols/001-4-latin.lyx b/autotests/export/latex/unicodesymbols/001-4-latin.lyx index f99351ce12..f1be8f7a09 100644 --- a/autotests/export/latex/unicodesymbols/001-4-latin.lyx +++ b/autotests/export/latex/unicodesymbols/001-4-latin.lyx @@ -1,5 +1,5 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 515 +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 566 \begin_document \begin_header \save_transient_properties true @@ -13,7 +13,7 @@ \language english \language_package default \inputencoding utf8 -\fontencoding global +\fontencoding auto \font_roman "lmodern" "default" \font_sans "lmss" "default" \font_typewriter "lmtt" "default" @@ -25,11 +25,14 @@ \font_sf_scale 100 100 \font_tt_scale 100 100 \use_microtype false +\use_dash_ligatures false \graphics default \default_output_format pdf2 \output_sync 0 \bibtex_command default \index_command default +\float_placement class +\float_alignment class \paperfontsize default \spacing single \use_hyperref false @@ -54,6 +57,7 @@ \suppress_date false \justification true \use_refstyle 0 +\use_minted 0 \branch na \selected 0 \filename_suffix 0 @@ -67,7 +71,10 @@ \tocdepth 3 \paragraph_separation skip \defskip medskip -\quotes_language english +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 \papercolumns 1 \papersides 1 \paperpagestyle default diff --git a/autotests/export/latex/unicodesymbols/078-79-misc-technical-control-pics.lyx b/autotests/export/latex/unicodesymbols/078-79-misc-technical-control-pics.lyx index 1805df317f..e63809aacf 100644 --- a/autotests/export/latex/unicodesymbols/078-79-misc-technical-control-pics.lyx +++ b/autotests/export/latex/unicodesymbols/078-79-misc-technical-control-pics.lyx @@ -1,5 +1,5 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 515 +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 566 \begin_document \begin_header \save_transient_properties true @@ -10,7 +10,7 @@ \language english \language_package default \inputencoding utf8 -\fontencoding global +\fontencoding auto \font_roman "lmodern" "default" \font_sans "lmss" "default" \font_typewriter "lmtt" "default" @@ -22,11 +22,14 @@ \font_sf_scale 100 100 \font_tt_scale 100 100 \use_microtype false +\use_dash_ligatures false \graphics default \default_output_format pdf2 \output_sync 0 \bibtex_command default \index_command default +\float_placement class +\float_alignment class \paperfontsize default \spacing single \use_hyperref false @@ -51,6 +54,7 @@ \suppress_date false \justification false \use_refstyle 1 +\use_minted 0 \branch na \selected 0 \filename_suffix 0 @@ -64,7 +68,10 @@ \tocdepth 3 \paragraph_separation indent \paragraph_indentation default -\quotes_language english +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 \papercolumns 1 \papersides 1 \paperpagestyle default @@ -192,18 +199,7 @@ status open \end_inset - ⌨ -\begin_inset Branch na -inverted 0 -status open - -\begin_layout Standard -〈 〉 -\end_layout - -\end_inset - - ⌫ + ⌨ 〈 〉 ⌫ \begin_inset Branch na inverted 0 status open @@ -437,7 +433,7 @@ status open \end_layout \begin_layout Subsection* -79 Control Pictures +79 Control Pictures \end_layout \begin_layout Labeling @@ -501,7 +497,7 @@ status open \begin_layout Labeling \labelwidthstring 00.00.0000 -2430 +2430 \end_layout \end_body diff --git a/autotests/export/latex/unicodesymbols/087-90-misc-math-A-arrows-A-B.lyx b/autotests/export/latex/unicodesymbols/087-90-misc-math-A-arrows-A-B.lyx index 7b0e0e1a90..e9632adaa9 100644 --- a/autotests/export/latex/unicodesymbols/087-90-misc-math-A-arrows-A-B.lyx +++ b/autotests/export/latex/unicodesymbols/087-90-misc-math-A-arrows-A-B.lyx @@ -1,5 +1,5 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 512 +#LyX 2.4 created this file. For more info see https://www.lyx.org/ +\lyxformat 566 \begin_document \begin_header \save_transient_properties true @@ -10,7 +10,7 @@ \language english \language_package default \inputencoding utf8 -\fontencoding global +\fontencoding auto \font_roman "lmodern" "default" \font_sans "lmss" "default" \font_typewriter "lmtt" "default" @@ -22,11 +22,14 @@ \font_sf_scale 100 100 \font_tt_scale 100 100 \use_microtype false +\use_dash_ligatures false \graphics default \default_output_format pdf2 \output_sync 0 \bibtex_command default \index_command default +\float_placement class +\float_alignment class \paperfontsize default \spacing single \use_hyperref false @@ -51,6 +54,7 @@ \suppress_date false \justification false \use_refstyle 1 +\use_minted 0 \branch na \selected 0 \filename_suffix 0 @@ -64,7 +68,10 @@ \tocdepth 3 \paragraph_separation indent \paragraph_indentation default -\quotes_language english +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 \papercolumns 1 \papersides 1 \paperpagestyle default @@ -341,7 +348,7 @@ status open \end_inset - + \end_layout \end_body diff --git a/lib/unicodesymbols b/lib/unicodesymbols index 00ed9682c8..64c1102975 100644 --- a/lib/unicodesymbols +++ b/lib/unicodesymbols @@ -79,7 +79,7 @@ 0x00b2 "\\texttwosuperior" "textcomp" "force" "{{}^2}" "" # ² SUPERSCRIPT TWO 0x00b3 "\\textthreesuperior" "textcomp" "force" "{{}^3}" "" # ³ SUPERSCRIPT THREE 0x00b4 "\\textasciiacute" "textcomp" "" # ACUTE ACCENT -0x00b5 "\\textmu" "textcomp" "force" "" "" # µ MICRO SIGN (upright, not $\mu$) +0x00b5 "\\textmu" "textcomp" "force!=utf8" "" "" # µ MICRO SIGN (upright, not $\mu$) 0x00b6 "\\textparagraph" "textcomp" "" "\\mathparagraph" "" # PILCROW SIGN # not equal to \textpilcrow 0x00b7 "\\textperiodcentered" "" "force=koi8-u;iso8859-7" "\\cdot" "" # MIDDLE DOT 0x00b8 "\\c{ }" "" "" "" "" # CEDILLA @@ -2413,6 +2413,8 @@ #0x2317 "" "" "" "" "" # VIEWDATA SQUARE 0x2318 "\\cmdmac" "menukeys" "force" "" "" # PLACE OF INTEREST SIGN #0x2319 "" "" "" "" "" # TURNED NOT SIGN +0x2329 "\\textlangle" "textcomp" "force=utf8x,cp1256,iso8859-6" "" "" # LEFT-POINTING ANGLE BRACKET +0x232a "\\textrangle" "textcomp" "force=utf8x,cp1256,iso8859-6" "" "" # RIGHT-POINTING ANGLE BRACKET 0x231a "\\Clocklogo" "marvosym" "force" # WATCH #0x231b "" "" "" "" "" # HOURGLASS 0x231c "" "" "force" "\\ulcorner" "amssymb" # TOP LEFT CORNER @@ -3356,10 +3358,10 @@ 0x27c2 "" "" "force" "\\perp" "" # PERPENDICULAR 0x27c5 "" "" "force" "\\Lbag" "stmaryrd" # LEFT S-SHAPED BAG DELIMITER 0x27c6 "" "" "force" "\\Rbag" "stmaryrd" # RIGHT S-SHAPED BAG DELIMITER -0x27e6 "" "" "force=utf8;utf8-cjk" "\\llbracket" "stmaryrd" # MATHEMATICAL LEFT WHITE SQUARE BRACKET +0x27e6 "" "" "force" "\\llbracket" "stmaryrd" # MATHEMATICAL LEFT WHITE SQUARE BRACKET 0x27e7 "" "" "force=utf8;utf8-cjk" "\\rrbracket" "stmaryrd" # MATHEMATICAL RIGHT WHITE SQUARE BRACKET -0x27e8 "\\textlangle" "textcomp" "force=utf8;utf8-cjk" "\\langle" "" # MATHEMATICAL LEFT ANGLE BRACKET -0x27e9 "\\textrangle" "textcomp" "force=utf8;utf8-cjk" "\\rangle" "" # MATHEMATICAL RIGHT ANGLE BRACKET +0x27e8 "\\textlangle" "textcomp" "force" "\\langle" "" # MATHEMATICAL LEFT ANGLE BRACKET +0x27e9 "\\textrangle" "textcomp" "force" "\\rangle" "" # MATHEMATICAL RIGHT ANGLE BRACKET # # 88 Supplemental Arrows-A # -- 2.39.2