* Locator/label with roman numerals? @ 2022-07-06 18:41 John Carter Wood [not found] ` <86c967e3-7933-42f5-b33b-f3a8764283ban-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: John Carter Wood @ 2022-07-06 18:41 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1082 bytes --] 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: [image: 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 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/86c967e3-7933-42f5-b33b-f3a8764283ban%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 1509 bytes --] [-- Attachment #2: locator-differences.png --] [-- Type: image/png, Size: 2082 bytes --] [-- Attachment #3: locator-test.md --] [-- Type: text/markdown, Size: 496 bytes --] --- 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] ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <86c967e3-7933-42f5-b33b-f3a8764283ban-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Locator/label with roman numerals? [not found] ` <86c967e3-7933-42f5-b33b-f3a8764283ban-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2022-07-06 20:35 ` Bastien DUMONT 2022-07-07 6:56 ` John Carter Wood 0 siblings, 1 reply; 3+ messages in thread From: Bastien DUMONT @ 2022-07-06 20:35 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Locator/label with roman numerals? 2022-07-06 20:35 ` Bastien DUMONT @ 2022-07-07 6:56 ` John Carter Wood 0 siblings, 0 replies; 3+ messages in thread From: John Carter Wood @ 2022-07-07 6:56 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 2969 bytes --] Great, thanks! I must have overlooked that. Bastien Dumont schrieb am Mittwoch, 6. Juli 2022 um 22:36:28 UTC+2: > 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-discus...-/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-discus...-/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/615542f6-d61c-44ea-bc51-fac84a0f1589n%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 5185 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-07 6:56 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-07-06 18:41 Locator/label with roman numerals? John Carter Wood [not found] ` <86c967e3-7933-42f5-b33b-f3a8764283ban-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2022-07-06 20:35 ` Bastien DUMONT 2022-07-07 6:56 ` John Carter Wood
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).