mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 13:15:54 +08:00
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:
@@ -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 ',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user