public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* CSL YAML to "rich" bibtex?
@ 2022-08-23 15:19 Joseph Reagle
       [not found] ` <cf31856c-a2dd-cb42-963d-8df51c06c980-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Joseph Reagle @ 2022-08-23 15:19 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I'm attempting to use the ACM extension for Quarto, and it requires a bibtex file.

I have YAML that works with pandoc, but when I convert it to bibtex (below) it drops the `url` field -- since that's not old-school bibtex?

Is there any way to get a "rich" bibtex file from CSL JSON/YAML?

—Joseph

-- 
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/cf31856c-a2dd-cb42-963d-8df51c06c980%40reagle.org.


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

* Re: CSL YAML to "rich" bibtex?
       [not found] ` <cf31856c-a2dd-cb42-963d-8df51c06c980-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
@ 2022-08-23 16:17   ` John MacFarlane
       [not found]     ` <DD56BDFC-DA30-49A4-BD39-C6D291B5A950-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: John MacFarlane @ 2022-08-23 16:17 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Did you try `-t biblatex`?

> On Aug 23, 2022, at 8:19 AM, Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> wrote:
> 
> I'm attempting to use the ACM extension for Quarto, and it requires a bibtex file.
> 
> I have YAML that works with pandoc, but when I convert it to bibtex (below) it drops the `url` field -- since that's not old-school bibtex?
> 
> Is there any way to get a "rich" bibtex file from CSL JSON/YAML?
> 
> —Joseph
> 
> -- 
> 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/cf31856c-a2dd-cb42-963d-8df51c06c980%40reagle.org.

-- 
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/DD56BDFC-DA30-49A4-BD39-C6D291B5A950%40gmail.com.


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

* Re: CSL YAML to "rich" bibtex?
       [not found]     ` <DD56BDFC-DA30-49A4-BD39-C6D291B5A950-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2022-08-23 16:31       ` Joseph Reagle
  2022-08-23 16:33       ` Joseph Reagle
  2022-09-08 18:05       ` Joseph Reagle
  2 siblings, 0 replies; 8+ messages in thread
From: Joseph Reagle @ 2022-08-23 16:31 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Ah, yes, thanks! The problem then

On 22-08-23 12:17, John MacFarlane wrote:
> Did you try `-t biblatex`?
> 
>> On Aug 23, 2022, at 8:19 AM, Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> wrote:
>>
>> I'm attempting to use the ACM extension for Quarto, and it requires a bibtex file.
>>
>> I have YAML that works with pandoc, but when I convert it to bibtex (below) it drops the `url` field -- since that's not old-school bibtex?
>>
>> Is there any way to get a "rich" bibtex file from CSL JSON/YAML?
>>
>> —Joseph
>>
>> -- 
>> 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/cf31856c-a2dd-cb42-963d-8df51c06c980%40reagle.org.
> 

-- 
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/30c75ba5-b3ef-2bd8-4123-64eff8446c01%40reagle.org.


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

* Re: CSL YAML to "rich" bibtex?
       [not found]     ` <DD56BDFC-DA30-49A4-BD39-C6D291B5A950-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2022-08-23 16:31       ` Joseph Reagle
@ 2022-08-23 16:33       ` Joseph Reagle
       [not found]         ` <fbc15f9f-a158-b47c-6b10-0dba25a74f4b-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  2022-09-08 18:05       ` Joseph Reagle
  2 siblings, 1 reply; 8+ messages in thread
From: Joseph Reagle @ 2022-08-23 16:33 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Ah, yes, thanks! (The problem then is if I can get Quarto/ACM to use biblatex instead of bibtex, but I'll take that elsewhere.)

On 22-08-23 12:17, John MacFarlane wrote:
> Did you try `-t biblatex`?
> 
>> On Aug 23, 2022, at 8:19 AM, Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> wrote:
>>
>> I'm attempting to use the ACM extension for Quarto, and it requires a bibtex file.
>>
>> I have YAML that works with pandoc, but when I convert it to bibtex (below) it drops the `url` field -- since that's not old-school bibtex?
>>
>> Is there any way to get a "rich" bibtex file from CSL JSON/YAML?
>>
>> —Joseph
>>
>> -- 
>> 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/cf31856c-a2dd-cb42-963d-8df51c06c980%40reagle.org.
> 


-- 
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/fbc15f9f-a158-b47c-6b10-0dba25a74f4b%40reagle.org.


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

* Re: CSL YAML to "rich" bibtex?
       [not found]         ` <fbc15f9f-a158-b47c-6b10-0dba25a74f4b-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
@ 2022-08-23 20:06           ` Joost Kremers
  0 siblings, 0 replies; 8+ messages in thread
From: Joost Kremers @ 2022-08-23 20:06 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw; +Cc: Joseph Reagle


On Tue, Aug 23 2022, Joseph Reagle wrote:
> Ah, yes, thanks! (The problem then is if I can get Quarto/ACM to use biblatex
> instead of bibtex, but I'll take that elsewhere.)

Just tell them that BibTeX was last updated in 1988. That's three years before
Linux's initial release, two years before the release of Windows 3.0, at a time
when people had a C64 at home, or possibly an MSX if they were living in Japan,
Brazil or some parts of Europe.

Or, put differently, at a time when the PhD students that the editors have doing
their grunt work weren't even born yet.

If that doesn't convince them, nothing will.


-- 
Joost Kremers
Life has its moments


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

* Re: CSL YAML to "rich" bibtex?
       [not found]     ` <DD56BDFC-DA30-49A4-BD39-C6D291B5A950-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2022-08-23 16:31       ` Joseph Reagle
  2022-08-23 16:33       ` Joseph Reagle
