blob: 55cb3f46ca5a943b6eb84dbe4c6e4612854e8da9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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++;
|