From: Nikos Mavrogiannopoulos Date: Sat, 18 Feb 2012 14:10:50 +0000 (+0100) Subject: corrected latex output X-Git-Tag: gnutls_3_0_14~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be70172b3d08d5b0fb5a81e632bcaeda9f37688f;p=thirdparty%2Fgnutls.git corrected latex output --- diff --git a/doc/scripts/gdoc b/doc/scripts/gdoc index 9863baebad..ac5dea452a 100755 --- a/doc/scripts/gdoc +++ b/doc/scripts/gdoc @@ -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;