]> git.lyx.org Git - lyx.git/commitdiff
unicodesymbols: support for LOW ASTERISK, use textcomp for (non-combining) Breve...
authorGünter Milde <milde@lyx.org>
Wed, 9 Jan 2019 13:12:37 +0000 (14:12 +0100)
committerGünter Milde <milde@lyx.org>
Wed, 9 Jan 2019 13:59:22 +0000 (14:59 +0100)
The textcomp Unicode support file "ts1enc.dfu" defines 0x204E Low Asterisk
as \textasteriskcentered. LyX should follow suit.
The ASTERISK OPERATOR (correctly) maps to the same macro,
the "deprecated" tag marks the upstream mapping as preferred choice.

autotests/export/latex/unicodesymbols/070-72-general-punctuation-sub-super-currency.lyx
lib/unicodesymbols

index a24a90ab1b400a80286efb877d5050df01930464..aebdfe00da4ca3b12f900d60b9510684be8def56 100644 (file)
@@ -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"
 \font_sf_scale 100 100
 \font_tt_scale 100 100
 \use_microtype false
+\use_dash_ligatures true
 \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
 \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
 \begin_body
 
 \begin_layout Subsection*
-79 General Punctuation
+70 General Punctuation
 \end_layout
 
 \begin_layout Labeling
 \labelwidthstring 00.00.0000
-1F00                       ​ ‌ 
+1F00                       ​ ‌
 \end_layout
 
 \begin_layout Labeling
@@ -175,7 +182,18 @@ inverted 0
 status open
 
 \begin_layout Standard
-⁊ ⁋ ⁌ ⁍ ⁎ ⁏
+⁊ ⁋ ⁌ ⁍
+\end_layout
+
+\end_inset
+
+ ⁎ 
+\begin_inset Branch na
+inverted 0
+status open
+
+\begin_layout Standard
+⁏
 \end_layout
 
 \end_inset
@@ -360,7 +378,7 @@ status open
 
 \begin_layout Labeling
 \labelwidthstring 00.00.0000
-20C0 
+20C0
 \end_layout
 
 \end_body
index c4460c484c9c593c4b516f8153c69b5a4f04ecda..b0e4f79e42e7aef6a99fe70f3f23ed3b21d493f5 100644 (file)
 #0x02c4 ""                         "" "" # MODIFIER LETTER UP ARROWHEAD
 #0x02c5 ""                         "" "" # MODIFIER LETTER DOWN ARROWHEAD
 0x02c6 "\\^{ }"                   "" "" # MODIFIER LETTER CIRCUMFLEX ACCENT
-0x02c7 "\\v{ }"                   "" "" # CARON
+0x02c7 "\\textasciicaron"         "textcomp" "" # CARON
 0x02c8 "\\textprimstress"         "tipa" "force" # MODIFIER LETTER VERTICAL LINE
 0x02c9 "\\={ }"                   "" "force=utf8" # MODIFIER LETTER MACRON
 0x02ca "\\'{ }"                   "" "force=utf8" # MODIFIER LETTER ACUTE ACCENT
 0x02d5 "\\textlowering{ }"        "tipa" "force" # MODIFIER LETTER DOWN TACK
 0x02d6 ""                         "" "notermination=math,force=utf8;utf8x" "+" # MODIFIER LETTER PLUS SIGN
 0x02d7 ""                         "" "notermination=math,force=utf8;utf8x" "-" # MODIFIER LETTER MINUS SIGN
-0x02d8 "\\u{ }"                   "" "" # BREVE
+0x02d8 "\\textasciibreve"         "textcomp" "" # BREVE
 0x02d9 "\\.{ }"                   "" "force=utf8" # DOT ABOVE
 0x02da "\\r{ }"                   "" "force=utf8" # RING ABOVE
 0x02db "\\k{ }"                   "" "force=utf8" # OGONEK
 0x2047 "??"                       "" "notermination=text,force=utf8;utf8x" "??" "" # DOUBLE QUESTION MARK # ≈ 2×QUESTION MARK
 0x2048 "?!"                       "" "notermination=text,force=utf8;utf8x" "" "" # QUESTION EXCLAMATION MARK
 0x2049 "!?"                       "" "notermination=text,force=utf8;utf8x" "" "" # EXCLAMATION QUESTION MARK
+0x204e "\\textasteriskcentered"   "textcomp" "force=utf8x" "\\ast" "" # LOW ASTERISK
 0x2052 "\\textdiscount"           "textcomp" "force=utf8x" # COMMERCIAL MINUS SIGN
 0x205d ""                         "" "force=utf8;utf8x" "\\vdots" ""# TRICOLON # ≈ VERTICAL ELLIPSIS, fails in text mode, if "mathdots" is loaded.
 #0x205e ""                         "" "" "" "" # VERTICAL FOUR DOTS
 0x205f ""                         "" "notermination=math,force=utf8" "\\:" "" # MEDIUM MATHEMATICAL SPACE
 #0x2060 ""                         "" "" "" "" # WORD JOINER
 #
-# superscripts and subscripts
+# 71 Superscripts and Subscripts
 #
 0x2070 "\\textsuperscript{0}"     "" "force=utf8" "{{}^0}" "" # SUPERSCRIPT ZERO
 0x2071 "\\textsuperscript{i}"     "" "force=utf8" "{{}^i}" "" # SUPERSCRIPT LATIN SMALL LETTER I
 0x2128 ""                         "" "force=utf8" "\\mathfrak{Z}" "amssymb" # BLACK-LETTER CAPITAL Z
 #0x2129 ""                         "" "" "" "" # TURNED GREEK SMALL LETTER IOTA
 0x212a "K"                        "" "notermination=text" "" "" # KELVIN SIGN
-0x212b "\\AA"                     "" "force=utf8,deprecated" "" "" # ANGSTROM SIGN
+0x212b "\\AA"                     "" "force=utf8;utf8-cjk,deprecated" "" "" # ANGSTROM SIGN
 0x212c ""                         "" "force=utf8" "\\mathscr{B}" "mathrsfs" # SCRIPT CAPITAL B
 0x212d ""                         "" "force=utf8" "\\mathfrak{C}" "amssymb" # BLACK-LETTER CAPITAL C
 0x212e "\\textestimated"          "textcomp" "force=utf8x" # ESTIMATED SYMBOL
 0x2214 ""                         "" "force!=utf8x" "\\dotplus" "amssymb" # DOT PLUS
 0x2215 ""                         "" "force!=utf8x" "\\slash" # DIVISION SLASH
 0x2216 ""                         "" "force!=utf8x" "\\setminus" "" # SET MINUS
-0x2217 "\\textasteriskcentered"   "textcomp" "force!=utf8x" "\\ast" "" # ASTERISK OPERATOR
+0x2217 "\\textasteriskcentered"   "textcomp" "force!=utf8x,deprecated" "\\ast" "" # ASTERISK OPERATOR
 0x2218 ""                         "" "force!=utf8x" "\\circ" "" # RING OPERATOR
 0x2219 ""                         "" "force!=utf8x" "\\centerdot" "amssymb" # BULLET OPERATOR
 0x221a "\\textsurd"               "textcomp" "force!=utf8x" "\\surd" "" # SQUARE ROOT