Using Bookends with Pandoc

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
higany
Posts: 4
Joined: Sun Dec 22, 2013 4:27 pm

Using Bookends with Pandoc

Post by higany »

Hello all,

I'm really enjoying my experience with Bookends so far, but I haven't been able to get it to work well with pandoc. Pandoc is an extension of Markdown syntax that supports exporting to a variety of final formats (Word, LaTeX, HTML, etc). It's very useful for scientific/mathematical/technical documents. Do you all have any suggestions on how to configure Bookends so that I can easily export citations/scan documents marked up with pandoc?

Thank you
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Using Bookends with Pandoc

Post by Jon »

I'm not familiar with pandoc. But a quick look implies that it will use CSL to generate bibliographies if you provide the correctly formatted temporary citation. But I'm not sure what kind of work flow you're looking for.

Jon
Sonny Software
higany
Posts: 4
Joined: Sun Dec 22, 2013 4:27 pm

Re: Using Bookends with Pandoc

Post by higany »

I was hoping to have way to copy pandoc-formatted citations e.g. [@uniquekeyforpaper; @uniquekeyforpaper]. I'm currently exporting using LaTeX compatible citations and it's kind of clunky.
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Using Bookends with Pandoc

Post by Jon »

Create a format that outputs this, then use it for Copy Citation (set in Preferences). Something like

[$@$u1; $@$u2]

This assumes your data are in user1 and user2.

Also

Jon
Sonny Software
ronank
Posts: 1
Joined: Sat Jan 11, 2014 2:01 pm

Re: Using Bookends with Pandoc

Post by ronank »

I'd also be interested in getting Bookends to work with Pandoc. I don't yet know Bookends well enough to make the adjustments needed. Do I need to create a new format in the Formats Manager? And then put [$@$u1; $@$u2] into the 'Citation Options' panel? Should I also change the citation delimiters in the Preferences 'Scan & Bib' panel?
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Using Bookends with Pandoc

Post by Jon »

Yes, create a new format and try

$@$u1

(I made a mistake in the first post -- he wanted just the unique id for the paper only, he just gave an example where two different refs were cited).

Also, if you want the Bookends unique id output (rather than a unique id you created yourself), you can just use

$@$@

The first @ will be output as literal text, the second will be replaced with the Bookends unique id for the reference.

As you noted, you should change the citation delimiters in Bookends preferences to [ ], and tell Bookends to use your new format to create the temp citation.

BTW
Post Reply