]> wagner.pp.ru Git - fiction/Kate-the-Empress.git/commitdiff
Remove \sloppy before feeding TeX to pandoc
authorVictor Wagner <vitus@wagner.pp.ru>
Fri, 30 May 2014 15:32:12 +0000 (19:32 +0400)
committerVictor Wagner <vitus@wagner.pp.ru>
Fri, 30 May 2014 15:32:12 +0000 (19:32 +0400)
joinfiles.awk

index fb84135869b4f4de4181465512fd4ca15103efcd..467f16958e497ecf14208a62bb826d0c67ad673b 100644 (file)
@@ -4,6 +4,7 @@ $1 == "\\input" {fn=$2; while (getline <fn) {
                                                        sub("^\\\\stars","\n\n\\subsubsection*{* * *}\n\n");
                                                        gsub("\"=","-");
                                                        $0=gensub("\\\\'{(.)}","\\1́","g",$0);
+                                                       gsub("\\\\sloppy *","");
                                                        print;
                                                }
                                                next;