]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
pdf is the image format for latex.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 22 Sep 2011 20:49:58 +0000 (22:49 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 22 Sep 2011 20:49:58 +0000 (22:49 +0200)
doc/latex/gnutls.tex
doc/scripts/mytexi2latex

index 664a1b4d4c089d1c182cde33750184a6f7a5be9f..89b92e54e932776a88d6d52d3812e4006311b3af 100644 (file)
@@ -20,6 +20,8 @@
 \usepackage{morefloats}
 \usepackage[greek,english]{babel}%for euro sign
 
+\DeclareGraphicsExtensions{.pdf}
+
 \renewcommand{\textfraction}{0.00}
 \renewcommand{\floatpagefraction}{0.8}
 \renewcommand{\dblfloatpagefraction}{0.8}
index a05772623b2e3b418c813354d1caed50819ad7d3..1ddce5dd2cb1422a36fd4b5705dfb14164d173c5 100755 (executable)
@@ -28,6 +28,7 @@ my $prefix = $_[0];
 my $suffix=$_[0];
        $suffix =~ s/\\//g;
        $prefix =~ s/\\_/\\_\\-/g;
+
        return "\\funcref\{$prefix\}\{$suffix\}";
 }
 
@@ -37,6 +38,7 @@ my $prefix = $_[0];
 my $suffix = $_[1];
        $suffix =~ s/\\//g;
        $suffix =~ s/\,/\}\{/g;
+
        return "\\showfunc$prefix\{$suffix\}";
 }
 
@@ -44,6 +46,7 @@ sub showfuncdesc()
 {
 my $suffix = $_[0];
        $suffix =~ s/\\//g;
+
        return "\\showfuncdesc\{$suffix\}";
 }
 
@@ -312,7 +315,7 @@ multitable:
                $line =~ s/\#/\\\#/g;
                $line =~ s/\@-/\\-/g;
                 $line =~ s/\@verbatiminclude (.*)/\\examplefile{\.\.\/$1}/g;
-               $line =~ s/\@image\{($match+)\,($match+)\}/\\includegraphics\[width\=$2\]\{\.\.\/$1\.pdf\}/g;
+               $line =~ s/\@image\{($match+)\,($match+)\}/\\includegraphics\[width\=$2\]\{\.\.\/$1\}/g;
                $line =~ s/\@samp\{($spacematch+)\}/$1/g;
                $line =~ s/\@strong\{/\{\\bf /g;
                $line =~ s/\@c (.*)/\% $1/g;