mdw-crypto.bib: Make `#' be an ordinary character in URLs.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 17 Oct 2017 22:52:28 +0000 (23:52 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 17 Oct 2017 22:52:28 +0000 (23:52 +0100)
Oh, gods, the hacking.

mdw-crypto.bib

index 8ddd663..3dfa0d2 100644 (file)
@@ -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