public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "'Nick Bart' via pandoc-discuss" <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
To: "pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org"
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: text like "circa" and "BCE" in BibTeX year field
Date: Wed, 27 Jun 2018 17:16:56 -0400	[thread overview]
Message-ID: <wSi0qpsIyQ1eigPJa-mzCrKcyzWZdCU5FMzX12NJq6ZwElZFqG8jQgBfmjxrhqP9sPzibpi0xblPJb3rcS6yVIjryplH8R08UxB6dYDEReM=@protonmail.com> (raw)
In-Reply-To: <d925ce2c-0e5b-4d6b-994f-eaa78e0b7bf9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

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

I don’t know what you have been trying (as always, some MWEs would have been immensely helpful), but for me pandoc works as expected:

With the following `test-date-bce.bib`:

@article{item1,
author = {Doe, Jane},
date = {-0349~},
title = {The Title},
}

running the following script:

pandoc -F pandoc-citeproc -t plain << EOT

Blah blah blah [@item1].

---
# csl: water-sa.csl
bibliography: test-date-bce.bib
reference-section-title: References
...
EOT

outputs the following:

Blah blah blah (Doe 350BC).

REFERENCES

Doe, Jane. 350BC. “The Title.”

(Try uncommenting the water-sa.csl line to see that rendering a term for “circa” is possible, too; this just hasn’t been implemented in the default chicago-author-date.csl and many other styles. You may want to report this as a bug at https://forums.zotero.org/, together with the missing space in front of “BC”. Suggesting the use of “CE/BCE” as default terms might be a good idea, too.)

As to latex, you’d best provide us with an MWE of your own.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On June 27, 2018 6:08 AM, Steve Petersen <spetey-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Thanks for the help - I had found the page you pointed me to, Joseph, but didn't find my solution on skimming.
>
> Alas the '{-0349~}' version doesn't work in either LaTeX or pandoc. (It gives "Aristotle (-0349)" in LaTeX, and "n.d." in pandoc.)
>
> I should confess I understand very little of citeproc / csl. Digging around it looks like it uses 'chicago-author-date.csl' as default, but I didn't see a natural place to add the lines suggested.
>
> For what it's worth, I also noticed LaTeX does not handle "{circa 350 BCE}" all that well; though it shows up fine in the bibliography, the inline citation shows as "Aristotle (BCE)".
>
> Thanks again for any further thoughts.
>
> --
> 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit [https://groups.google.com/d/msgid/pandoc-discuss/d925ce2c-0e5b-4d6b-994f-eaa78e0b7bf9%40googlegroups.com](https://groups.google.com/d/msgid/pandoc-discuss/d925ce2c-0e5b-4d6b-994f-eaa78e0b7bf9%40googlegroups.com?utm_medium=email&utm_source=footer).
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/wSi0qpsIyQ1eigPJa-mzCrKcyzWZdCU5FMzX12NJq6ZwElZFqG8jQgBfmjxrhqP9sPzibpi0xblPJb3rcS6yVIjryplH8R08UxB6dYDEReM%3D%40protonmail.com.
For more options, visit https://groups.google.com/d/optout.

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

      parent reply	other threads:[~2018-06-27 21:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-25 20:57 Steve Petersen
     [not found] ` <4d0c5202-d610-4082-ab49-7c1300c4435b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-06-25 21:12   ` Joseph Reagle
2018-06-26  8:41   ` 'Nick Bart' via pandoc-discuss
2018-06-27  6:08     ` Steve Petersen
     [not found]       ` <d925ce2c-0e5b-4d6b-994f-eaa78e0b7bf9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-06-27  9:11         ` pandoc-only-Mmb7MZpHnFY
     [not found]           ` <781a5f56-775e-41e2-9895-ccd042e478cc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-06-27 20:41             ` Steve Petersen
2018-06-27  9:21         ` 'Nick Bart' via pandoc-discuss
2018-06-27  9:45         ` Joost Kremers
     [not found]           ` <87fu18o95d.fsf-97jfqw80gc6171pxa8y+qA@public.gmane.org>
2018-06-27 20:59             ` Steve Petersen
2018-06-27 21:16         ` 'Nick Bart' via pandoc-discuss [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='wSi0qpsIyQ1eigPJa-mzCrKcyzWZdCU5FMzX12NJq6ZwElZFqG8jQgBfmjxrhqP9sPzibpi0xblPJb3rcS6yVIjryplH8R08UxB6dYDEReM=@protonmail.com' \
    --to=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).