Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline citations not being processed when converting to Typst #12

Open
bcdavasconcelos opened this issue Dec 21, 2023 · 1 comment
Open

Comments

@bcdavasconcelos
Copy link

bcdavasconcelos commented Dec 21, 2023

I noticed a curious pattern. It happens when using multibib and converting to typst. The inline citations are not getting rendered, instead they are being converted to the typst markup.

Here is how a working document looks like after conversion to HTML.

(base) ➜  mwe3 pandoc -f markdown index.qmd -dfilters --to html
[WARNING] Citeproc: citation EN not found
<p><span class="citation" data-cites="EN">(<a href="#ref-EN"
role="doc-biblioref">Aristotelis 1831</a>)</span>.</p>
<div id="refs-primary" class="references csl-bib-body hanging-indent"
data-entry-spacing="0" role="list">
<div id="ref-EN" class="csl-entry" role="listitem">
Aristotelis. 1831. <span>“Ethica Nicomachea.”</span> In <em>Aristotelis
Opera</em>, edited by Immanuel Bekker. Berlim: Reimer.
</div>
</div>
(base) ➜  mwe3

Here is how the same file converts to typst.

(base) ➜  mwe3 pandoc -f markdown index.qmd -dfilters --to typst
[WARNING] Citeproc: citation EN not found
#cite(<EN>);.

#block[
#block[
Aristotelis. 1831. “Ethica Nicomachea.” In #emph[Aristotelis Opera];,
edited by Immanuel Bekker. Berlim: Reimer.

] <ref-EN>
] <refs-primary>
(base) ➜  mwe3

Instead of #cite(<EN>) we should be getting Aristotelis 1831.

Here is a MWE.

I still have no idea where the error could be. Using pandoc 3.1.11.

@tarleb
Copy link
Member

tarleb commented May 5, 2024

Is this still a problem, and does the MWE still exist? I tried to access it just now, but couldn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants