From cbcb2f95a89eb96a0c61b4a8f25310a61a566ac1 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Mon, 20 Jul 2015 17:17:28 +0200 Subject: [PATCH] ~ is converted to nonbreakable space --- utils/convert_to_chordpro/latex_grammar.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/convert_to_chordpro/latex_grammar.txt b/utils/convert_to_chordpro/latex_grammar.txt index c1457ea6..e3554bb2 100644 --- a/utils/convert_to_chordpro/latex_grammar.txt +++ b/utils/convert_to_chordpro/latex_grammar.txt @@ -99,7 +99,8 @@ safe_text = content:nonlatex_char+ {return content.join("")} nonlatex_char - = [^\\\n\r{}$%\[\]] + = [^\\\n\r{}$%\[\]~] + / "~" { return " "} inline_command = "\\dots {" content:inline_text "}" {return "..." + content}