mvuorre / quarto-preprint

A Quarto extension for preprints using Typst
https://mvuorre.github.io/quarto-preprint/index.pdf
Creative Commons Attribution 4.0 International
27 stars 2 forks source link

references drop et al. after first occurrence #23

Open mvuorre opened 1 week ago

mvuorre commented 1 week ago

Waiting for upstream fix https://github.com/quarto-dev/quarto-cli/issues/10105

danieltomasz commented 1 week ago

Copying my temporary solution from comments from other issue (for the people who might need this) try to install typst 0.11.1 via official installer https://github.com/typst-community/typst-install and point to it/export export QUARTO_TYPST=/path/to/typst0.11.1 from their .zhsrc or .bashrc; this will work for mac/linux, not sure about Windows

mvuorre commented 1 week ago

Thanks. Will this affect rendering documents in RStudio, shell, or both?

danieltomasz commented 1 week ago

I set it globally to use it in VScode preview function and I don't see any problems; If someone doesn't want to modify variable globally, it should be possible to do run quarto with other version of typst "less invasive"':

1) set it locally just for specific render via makefile recipe 2) by adding alias in .zshrc/.bashrc for example alias newtypst='QUARTO_TYPST=/path/to/typst0.11.1 quarto' and then invoking newtypst (or any other name the user with set) to render document instead of quarto