pandoc-ext / section-bibliographies

Filter to create a separate bibliography for each section or chapter
MIT License
41 stars 4 forks source link

Potential .{content-hidden} Compatibility Issue with Quarto 1.3.361 #12

Closed ttalVlatt closed 5 months ago

ttalVlatt commented 1 year ago

I updated my Quarto today to version 1.3.361 (the current main version) and all my section bibliographies went blank (i.e., no bibliography was rendered at all). I reverted back to version 1.2.475 that I had been using and they reappeared. Is this something other people have experienced?

ttalVlatt commented 1 year ago

I've done some additional fiddling around, and it appears that the issue is specific to if you cite the references in a .{content-hidden} tab, as I have been doing for my Quarto CV. Attached is a repex works with Quarto v1.2 but not with v1.3. I am also going to open this as an issue with Quarto. Quarto-Repex.zip

ttalVlatt commented 1 year ago

In case anyone comes across this, I found out that there was a change in Quarto 1.3 that affected this (see here: https://github.com/quarto-dev/quarto-cli/issues/5904) and was shown a basic workaround. You can create another .lua filter extension that hides the content rather than using .content-hidden. See here for an example: https://github.com/ttalVlatt/ttalVlatt.github.io/tree/main/_extensions/ttalVlatt/hide-me

tarleb commented 5 months ago

Thanks for the report and the additional info. I believe that there isn't much we can do in this filter, so I'm closing the issue.