From: Mark Wooding Date: Fri, 2 Aug 2019 11:27:47 +0000 (+0100) Subject: mdwref.dtx: Add a useful output-formatting hook. X-Git-Tag: 1.8.0~1 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mdwtools/commitdiff_plain/e0464890d25b3299ff008d946e49d3fcf657694b?hp=e0464890d25b3299ff008d946e49d3fcf657694b mdwref.dtx: Add a useful output-formatting hook. Rather than have `\xref@@' produce the output directly, because it's very hairy and hard to replace, have it call a new macro, `\formatxfref', to actually put the pieces together. This can be overridden comfortably, even by novices. Have the default `\formatxref' notice that `hyperref' is available and do use its fancier features to include the category name in the link. ---