Don't copy extension assets to project root
Opened this issue · 3 comments
mvuorre commented
When you render to quarto-preprint, the .svg files get copied to the project root. That sucks and shouldn't happen.
danieltomasz commented
Hi @mvuorre what you think about directly defining svg in the template files? Laprepint is defining orcid in a file https://github.com/LaPreprint/typst/blob/c908cd05da8e13eb8add652a613d00add73d1f58/lapreprint.typ#L50
mvuorre commented
I think it would be sweet. I did not do this for two reasons:
- Unsure if it works in .docx (that doesn't really matter tho)
- Not sure if/how to implement the psyarxiv et cetera logos. Might just deprecate those in favor of simplifying this...
danieltomasz commented
If someone is using project yml they can delete those files as postprocessing, it will not work for files not included to the project
project:
title: "Quarto preprint"
render:
- index.qmd
output-dir: docs
post-render: rm orcid.svg psyarxiv.svg
execute:
cache: true
```