]> git.lyx.org Git - features.git/commitdiff
tex2lyx: Remove "textglobfall" hack.
authorGünter Milde <milde@lyx.org>
Tue, 13 Sep 2016 20:23:53 +0000 (22:23 +0200)
committerGünter Milde <milde@lyx.org>
Tue, 13 Sep 2016 20:23:53 +0000 (22:23 +0200)
tex2lyx tests for TIPA (test-inset-*) resulted in {End} in ERT after fixing lib/unicodesymbols.
Should be fine now.

.gitignore
src/tex2lyx/text.cpp

index 30d182d0a55dc6defdca8e9641f1797ec0c86875..fb63569bddbd3f8c39b512b9dd1d56400dac9369 100644 (file)
@@ -19,3 +19,4 @@ stamp-h1
 build/
 CMakeLists.txt.user
 .dirstamp
+/src/tex2lyx/test/*.lyx.tex
index ce330a2b9ffe97a21a1c0da1ac0093632469fdd6..175af2374a24afc0cd46079317fa334618207355 100644 (file)
@@ -4745,10 +4745,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
                        }
                        // handle some TIPA special characters
                        else if (preamble.isPackageUsed("tipa")) {
-                               if (name == "\\textglobfall") {
-                                       name = "End";
-                                       skip_braces(p);
-                               } else if (name == "\\s") {
+                               if (name == "\\s") {
                                        // fromLaTeXCommand() does not yet
                                        // recognize tipa short cuts
                                        name = "\\textsyllabic";