How to insert a @reference
citation in a raw LaTeX chunk?
#13455
-
DescriptionHi everyone, I would like to insert a In a raw Typst chunk, I can use the Is this working only because it is native Typst syntax? One answer could simply be that I should not expect Quarto to handle citations in raw chunks. That would be fine, but I'd love it if one someone could confirm either way. # this fails
quarto render example.qmd --to pdf
# this works
quarto render example.qmd --to typst Reproducible notebook:
And associated @article{Lovelace1843,
author = {Lovelace, Ada and Menabrea, Luigi Federico},
title = {Sketch of the Analytical Engine invented by Charles Babbage,
by L.~F.~Menabrea, of Turin, Officer of the Military Engineers.
With notes by the translator},
journal = {Scientific Memoirs, Selected from the Transactions of Foreign
Academies and Learned Societies and from Foreign Journals},
volume = {3},
pages = {666--731},
year = {1843}
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Typst does not use Pandoc citeproc by default contrary to LaTeX. To allow the references or anything markdown related there is a need to tell Quarto to do that. This mechanism only exists for HTML at the moment. |
Beta Was this translation helpful? Give feedback.
Typst does not use Pandoc citeproc by default contrary to LaTeX.
To allow the references or anything markdown related there is a need to tell Quarto to do that.
For HTML, that's the
data-qmd
attribute which allows Quarto to read and do the right thing.This mechanism only exists for HTML at the moment.