Then one has those macros with a long name for a short meaning, like
\textasciitilde, \textasciicircum{} or \textbackslash{}, \slash{},
-\nobreakdash and the characters
+\nobreakdash- and the characters
that LaTeX wants to espace because they are active, like \_\&\#\$\{\}\%.
And what about special characters like hyphe\-nation mark,
skip_spaces_braces(p);
}
- else if (t.cs() == "nobreakdash") {
+ else if (t.cs() == "nobreakdash" && p.next_token().asInput() == "-") {
context.check_layout(os);
- os << "\\SpecialChar \\nobreakdash\n";
+ os << "\\SpecialChar \\nobreakdash-\n";
+ p.get_token();
}
else if (t.cs() == "textquotedbl") {