From: Mark Wooding Date: Tue, 17 Oct 2017 22:52:28 +0000 (+0100) Subject: mdw-crypto.bib: Make `#' be an ordinary character in URLs. X-Git-Url: https://git.distorted.org.uk/~mdw/doc/texmf/commitdiff_plain/9d38474fcc663c0eb15d0fcbe487c4af9048aadd mdw-crypto.bib: Make `#' be an ordinary character in URLs. Oh, gods, the hacking. --- diff --git a/mdw-crypto.bib b/mdw-crypto.bib index 8ddd663..3dfa0d2 100644 --- a/mdw-crypto.bib +++ b/mdw-crypto.bib @@ -10,7 +10,8 @@ \let\mdwxxthebibliography\thebibliography \def\thebibliography{\mdwxxbibhook\mdwxxthebibliography} \def\mdwxxurl#1{[#1]} -\def\biburl#1{\let\biburlsep\empty\biburlxi#1;;\done} +\def\biburl{\bgroup\catcode`\#12\relax\biburlx} +\def\biburlx#1{\let\biburlsep\empty\biburlxi#1;;\done\egroup} \def\biburlxi#1;{\def\temp{#1}\ifx\temp\empty\expandafter\biburlxiii\else \biburlxii#1,,\done\let\biburlxafter\biburlxi\expandafter\biburlxmunch\fi} \def\biburlxii#1,{\def\temp{#1}\ifx\temp\empty\expandafter\biburlxiii\else