Disable sorting of bibliographic entries for a specific use case #10352
Answered
by
badumont
amine-aboufirass
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This is determined by the CSL file, so you have to use a copy of ieee.csl and modify the <bibliography> element therein. Here is the relevant information: https://docs.citationstyles.org/en/v1.0.2/specification.html#sorting
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
amine-aboufirass
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to bypass ordering of entries in my bibliography based on the order they have been cited in the main text? As a follow up to this discussion I am working on a website which will have a structure as follows:
There is one standalone bibliography called
references.html
, anindex.html
and a number oftopic*.html
pages. I am citing literature from the central bibliography and linking to it. I wrote the following simple filter to achieve this:I then build the pages individually applying the filter, which incidentally also suppresses the bibliography:
Then I build the bibliography using a dummy markdown file as follows:
While the links in my index.md point to the right bibliographic elements, they are incorrectly numbered. As it turns out the ordering of the bibliograpic elements in
index.md
corresponds to the order they were cited, whereas in my centralreferences.html
they are numbered based on thereferences.bib
file.In my use case, it doesn't make sense to order the bibliographic items in terms of the order of citation, since the ordering is more or less arbitrary for each topic page.
How can I intentionally disable the pandoc behavior which causes the ordering of bibliographic entries to follow the order in which they have been cited?
Beta Was this translation helpful? Give feedback.
All reactions