public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Role of pandoc, citeproc and csl style with prefix, locator, and suffix
Date: Sun, 24 Jul 2022 16:30:28 -0700	[thread overview]
Message-ID: <8A523FA1-9A21-4C29-9720-40A1CEF369F1@gmail.com> (raw)
In-Reply-To: <CAPGHSey6b=EQ8ig-jMSc5GSa95zEmCfYEr9yrOfJ=wbqzEkHcQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>



> On Jul 23, 2022, at 6:49 AM, Clément Aubert <aubert.clement-Re5JQEeQqe8@public.gmane.orgm> wrote:
> 
> Good morning,
> 
> The following
> 
> [@item1 Section 1]
> [@item1 p. 12]
> [@item1{Definition 12}]
> 
> will give with the default style
> (Doe 2005, sec. 1) (Doe 2005, 12) (Doe 2005, Definition 12)
> 
> but with e.g. elsevier-with-titles.csl ( https://github.com/citation-style-language/styles/blob/master/elsevier-with-titles.csl ) I will get
> 
> [1] [1] [1]
> 
> that is, in this latter case, the locators are just "gobbled up". I would like to have that style correctly use the locators.

Treatment of locators is style-specific. Does that particular style say to print locators?


> The documentation reads
> 
> By default, pandoc will use the Chicago Manual of Style author-date format.
> 
> but I couldn't find which actual csl file is used.

`pandoc --print-default-data-file default.csl`


> This one ( https://www.zotero.org/styles/chicago-author-date-16th-edition ) indeed has a segment
>   <macro name="locators">
> that is absent from the elsevier-with-titles.csl: is the .csl file the right place to add this behaviour?

Yes, exactly.


-- 
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/8A523FA1-9A21-4C29-9720-40A1CEF369F1%40gmail.com.


      parent reply	other threads:[~2022-07-24 23:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-23 13:49 Clément Aubert
     [not found] ` <CAPGHSey6b=EQ8ig-jMSc5GSa95zEmCfYEr9yrOfJ=wbqzEkHcQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-24 23:30   ` John MacFarlane [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8A523FA1-9A21-4C29-9720-40A1CEF369F1@gmail.com \
    --to=fiddlosopher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).