public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Locator/label with roman numerals?
Date: Wed,  6 Jul 2022 20:35:27 +0000	[thread overview]
Message-ID: <YsXyD+ELNc/2guWN@localhost> (raw)
In-Reply-To: <86c967e3-7933-42f5-b33b-f3a8764283ban-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

Roman numerals (i.e. letters) are not recognized as page numbers: you have to write "p. iv". Then the reference will be formatted according to your CSL file, e.g. a non-breakable space will be inserted and the prefix will appear as "pp." if it precedes a range.

Le Wednesday 06 July 2022 à 11:41:02AM, John Carter Wood a écrit :
> I've run into another curious issue (Pandoc 2.18).
> 
> The CSL-style I use has a label for locators ("at p.#" or "at pp. ##-##").
> However, if the page numbers are in *Roman* numerals, the label does not appear
> as it does with Arabic numerals.
> 
> The attached test .md file has two references and cites them with a page
> number, one Arabic, one Roman. The results in the footnotes:
> 
> locator-differences.png
> I have tried it with another CSL file that also uses p./pp. and the results are
> the same.
> 
> Any idea what's going on? Is this related to the other locator issue I raised
> with citeproc?: https://github.com/jgm/citeproc/issues/107#
> issuecomment-1140252757
> 
> 
> --
> 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit [2]https://groups.google.com/d/msgid/
> pandoc-discuss/86c967e3-7933-42f5-b33b-f3a8764283ban%40googlegroups.com.
> 
> References:
> 
> [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [2] https://groups.google.com/d/msgid/pandoc-discuss/86c967e3-7933-42f5-b33b-f3a8764283ban%40googlegroups.com?utm_medium=email&utm_source=footer


> ---
> title: Locator test, Arabic versus Roman
> csl: /home/john/Documents/csl/ieg-2-en-23.csl
> 
> references:
> - type: book
>   id: doe1
>   author:
>   - family: Doe
>     given: Jane
>   issued:
>     date-parts:
>     - - 2022
>   title: A book title
>   publisher: 'Whatever press'
>   lang: en-GB
> - type: book
>   id: doe2
>   author:
>   - family: Doe
>     given: Jane
>   issued:
>     date-parts:
>     - - 2022
>   title: A second book title
>   publisher: 'Whatever press'
>   lang: en-GB
> ...
> 
> Arabic [@doe1, 4] 
> 
> Roman [@doe2, iv]

-- 
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/YsXyD%2BELNc/2guWN%40localhost.


  parent reply	other threads:[~2022-07-06 20:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06 18:41 John Carter Wood
     [not found] ` <86c967e3-7933-42f5-b33b-f3a8764283ban-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-07-06 20:35   ` Bastien DUMONT [this message]
2022-07-07  6:56     ` John Carter Wood

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=YsXyD+ELNc/2guWN@localhost \
    --to=bastien.dumont-vwifzpto/vqstnjn9+bgxg@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).