From b75c05d7bb10a276c51860e58898603d4f98342a Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Wed, 17 Dec 2014 23:11:56 -0500 Subject: [PATCH] Provide additional href link command. Add additional command that can be used in place of href where appropriate. --- comprehensive-gpl-guide.tex | 1 + tex4ht.usr | 2 ++ 2 files changed, 3 insertions(+) diff --git a/comprehensive-gpl-guide.tex b/comprehensive-gpl-guide.tex index 5c288c1..e9ab04e 100644 --- a/comprehensive-gpl-guide.tex +++ b/comprehensive-gpl-guide.tex @@ -66,6 +66,7 @@ \newcommand{\tutorialpartsplit}[2]{#2} %\input{no-numbers-on-table-of-contents} +\providecommand{\hrefnofollow}[2]{\href{#1}{#2}} \hypersetup{pdfinfo={Title={Copyleft and the GNU General Public License: A Comprehensive Tutorial and Guide}}} diff --git a/tex4ht.usr b/tex4ht.usr index f1f7183..51561f8 100644 --- a/tex4ht.usr +++ b/tex4ht.usr @@ -16,3 +16,5 @@
  • HTML (1 pg)
  • \Hnewline}} \newcommand{\monolith}{\Configure{next+}{\footermenu\HCode{\Hnewline}}} \fi + +\def\hrefnofollow#1#2{\Link[#1 rel="nofollow"]{}{}{#2}\EndLink}