wjschne / apaquarto

A quarto extension for creating APA7 documents in .docx, .html, and .pdf formats
https://wjschne.github.io/apaquarto/
Creative Commons Zero v1.0 Universal
166 stars 14 forks source link

error after update #81

Closed moritzketzer closed 3 months ago

moritzketzer commented 3 months ago

Hi,

after updating quarto and apaquarto I have the following error:

Error running filter /Applications/quarto/share/filters/main.lua: ...nuscript/_extensions/wjschne/apaquarto/apafloatlatex.lua:166: attempt to index a nil value (field 'caption_long') stack traceback: /Applications/quarto/share/filters/main.lua:635: in function </Applications/quarto/share/filters/main.lua:625> (...tail calls...) [C]: in ? [C]: in method 'walk' /Applications/quarto/share/filters/main.lua:557: in function </Applications/quarto/share/filters/main.lua:546> (...tail calls...) /Applications/quarto/share/filters/main.lua:1334: in local 'callback' [string "..."]:1888: in field 'withScriptFile' /Applications/quarto/share/filters/main.lua:1350: in upvalue 'run_emulated_filter_chain' /Applications/quarto/share/filters/main.lua:1388: in function </Applications/quarto/share/filters/main.lua:1385> stack traceback: /Applications/quarto/share/filters/main.lua:557: in function </Applications/quarto/share/filters/main.lua:546> (...tail calls...) /Applications/quarto/share/filters/main.lua:1334: in local 'callback' [string "..."]:1888: in field 'withScriptFile' /Applications/quarto/share/filters/main.lua:1350: in upvalue 'run_emulated_filter_chain' /Applications/quarto/share/filters/main.lua:1388: in function </Applications/quarto/share/filters/main.lua:1385>

Any idea why? Thank you in advance!

moritzketzer commented 3 months ago

I have figured out that I am not allowed to have empty captions for images with apa-notes. Now everything works as expected. :)