public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Pranesh Prakash <the.solipsist-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Examples of Pandoc MD-formatted Academic Papers
Date: Wed, 22 Jan 2014 22:30:01 -0500	[thread overview]
Message-ID: <CAPD_o+8_tLYsOQLAa6FhBdQmRcE2c9qvdLG+kaPp5xTfc8uqLg@mail.gmail.com> (raw)
In-Reply-To: <CAPD_o+-mH15Au7L9gYUHF8kwXhWeiMJ7PSTXGCSOL_jR6sw-Vw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

I just tried out:

$ pandoc /home/sol/articles/2014-01-14_invisible-censorship-a-look-at-indias-information-technology-act_yaml.txt
--bibliography=/home/sol/articles/biblio.bibtex
--csl=/home/sol/articles/bluebook.csl --standalone --self-contained -o
/home/sol/articles/2014-01-14_invisible-censorship-a-look-at-indias-information-technology-act_yaml.odt

and that command hangs.

It works if I don't specify --bibliography.  Is there a verbose/debug
flag I can set to see why it's hanging?

Here's my BibTeX file:
http://pastebin.com/YKgzpBFs

and here is the extract I'm trying to convert:
http://pastebin.com/raw.php?i=w59qk4Hp

The YAML block also doesn't work.  (How would I change this?)

