From 754e4446ab7dc2863990b9400f29ad461500fd34 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 7 Oct 1999 18:23:40 +0000 Subject: Enhanced to support @email{} as supported in texi2html in texinfo 4.0. This way we maintain compatibility but continue to use the better, more flexible tool. --- doc/tools/texi2www/texi2www | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/tools') diff --git a/doc/tools/texi2www/texi2www b/doc/tools/texi2www/texi2www index e7c8e51f92..48b5684c47 100755 --- a/doc/tools/texi2www/texi2www +++ b/doc/tools/texi2www/texi2www @@ -211,6 +211,10 @@ sub expand_xref $topic = $manual = ''; } elsif ($cmd eq 'href') { ($xrefname,$node,$infofile,$url) = split(/,/,$arg); + } elsif ($cmd eq 'email') { + ($xrefname,$node,$infofile,$url) = split(/,/,$arg); + $xrefname = "mailto:$xrefname"; + $url = $xrefname } elsif ($cmd eq 'uref') { ($url,$xrefname,$node,$infofile) = split(/,/,$arg); } else { @@ -1149,6 +1153,7 @@ sub initialize_tables 'pxref', 'Xsee ', 'href', 'X', 'uref', 'X', + 'email', 'X', 'inforef', 'XSee ', ); -- cgit v1.2.3