Skip to content

Commit

Permalink
Fix a bug in Biblatex support.
Browse files Browse the repository at this point in the history
Use `\protected@edef` when computing the MD5 sum of Biblatex entries.  This
addresses issue #9.
  • Loading branch information
sasozivanovic committed Jan 21, 2024
1 parent 6f03d06 commit e7fe5f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion memoize.edtx
Original file line number Diff line number Diff line change
Expand Up @@ -3532,7 +3532,8 @@
% \begin{macro}{\mmz@biblatex@entry}
% This macro stores the MD5 sum of the |\entry| when reading the |.bbl| file.
\def\mmz@biblatex@entry#1#2\endentry{%
\csxdef{mmz@bbl@#1}{\pdf@mdfivesum{#2}}%
\protected@edef\mmz@temp{\pdf@mdfivesum{#2}}%
\global\cslet{mmz@bbl@#1}\mmz@temp
\AdviceOriginal{#1}#2\endentry
}
% \end{macro}
Expand Down

0 comments on commit e7fe5f8

Please sign in to comment.