public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Can citations be sorted by call-number but be labeled with a corresponding increasing integer?
@ 2022-01-21 16:36 William Lupton
       [not found] ` <CAEe_xxga_Ow_9OE+7JSyDSNo+9ePE3CY1LsbpasZsP9SBRak7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: William Lupton @ 2022-01-21 16:36 UTC (permalink / raw)
  To: pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 1810 bytes --]

All,

I've been using citation-number to label and sort citations, which means
that citations are presented in the order in which they were cited.

I'd prefer to have citations sorted by call-number but still labeled 1, 2,
3... However, I can't see how to do this: it would apparently require a
numeric variable that corresponds to the sorted order (regardless of sort
key).

(It seems that, if this isn't possible using standard CSL, it could be
addressed by asking citeproc to support a non-standard 'sorted-number' (or
similar) variable.)

Any ideas?

Thanks,
William

---- example ----

With the markdown shown below, my CSL (which I could supply) gives this
(citations sorted by order of reference):

[1]    RFC 2549, IP over Avian Carriers with Quality of Service, IETF, 1999
[2]    RFC 1149, Avian Carriers, IETF, 1990

...but I'd like this (citations sorted by call-number):

[1]    RFC 1149, Avian Carriers, IETF, 1990
[2]    RFC 2549, IP over Avian Carriers with Quality of Service, IETF, 1999

---
title: Reference order illustration

references:
- id: RFC1149
  call-number: RFC 1149
  title: Avian Carriers
  publisher: IETF
  issued: {year: 1990}

- id: RFC2549
  call-number: RFC 2549
  title: IP over Avian Carriers with Quality of Service
  publisher: IETF
  issued: {year: 1999}
...

# Text

This is RFC 2549 [@RFC2549].

This is RFC 1149 [@RFC1149].

# References

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxga_Ow_9OE%2B7JSyDSNo%2B9ePE3CY1LsbpasZsP9SBRak7A%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 2568 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-01-25 10:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-21 16:36 Can citations be sorted by call-number but be labeled with a corresponding increasing integer? William Lupton
     [not found] ` <CAEe_xxga_Ow_9OE+7JSyDSNo+9ePE3CY1LsbpasZsP9SBRak7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-01-21 17:36   ` Bastien DUMONT
2022-01-24 10:01     ` William Lupton
     [not found]       ` <CAEe_xxgK=6C-7-3XYGpvMMeOL5Rv=4e0tp5efEoZb6_j3qCkHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-01-24 10:32         ` Bastien DUMONT
2022-01-24 12:59           ` William Lupton
     [not found]             ` <CAEe_xxhmuMOj_dkxxKEF5TxbZpR0JpO1qmDtnLvcrR662Z2wnQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-01-24 13:59               ` Bastien DUMONT
2022-01-24 17:17                 ` William Lupton
     [not found]                   ` <CAEe_xxgGSPFFcQr0e9mc6A1ZY=WpS=-z8bbEySZaWCPXrfmzrQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-01-24 18:10                     ` Bastien DUMONT
2022-01-25  9:49                       ` William Lupton
     [not found]                         ` <CAEe_xxiG4+1dbGzmvm_km9=3nEVc_LmCz-zja7MeW3s_W+23Zg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-01-25 10:05                           ` Bastien DUMONT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).