I tried converting the r-pkgs quarto book (GitHub - hadley/r-pkgs: Building R packages) into pdf by adding to _quarto.yml
:
format:
pdf:
toc: true
number-sections: true
colorlinks: true
documentclass: scrbook
and trying to build this on posit.cloud. It does not have rsvg-convert
which falls out of some lua filters:
Could not convert a SVG to a PDF for output. Please ensure that rsvg-convert is available on the path.
Error running filter /opt/quarto/share/filters/main.lua:
/opt/quarto/share/filters/main.lua:2603: attempt to call a nil value (global 'crash_with_stack_trace')
stack traceback:
/opt/quarto/share/filters/main.lua:2182: in function 'fail'
/opt/quarto/share/filters/main.lua:7018: in upvalue 'call_rsvg_convert'
/opt/quarto/share/filters/main.lua:7042: in function </opt/quarto/share/filters/main.lua:7024>
(...tail calls...)
/opt/quarto/share/filters/main.lua:2911: in function </opt/quarto/share/filters/main.lua:2905>
[C]: in ?
[C]: in method 'walk'
/opt/quarto/share/filters/main.lua:558: in function </opt/quarto/share/filters/main.lua:547>
(...tail calls...)
/opt/quarto/share/filters/main.lua:1297: in local 'callback'
/opt/quarto/share/filters/main.lua:1315: in upvalue 'run_emulated_filter_chain'
/opt/quarto/share/filters/main.lua:1351: in function </opt/quarto/share/filters/main.lua:1348>
stack traceback:
/opt/quarto/share/filters/main.lua:558: in function </opt/quarto/share/filters/main.lua:547>
(...tail calls...)
/opt/quarto/share/filters/main.lua:1297: in local 'callback'
/opt/quarto/share/filters/main.lua:1315: in upvalue 'run_emulated_filter_chain'
/opt/quarto/share/filters/main.lua:1351: in function </opt/quarto/share/filters/main.lua:1348>