]> git.lyx.org Git - features.git/commitdiff
TIPA fixes
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 19 Aug 2012 14:59:53 +0000 (16:59 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 19 Aug 2012 14:59:53 +0000 (16:59 +0200)
lib/unicodesymbols
src/Paragraph.cpp

index 8fb7412cffe80b6047cfe6653a6fc2d41b19c09c..6b22188d0e89019f34233ce5ce0aed01ebe511f0 100644 (file)
 #0x02c5 ""                         "" "" # MODIFIER LETTER DOWN ARROWHEAD
 0x02c6 "\\^{ }"                   "" "" # MODIFIER LETTER CIRCUMFLEX ACCENT
 0x02c7 "\\v{ }"                   "" "" # CARON
-0x02c8 "\\textprimstress"         "tipa" "force,tipashortcut=\"" # MODIFIER LETTER VERTICAL LINE
+0x02c8 "\\textprimstress"         "tipa" "force" # MODIFIER LETTER VERTICAL LINE
 0x02c9 "\\={ }"                   "" "" # MODIFIER LETTER MACRON
 0x02ca "\\'{ }"                   "" "" # MODIFIER LETTER ACUTE ACCENT
 0x02cb "\\`{ }"                   "" "" # MODIFIER LETTER GRAVE ACCENT
-0x02cc "\\textsecstress"          "tipa" "force,tipashortcut=\"\"" # MODIFIER LETTER LOW VERTICAL LINE
+0x02cc "\\textsecstress"          "tipa" "force" # MODIFIER LETTER LOW VERTICAL LINE
 0x02cd "\\b{ }"                   "" "" # MODIFIER LETTER LOW MACRON
 0x02ce "\\textsubgrave{ }"        "tipa" "force" # MODIFIER LETTER LOW GRAVE ACCENT
 0x02cf "\\textsubacute{ }"        "tipa" "force" # MODIFIER LETTER LOW ACUTE ACCENT
 0x2014 "\\textemdash"             "" "" # EM DASH
 # use the following macro for the character HORIZONTAL BAR
 0x2015 "\\LyXbar" "\\newcommand*\\LyXbar{\\rule[0.585ex]{1.2em}{0.25pt}}" ""
-0x2016 "\\textbardbl"             "textcomp,notermination=math" "" "\\|" "" # DOUBLE VERTICAL LINE
+0x2016 "\\textbardbl"             "textcomp,notermination=math" "tipashortcut=\\textdoublevertline{}" "\\|" "" # DOUBLE VERTICAL LINE
 0x2017 "\\subdoublebar{ }"        "tipa" "" "" "" # DOUBLE LOW LINE
 0x2018 "\\textquoteleft"          "" "" # LEFT SINGLE QUOTATION MARK
 0x2019 "\\textquoteright"         "" "" # RIGHT SINGLE QUOTATION MARK
 0x203d "\\textinterrobang"        "textcomp" "" # INTERROBANG
 # use the following macro for the character OVERLINE
 0x203e "\\LyXoverline" "\\newcommand*\\LyXoverline{\\raisebox{2.6ex}{\\_}}" ""
+0x203f "\\textbottomtiebar{ }"    "tipa" "tipashortcut=\\t*{ }" # UNDERTIE
 0x2044 "\\textfractionsolidus"    "textcomp" "" # FRACTION SLASH
 0x2045 "\\textlquill"             "textcomp" "" # LEFT SQUARE BRACKET WITH QUILL
 0x2046 "\\textrquill"             "textcomp" "" # RIGHT SQUARE BRACKET WITH QUILL
index f480ef726e0957f807bf90e98006816b3a81b5c9..df70b69c85b87b6ed7cf805ecf1fd54ffa98c1de 100644 (file)
@@ -1358,16 +1358,19 @@ bool Paragraph::Private::latexSpecialT1(char_type const c, otexstream & os,
 
 
 bool Paragraph::Private::latexSpecialT3(char_type const c, otexstream & os,
-       pos_type /*i*/, unsigned int & /*column*/)
+       pos_type /*i*/, unsigned int & column)
 {
        switch (c) {
        case '*':
        case '[':
        case ']':
-       case '|':
        case '\"':
                os.put(c);
                return true;
+       case '|':
+               os << "\\textvertline{}";
+               column += 14;
+               return true;
        default:
                return false;
        }