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

Reader: gfm with citeproc #8452

Open
halloichbingunnar opened this issue Nov 24, 2022 · 4 comments
Open

Reader: gfm with citeproc #8452

halloichbingunnar opened this issue Nov 24, 2022 · 4 comments

Comments

@halloichbingunnar
Copy link

Hello everyone, thank you first and foremost for your incredible work with pandoc. I am not sure whether this is a feature request or a bug.

I have notes in markdown with bibtex references. With reader: markdown , references are rendered perfectly fine.

But my markdown notes are actually in gfm (that means, for example, no newline before lists in hundreds of documents). I thought, I could just use reader: gfm to work around that. But in this case, my references are not rendered and displayed as [@name_1993_title] in the exported file.

Is there any option to help me out, is it a bug, is it a feature request?
Thank you so much!

@halloichbingunnar halloichbingunnar changed the title Citeproc with gfm input Reader: gfm with citeproc Nov 24, 2022
@jgm
Copy link
Owner

jgm commented Nov 24, 2022

It's not a bug, because gfm doesn't include the citeproc extension. It's not the presence of footnotes that matters, it's the special treatment of things like [@foobar2001, p. 32].

When jgm/commonmark-hs#15 is done, we can add citations as an optional extension for gfm, but until then it's not possible.

(You could in principle try to work around this with a Lua filter, but it would be a somewhat complex one.)

@halloichbingunnar
Copy link
Author

Thank you very much for this explanation! Is there any time frame for the commonmark citations integration?

@jgm
Copy link
Owner

jgm commented Nov 25, 2022

No definite time frame. It has been a surprisingly hard feature to implement and design.

@halloichbingunnar
Copy link
Author

Haha, alright, good luck! 💪

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

No branches or pull requests

2 participants