You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/linuxdoc-tools/files/linuxdoc-tools-0.9.71-upgra...

25 lines
932 B

From b0665954791978c9fede736bc7e0c19efe21f9e9 Mon Sep 17 00:00:00 2001
From: Agustin Martin Domingo <agmartin@debian.org>
Date: Tue, 5 Apr 2016 18:46:24 +0200
Subject: fmt_latex2e.pl: Upgrade deprecated latex2e commands: {\em } ->
\emph{} and {\tt } -> \texttt{}
Signed-off-by: Agustin Martin Domingo <agmartin@debian.org>
---
lib/fmt/fmt_latex2e.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/fmt/fmt_latex2e.pl b/lib/fmt/fmt_latex2e.pl
index 69d8e62..a9b3c00 100644
--- a/lib/fmt/fmt_latex2e.pl
+++ b/lib/fmt/fmt_latex2e.pl
@@ -288,7 +288,7 @@ $latex2e->{postASP} = sub
print $urlnum . ": " . $urlid . "\n" if ( $global->{debug} );
$urldef = latex2e_defnam($urlnum) . "url";
- s/\\nameurl\{.*\}\{.*\}/{\\em $urlnam} {\\tt \\$urldef}/;
+ s/\\nameurl\{.*\}\{.*\}/\\emph{$urlnam} \\texttt{\\$urldef}/;
push @urlnames, $_;
push @urldefines, "\\urldef{\\$urldef} \\url{$urlid}\n";
$urlnum++;