commit f2a263e334e3f6c9133576c5b43dc2cda79c6858
Author: Günter Milde <[email protected]>
Date: Tue Sep 13 22:23:53 2016 +0200
tex2lyx: Remove "textglobfall" hack.
tex2lyx tests for TIPA (test-inset-*) resulted in {End} in ERT after fixing
lib/unicodesymbols.
Should be fine now.
---
.gitignore | 1 +
src/tex2lyx/text.cpp | 5 +----
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index 30d182d..fb63569 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,4 @@ stamp-h1
build/
CMakeLists.txt.user
.dirstamp
+/src/tex2lyx/test/*.lyx.tex
diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp
index ce330a2..175af23 100644
--- a/src/tex2lyx/text.cpp
+++ b/src/tex2lyx/text.cpp
@@ -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";