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.
This commit is contained in:
Joel Sherrill
1999-10-07 18:23:40 +00:00
parent 4fa74d8e02
commit 754e4446ab
+5
View File
@@ -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 ',
);