From 9d38474fcc663c0eb15d0fcbe487c4af9048aadd Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 17 Oct 2017 23:52:28 +0100 Subject: [PATCH] mdw-crypto.bib: Make `#' be an ordinary character in URLs. Oh, gods, the hacking. --- mdw-crypto.bib | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.11.0