Closed njbart closed 4 years ago
I've confirmed that dimensions is parsed properly in the Reference data structure.
This issue has reappeared in recent versions: Literals without special handling in Eval.hs (such as call-number, dimensions, scale, language) are dropped.
This is possible to verify by adapting the test case for #338, since books in din-1505-2.csl (should) display dimensions and scale. I'm afraid the code is a mystery to me, but looks like the fix for #338 (4f46f46) overwrote part of the fix for this one.
@alex-ball have you tried to confirm that rolling back 4f46f46 makes these literals work again?
No, my machine isn't up to it. (By which I mean, I tried compiling with stack test
and it basically locked up my computer, and judging by the rate of progress it was making would not complete for about 5 hours.) :-(
However, I have just tested against the versions bundled with the pandoc deb releases, and can confirm that these fields were working in version 0.14.4 and earlier, and have not worked since version 0.14.8.
I confirmed that rolling that commit back fixes things. Now, why??
Fixed in citeproc branch of pandoc.
pandoc-citeproc seems to silently ignore the CSL variable
dimensions
.Example (using
harvard-university-of-kent.csl
as one of the official styles that supportsdimensions
):Actual:
Expected:
Relevant section from
harvard-university-of-kent.csl
:Note that pandoc-citeproc renders
collection-title
, but notdimensions
.