summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-11-16 16:57:29 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-11-16 16:57:29 +0100
commitbee4b231d94f269428c37a87b97755b12a58587e (patch)
tree575b75c963898af56f3fc55a2427c3c1979ab445
parent7432b6887962c7f0fd664e6ff1a187f1c3e9f35d (diff)
downloadgnutls-tmp-doc-fix.tar.gz
doc: better detect acronym keyword on latex outputtmp-doc-fix
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rwxr-xr-xdoc/scripts/mytexi2latex1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/scripts/mytexi2latex b/doc/scripts/mytexi2latex
index 5b7ea992ec..80319341e6 100755
--- a/doc/scripts/mytexi2latex
+++ b/doc/scripts/mytexi2latex
@@ -359,6 +359,7 @@ multitable:
$line =~ s/\@c (.*)/\% $1/g;
$line =~ s/\@math\{($mathmatch+)\}/\$$1\$/g;
$line =~ s/\@acronym\{($spacematch+)\}/\\acronym{$1}/g;
+ $line =~ s/\@acronym\{/\\acronym{/g;
$line =~ s/\s*\@xcite\{($match+)\}/~\\cite{$1}/g;
$line =~ s/\s*\@xcite\{($match+)\,($match+)\}/~\\cite{$1,$2}/g;
$line =~ s/\@footnote\{/\\footnote{/g;