computorg / computo-quarto-extension

Quarto extension for Computo template
https://computorg.github.io/computo-quarto-extension/
MIT License
16 stars 4 forks source link

tikz from diagram.lua borked in html output #20

Open fradav opened 12 months ago

fradav commented 12 months ago

sometimes, svg for tikz isn’t properly added to mediabag (difficult to reproduce) discussed in: https://github.com/quarto-dev/quarto-cli/discussions/7750 reported in: https://github.com/pandoc-ext/diagram/issues/13

pneuvial commented 3 months ago

To avoid tikz-related issues, tikz will not be supported in our template in the near future in favor of tools supported by the quarto team, see e.g. mermaid.

pneuvial commented 3 months ago

See #29

fradav commented 1 month ago

Solved by my own workaround. Just put a filename outside the current directory (which is the mediabag dir and is deleted by the pdf render).

```{.tikz}
%%| filename: ../figure-tikz/fig-tikz
…

See https://github.com/quarto-dev/quarto-cli/issues/11077