@ 2022-09-08 18:05       ` Joseph Reagle
       [not found]         ` <569bd382-789f-b4dd-53a7-01974c970a39-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
  2 siblings, 1 reply; 8+ messages in thread
From: Joseph Reagle @ 2022-09-08 18:05 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I know `url` wasn't include in Patashnik [1], but it's been common since at least 2007/2008 [2] [3].

Would there be an objection to including it in the bibtex output? (I'm not sure what other fields are now common in the wild, but a strength of bibtex is that it was easy to include fields that could be ignored.)

[1]: https://ctan.math.illinois.edu/biblio/bibtex/base/btxdoc.pdf
[2]: https://tug.org/pracjourn/2006-4/fenn/fenn.pdf
[3]: https://mirrors.rit.edu/CTAN/biblio/bibtex/contrib/doc/btxFAQ.pdf

On 22-08-23 12:17, John MacFarlane wrote:
> Did you try `-t biblatex`?
> 
>> On Aug 23, 2022, at 8:19 AM, Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> wrote:
>>
>> I'm attempting to use the ACM extension for Quarto, and it requires a bibtex file.
>>
>> I have YAML that works with pandoc, but when I convert it to bibtex (below) it drops the `url` field -- since that's not old-school bibtex?
>>
>> Is there any way to get a "rich" bibtex file from CSL JSON/YAML?


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

* Re: CSL YAML to "rich" bibtex?
       [not found]         ` <569bd382-789f-b4dd-53a7-01974c970a39-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
@ 2022-09-09  0:33           ` John MacFarlane
       [not found]             ` <547DD665-7D79-4227-BA59-9C4A52512A52-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: John MacFarlane @ 2022-09-09  0:33 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

We could consider it. Put up an issue.

> On Sep 8, 2022, at 11:05 AM, Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> wrote:
> 
> I know `url` wasn't include in Patashnik [1], but it's been common since at least 2007/2008 [2] [3].
> 
> Would there be an objection to including it in the bibtex output? (I'm not sure what other fields are now common in the wild, but a strength of bibtex is that it was easy to include fields that could be ignored.)
> 
> [1]: https://ctan.math.illinois.edu/biblio/bibtex/base/btxdoc.pdf
> [2]: https://tug.org/pracjourn/2006-4/fenn/fenn.pdf
> [3]: https://mirrors.rit.edu/CTAN/biblio/bibtex/contrib/doc/btxFAQ.pdf
> 
> On 22-08-23 12:17, John MacFarlane wrote:
>> Did you try `-t biblatex`?
>>> On Aug 23, 2022, at 8:19 AM, Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> wrote:
>>> 
>>> I'm attempting to use the ACM extension for Quarto, and it requires a bibtex file.
>>> 
>>> I have YAML that works with pandoc, but when I convert it to bibtex (below) it drops the `url` field -- since that's not old-school bibtex?
>>> 
>>> Is there any way to get a "rich" bibtex file from CSL JSON/YAML?
> 
> -- 
> 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/569bd382-789f-b4dd-53a7-01974c970a39%40reagle.org.


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

* Re: CSL YAML to "rich" bibtex?
       [not found]             ` <547DD665-7D79-4227-BA59-9C4A52512A52-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2022-09-09 12:25               ` Joseph Reagle
  0 siblings, 0 replies; 8+ messages in thread
From: Joseph Reagle @ 2022-09-09 12:25 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

It'd be good to have feedback from latex/bibtex users: should bibtex have a `url` field or use `howpublished`? What's common now?

=========

https://github.com/jgm/pandoc/issues/8287

I (sadly) learned that some ACM sigs are still using old school bibtex and bst style files.

I know `url` wasn't include in [Patashnik][1], but it's been common since at least [2007][2]/[2008][3]. I *think* some of the major bsts can use it and `url` could be included in pandoc's bibtex output. **OR**, pandoc could follow some of the old ways of extending bibtex by making use of the `howpublished` and `note` fields:

     howpublished = "\url{https://www.nasa.gov/nh/pluto-the-other-red-planet}"
     note = "Accessed on 2022 Sep 09"

I expect this'll be a one off for me, so it'd be good to  have feedback from those who still use latex/bibtex and best know what's out there.

[1]: https://ctan.math.illinois.edu/biblio/bibtex/base/btxdoc.pdf
[2]: https://tug.org/pracjourn/2006-4/fenn/fenn.pdf
[3]: https://mirrors.rit.edu/CTAN/biblio/bibtex/contrib/doc/btxFAQ.pdf

-- 
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/68387960-eb99-967b-bde0-d06e15dc6ed1%40reagle.org.


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

end of thread, other threads:[~2022-09-09 12:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-23 15:19 CSL YAML to "rich" bibtex? Joseph Reagle
     [not found] ` <cf31856c-a2dd-cb42-963d-8df51c06c980-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2022-08-23 16:17   ` John MacFarlane
     [not found]     ` <DD56BDFC-DA30-49A4-BD39-C6D291B5A950-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-08-23 16:31       ` Joseph Reagle
2022-08-23 16:33       ` Joseph Reagle
     [not found]         ` <fbc15f9f-a158-b47c-6b10-0dba25a74f4b-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2022-08-23 20:06           ` Joost Kremers
2022-09-08 18:05       ` Joseph Reagle
     [not found]         ` <569bd382-789f-b4dd-53a7-01974c970a39-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2022-09-09  0:33           ` John MacFarlane
     [not found]             ` <547DD665-7D79-4227-BA59-9C4A52512A52-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-09-09 12:25               ` Joseph Reagle

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).