[xml/sgml-commit] [linuxdoc-tools] 05/17: fmt_latex2e.pl: Upgrade deprecated latex2e commands: {\em } -> \emph{} and {\tt } -> \texttt{}

Agustín Martín Domingo agmartin at moszumanska.debian.org
Wed May 4 17:56:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

agmartin pushed a commit to branch upstream
in repository linuxdoc-tools.

commit b0665954791978c9fede736bc7e0c19efe21f9e9
Author: Agustin Martin Domingo <agmartin at debian.org>
Date:   Tue Apr 5 18:46:24 2016 +0200

    fmt_latex2e.pl: Upgrade deprecated latex2e commands: {\em  } -> \emph{} and {\tt } -> \texttt{}
    
    Signed-off-by: Agustin Martin Domingo <agmartin at 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++;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-xml-sgml/linuxdoc-tools.git



More information about the debian-xml-sgml-commit mailing list