]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
corrected latex output
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 18 Feb 2012 14:10:50 +0000 (15:10 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 18 Feb 2012 14:10:50 +0000 (15:10 +0100)
doc/scripts/gdoc

index 9863baebad893c2c238f7105eaa12597c052967d..ac5dea452a96f51161524a0c129ed49fe3af0ca2 100755 (executable)
@@ -509,7 +509,7 @@ sub output_tex {
        $out =~ s/\#([a-zA-Z\_]+)/{\\it $1}/g;
        $out =~ s/\%([a-zA-Z\_]+)/{\\bf $1}/g;
        $out =~ s/\@([a-zA-Z\_]+)/{\\bf $1}/g;
-       $out =~ s/_/\\_/g;
+       $out =~ s/_/\\_\\-/g;
         $out =~ s/\$/\\\$/g;
        $out =~ s/#/\\#/g;
        $out =~ s/\n\n/\n/g;