On Wed, Jan 22, 2014 at 10:18 PM, Pranesh Prakash
<the.solipsist-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Thanks all.  This has been most helpful, especially seeing
> https://raw2.github.com/openingscience/book/master/_posts/2013-08-01-towards_another_scientific_revolution.md
> and
> https://raw2.github.com/openingscience/book/master/bibliography/references.bib
> and
> https://raw2.github.com/openingscience/book/master/_config.yml
>
> I'm using the Zotero Firefox plugin to create the .bib file (by
> exporting to BibTeX since exporting to BibLaTeX seems to lose some
> data (like authors and editors becoming {{undefined}}).)  If there's a
> better way, do let me know.
>
> I'll try out a simple test tonight and let folks know how it goes.
>
> And eventually I need to either do MD -> ODT (and then use LibreOffice
> to convert to .docx) or if MD -> DOCX works well enough then do that
> directly.
>
> A couple things I wanted to check:
>
> While I always use styles in ODT documents, I have never worked around
> with styles for ODT/DOCX created by Pandoc.  My understanding is that
> I need to use --reference-odt= for that.  And for getting YAML
> metadata to be read properly while converting into ODT I'll need to
> do:
>
> $ pandoc -D odt > ~/.pandoc/template/opendocument.template
> and then edit opendocument.template.
>
> Is that correct?  Because YAML metadata, even if I'm only using three
> fields (Author, Title, Date) never works (it displays them as a table
> instead).
>
> On Wed, Jan 22, 2014 at 7:26 PM, Scot Mcphee <scot.mcphee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> I've recently started using Pandoc to write academic papers (also my
>> thesis!) after years of doing Scrivener->MMD->LaTeX.
>>
>> However my first paper I can't show it to you until I get it into shape and
>> submitted for publication. This publication requires references in footnotes
>> (using a note format rather than Author:Date).. Personally rather than
>> trying to get my head around a CSL that inserts the footnote when
>> encountering the [@reference] I just did this.[^fn1]
>>
>> [^fn1]: [@reference]
>>
>> This seems to work just fine for me. I use the biblatex option and a .bib
>> file to compile - the journal's target format is MS Word, so I've not tried
>> this to LaTeX and PDF as yet. My research is not in the sciences so most
>> journals expect Ms Word or similar, a primary reason I switched away from
>> Scrivener/MMD/LaTeX to Pandoc. I also decided, as a former programmer, I
>> preferred to write directly in a plain text format.
>>
>> Scot
>>
>>
>> Scot Mcphee.
>> Computer programmer. Classics PhD. Trouble-maker. Problem-solver.
>> p 0412957414
>> e scot.mcphee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>> let x=x http://crazymcphee.net/x/
>> inlustre monumentum est http://inlustre.net/
>>
>>
>> On 22 January 2014 20:41, Martin Fenner <mf-+Z+QprJ1jbpwFuiNLMe2Ig@public.gmane.org> wrote:
>>>
>>> Not academic paper, but book on Open Science that includes bibtex
>>> references, tables, figures, footnotes and YAML references:
>>> Markdown at https://github.com/openingscience/book/tree/master/_posts
>>> HTML formatted output at http://book.openingscience.org or
>>> https://github.com/openingscience/openingscience.github.io
>>>
>>> The book was just published as Springer Open Access book (Creative Commons
>>> Non-Commercial license), feel free to reuse the content. The markdown
>>> formatting is still work in progress, you can start with
>>> https://github.com/openingscience/book/blob/master/_posts/2013-08-01-towards_another_scientific_revolution.md.
>>>
>>> Best,
>>>
>>> Martin
>>>
>>> Am Dienstag, 21. Januar 2014 20:36:23 UTC+1 schrieb Pranesh Prakash:
>>>>
>>>> Dear all,
>>>>
>>>> I've been using pandoc-flavoured markdown for a while now to write blog
>>>> posts, but I'm now trying it out to write an academic (legal) paper.  I'm
>>>> having a tough time getting my head around how to do (non-inline) citations
>>>> properly (which has to be in the Bluebook style[1]).  Would any of you have
>>>> publicly-available files for finished academic papers written in markdown
>>>> with footnotes and citations and the accompanying bibliography file?
>>>>
>>>> Regards,
>>>> Pranesh
>>>>
>>>>  [1]:
>>>> https://raw2.github.com/citation-style-language/styles/master/bluebook-law-review.csl
>>>
>>> --
>>> 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/4f7c5889-0111-4cb1-8404-6a83ca23f8c2%40googlegroups.com.
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "pandoc-discuss" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/pandoc-discuss/Zcfp7eLxdF0/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/CAFnRE0RAeTcvikV6cLYTYvQXFmyZJySMWengu_DTujsHG7um0g%40mail.gmail.com.
>>
>> For more options, visit https://groups.google.com/groups/opt_out.


  parent reply	other threads:[~2014-01-23  3:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-21 19:36 Pranesh Prakash
     [not found] ` <6097151d-7073-4120-8284-c4a266a72e9b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-21 21:10   ` John MacFarlane
2014-01-21 21:36   ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
2014-01-21 21:38   ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
2014-01-22 10:41   ` Martin Fenner
     [not found]     ` <4f7c5889-0111-4cb1-8404-6a83ca23f8c2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-23  0:26       ` Scot Mcphee
     [not found]         ` <CAFnRE0RAeTcvikV6cLYTYvQXFmyZJySMWengu_DTujsHG7um0g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-23  3:18           ` Pranesh Prakash
     [not found]             ` <CAPD_o+-mH15Au7L9gYUHF8kwXhWeiMJ7PSTXGCSOL_jR6sw-Vw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-23  3:30               ` Pranesh Prakash [this message]
     [not found]                 ` <CAPD_o+8_tLYsOQLAa6FhBdQmRcE2c9qvdLG+kaPp5xTfc8uqLg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-23 18:10                   ` John MacFarlane
     [not found]                     ` <20140123181008.GC96595-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>
2014-01-23 18:35                       ` Michael
     [not found]                         ` <ef4b50de-19a2-40e5-a230-95790a4bd284-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-01-23 18:40                           ` John MacFarlane
     [not found]                             ` <20140123184016.GC3626-0VdLhd/A9Pm0ooXD8Eul3Rafwldml03GTVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
2014-01-23 19:10                               ` Michael
2014-01-23 19:42                               ` Pranesh Prakash
     [not found]                                 ` <CAPD_o+8XFzQzxPZ4JqYVP8zZkot=qV-ydusF8yUAx8yCBkVD1A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-23 20:24                                   ` John MacFarlane
     [not found]                                     ` <20140123202449.GB3937-0VdLhd/A9Pm0ooXD8Eul3Rafwldml03GTVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
2015-09-01  7:22                                       ` Pranesh Prakash
     [not found]                                         ` <4884b177-77eb-46b7-90e4-2f4145321215-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-09-02  2:54                                           ` John MacFarlane
2014-01-24 18:21                                   ` BP Jonsson
     [not found]                                     ` <52E2AF1C.8010808-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-01-24 20:37                                       ` John MacFarlane

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=CAPD_o+8_tLYsOQLAa6FhBdQmRcE2c9qvdLG+kaPp5xTfc8uqLg@mail.gmail.com \
    --to=the.solipsist-re5jqeeqqe8avxtiumwx3w@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).