Open zepinglee opened 9 months ago
Are you sure this exact MWE used to work at all? I get errors from older versions of TeX live on Overleaf when I tested this. (https://www.overleaf.com/read/ffypfgcnmjpc)
AFAICS the problem here is that entrysubtype
contains typesettable text whereas biblatex
assumes it only contains content that is safe in within an \csname ...\endcsname
context, because it does
The ~
in
breaks this.
I think entrysubtype
is probably not the best choice of field here given that core biblatex
essentially assumes it behaves more like the actual entry type, i.e. is a single string that is basically safe within \csname ...\endcsname
.
Thanks for your analysis.
Are you sure this exact MWE used to work at all? I get errors from older versions of TeX live on Overleaf when I tested this. (https://www.overleaf.com/read/ffypfgcnmjpc)
I doubt my memory now.
I can't reproduce this with DEV versions. The test doc for the APA style compiles without warnings for me. You are using Lualatex? That's what I use to generate the reference test PDFs for the style.
The TeX engine did not make a difference for me here (I tested with both pdfLaTeX and LuaLaTeX). The problem did not occur in my tests when I loaded babel
(I haven't looked at the definitions to find out why). I'm assuming your tests load babel
and thus avoid the issue.
The following MRE results in an error with up-to-date TeX Live.
I remember all the example entries worked several days ago. This error is probably because of LaTeX3 2023-10-10.