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

Compatibility with citefield #4

Open
bcdavasconcelos opened this issue Mar 14, 2023 · 2 comments
Open

Compatibility with citefield #4

bcdavasconcelos opened this issue Mar 14, 2023 · 2 comments

Comments

@bcdavasconcelos
Copy link

The multibib/multiple-bibliographies filters are not compatible with citefield. I cannot say where the problem lies, but both (multibib/multiple-bibliographies & citefield) are compatible with citation-backlinks, so it seems that it should be a matter of adjusting something. However, it could be that the multibib filter is resolving all the inline citations and that when citefield comes around there is nothing left to do. In this case, it seems that the citefield filter would have to be incorporated into the multibib filter somehow for it to work. But I am not sure about this yet.

Und eine Kleinigkeit mehr...

The configuration is the same in both cases. Just the filter is different (multibib/multiple-bibliographies).

image

image

@bcdavasconcelos
Copy link
Author

So, I had to add only to add doc.meta.references = pandoc.utils.references(doc) to the multibib filter, around line 70, in the resolve_doc_citations function. @tarleb would you consider adding or allowing a pull request to add this and make the filters compatible? Considering, of course, that this cannot be solved by some simple change to the citefield filter that I am too dull to see. I could include the ad hoc citeproc filter that allows the multibib filter to work as a Quarto extension (right now, it does not work out of the box, so to speak).

@tarleb
Copy link
Member

tarleb commented Mar 16, 2023

Sorry, I didn't have time yet to look into this, but it's on my list.

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