public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Frank Colcord <fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Cc: frank-XCqNk0BTMejR7s880joybQ@public.gmane.org
Subject: Re: double commas when same book ref twice
Date: Sun, 20 Mar 2016 14:05:36 -0700 (PDT)	[thread overview]
Message-ID: <5fef097f-e9c0-4366-a6b5-56edab4f7f45@googlegroups.com> (raw)
In-Reply-To: <CADZiF+VxdKySTE8F9wdDQ1wFjwGuQNJ=VqqGYNrJs7ZERdZJmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 9601 bytes --]

Above tests were run using

pandoc-citeproc 0.9

pandoc 1.16.0.2
Compiled with texmath 0.8.4.1, highlighting-kate 0.6.1.

I will now update and revert.

thanks again

Frank


On Sunday, March 20, 2016 at 8:30:02 PM UTC, Frank Colcord wrote:
>
> Of course. I forgot to update everything before I ran those tests. Last 
> update was early February. Will revert in an hour when I get home.
>
> Thanks Frank
> On 20 Mar 2016 8:10 p.m., "John MacFarlane" <j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org 
> <javascript:>> wrote:
>
>> Before we look further, could you also indicate what
>> versions of pandoc and pandoc-citeproc you're using?
>> Doubled commas used to be common but we've squashed a
>> lot of the bugs in recent versions.
>>
>> +++ Frank Colcord [Mar 20 16 10:25 ]:
>>
>>>   Hi Everyone,
>>>   this is my first post on this forum, after some lurking, so please
>>>   forgive me if I make an error.
>>>   I'm getting two commas in my footnotes when I would just expect one.
>>>   I've enclosed all the relevant files.
>>>   Please let me know if I have missed out some information.
>>>   I'd like to know if I have made an error in my files, or if this is a
>>>   bug in Cite Proc or in Pandoc.
>>>   I'm happy to file the bug if it is one.
>>>   kind regards,
>>>   Frank
>>>
>>>   --
>>>   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...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
>>>   To post to this group, send email to
>>>   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
>>>   To view this discussion on the web visit
>>>   [3]
>>> https://groups.google.com/d/msgid/pandoc-discuss/929c0871-77ed-4637-
>>>   a0bf-506d89f7a71d%40googlegroups.com.
>>>   For more options, visit [4]https://groups.google.com/d/optout.
>>>
>>> References
>>>
>>>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
>>>   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
>>>   3. 
>>> https://groups.google.com/d/msgid/pandoc-discuss/929c0871-77ed-4637-a0bf-506d89f7a71d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>>>   4. https://groups.google.com/d/optout
>>>
>>
>> @book{cit,
>>>  location = {{London}},
>>>  title = {Long Title; that could be abbrev},
>>>  shorttitle = {abbrev},
>>>  timestamp = {2016-02-07T14:08:21Z},
>>>  langid = {EN-en},
>>>  publisher = {{Fictional}},
>>>  author = {Lastname,Firstname},
>>>  date = {2016}
>>> }
>>>
>>> @book{cit2,
>>>  location = {{London}},
>>>  title = {Another Long Title; that could be short},
>>>  timestamp = {2016-02-07T14:08:21Z},
>>>  langid = {EN-en},
>>>  publisher = {{Fictional}},
>>>  author = {Surname,Firstname},
>>>  date = {2016}
>>> }
>>>
>>>
>>>
>>
>>
>>>
>>>
>>>
>>>
>>> pandoc LaHarpeCh1.txt --toc --variable fontfamily="DejaVu Serif" 
>>> --csl=./csl/modern-language-association.csl  
>>> --bibliography=Harpeorganiséemaria.bib --template=MtemplateV3.txt 
>>> --chapters --latex-engine=xelatex -V hyphenate=false -V links-as-notes -N 
>>> -o LaHarpeCh1-Feb7-4.pdf
>>> result:
>>> pandoc-citeproc: ParseError {errorContexts = [], errorMessage = "Failed 
>>> reading: takeWhile1", errorPosition = 50:5}
>>> pandoc: Error running filter pandoc-citeproc
>>> Filter returned error status 1
>>>
>>>
>>> pandoc LaHarpeCh1.txt --toc --variable fontfamily="DejaVu Serif" 
>>> --csl=./csl/modern-humanities-research-association.csl  
>>> --bibliography=Harpeorganiséemaria.bib --template=MtemplateV3.txt 
>>> --chapters --latex-engine=xelatex -V hyphenate=false -V links-as-notes -N 
>>> -o LaHarpeCh1-Feb7-4.pdf
>>> result: ok
>>>
>>> pandoc LaHarpeCh1.txt --toc --variable fontfamily="DejaVu Serif" 
>>> --csl=./csl/chicago-fullnote-bibliography-no-ibid.csl  
>>> --bibliography=Harpeorganiséemaria.bib --template=MtemplateV3.txt 
>>> --chapters --latex-engine=xelatex -V hyphenate=false -V links-as-notes -N 
>>> -o LaHarpeCh1-Feb7-5.pdf
>>> result:
>>> pandoc-citeproc: ParseError {errorContexts = [], errorMessage = "Failed 
>>> reading: takeWhile1", errorPosition = 50:5}
>>> pandoc: Error running filter pandoc-citeproc
>>> Filter returned error status 1
>>>
>>> take out commas after parker citations
>>> pandoc LaHarpeCh1-2016-02-07.txt --toc --variable fontfamily="DejaVu 
>>> Serif" --csl=./csl/modern-humanities-research-association.csl  
>>> --bibliography=Harpeorganiséemaria.bib --template=MtemplateV3.txt 
>>> --chapters --latex-engine=xelatex -V hyphenate=false -V links-as-notes -N 
>>> -o LaHarpeCh1-Feb7-4a.pdf
>>> result: ok
>>>
>>> pandoc LaHarpeCh1.txt --toc --template=MtemplateQuote.txt 
>>> --bibliography=Harpeorganiséemaria.bib --chapters --latex-engine=xelatex -V 
>>> links-as-notes -N -o LaHarpeCh1-fc9.pdf
>>>
>>>
>>> 15. 17 Jan 2016:
>>>
>>> pandoc LaHarpeCh1-fc-Jan1.txt --toc --variable mainfont="DejaVu Serif" 
>>> --csl=./csl/modern-humanities-research-association-author-date.csl  
>>> --bibliography=Harpeorganiséemaria.bib --template=MtemplateV3.txt 
>>> --chapters --latex-engine=xelatex -V links-as-notes -N -o 
>>> LaHarpeCh1-fc-Jan18-2.pdf
>>>
>>> pandoc LaHarpeCh1.txt --toc --variable mainfont="DejaVu Serif" 
>>> --csl=./csl/modern-humanities-research-association-author-date.csl  
>>> --bibliography=Harpeorganiséemaria.bib --template=MtemplateV3.txt 
>>> --chapters --latex-engine=xelatex -V links-as-notes -N -o 
>>> LaHarpeCh1-fc-Jan18-3.pdf
>>>
>>> I realized that the csl files might be out of date. They were valid Oct 
>>> 2015. I've just downloaded Dec 2015.
>>>
>>> 16: 17 Jan 2016:
>>>
>>> pandoc LaHarpeCh1.txt --toc --variable mainfont="DejaVu Serif" 
>>> --csl=./csl/modern-humanities-research-association.csl  
>>> --bibliography=Harpeorganiséemaria-fc.bib --template=MtemplateV3.txt 
>>> --chapters --latex-engine=xelatex -V links-as-notes -N -o 
>>> LaHarpeCh1-fc-Jan18-4.pdf
>>>
>>> pandoc LaHarpeCh1.txt --toc --variable mainfont="DejaVu Serif" 
>>> --csl=./csl/modern-humanities-research-association-author-date.csl  
>>> --bibliography=Harpeorganiséemaria.bib --template=MtemplateV3.txt 
>>> --chapters --latex-engine=xelatex -V links-as-notes -N -o 
>>> LaHarpeCh1-fc-Jan18-5.pdf
>>>
>>> The new versions of the csl don't sort out the space and comma issues. 
>>> So, the author date still looks like the best solution for now.
>>>
>>> cd Dropbox/LaHarpeOrganisee
>>> pandoc LaHarpeCh1.txt --toc --variable mainfont="DejaVu Serif" 
>>> --csl=./csl/modern-humanities-research-association-author-date.csl  
>>> --bibliography=Harpeorganiséemaria.bib --template=MtemplateV3.txt 
>>> --chapters --latex-engine=xelatex -V hyphenate=false -V links-as-notes -N 
>>> -o LaHarpeCh1-fc-Jan18-6.pdf
>>>
>>> cd Dropbox/LaHarpeOrganisee
>>> pandoc LaHarpeCh1.txt --toc --variable mainfont="DejaVu Serif" 
>>> --csl=./csl/modern-humanities-research-association.csl  
>>> --bibliography=Harpeorganiséemaria.bib --template=MtemplateV3.txt 
>>> --chapters --latex-engine=xelatex -V hyphenate=false -V links-as-notes -N 
>>> -o LaHarpeCh1-Feb7-1.pdf
>>>
>>>
>>> ----------------------------------------------
>>> blanks in second use of citation
>>> ----------------------------------------------
>>>
>>> Maria: blanks I don’t know about but there is also an extra comma, as if 
>>> the forename is missing from the ref. eg. “Barthel, , Title of book..”
>>>
>>> Frank: Let me know if you want me to work with you on this.
>>> I assume it has to do with the way you've filled in the fields of 
>>> Zotero. Compare a good citation against this one.
>>>
>>> Maria:
>>>
>>> Frank: 17 Jan 2016:
>>>
>>> I think using the MHRA author date csl has sorted this out as well. Have 
>>> a look at  "...18-3.pdf" and see if that works for you.
>>>
>>> Maria: ok
>>>
>>> Frank 7 Feb: Now that you've decided on author title date, let's figure 
>>> out the right citation style and trouble shoot from there.
>>>
>>> Maria: remove , it the same issue as above.
>>>
>>>
>>>
>> -- 
>> 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/IBf4wGbbFhk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pandoc-discuss/20160320201043.GA916%40MacBook-Air-2.local
>> .
>> 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/5fef097f-e9c0-4366-a6b5-56edab4f7f45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 14979 bytes --]

  parent reply	other threads:[~2016-03-20 21:05 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-20 17:25 Frank Colcord
     [not found] ` <929c0871-77ed-4637-a0bf-506d89f7a71d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-03-20 20:10   ` John MacFarlane
     [not found]     ` <20160320201043.GA916-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org>
2016-03-20 20:30       ` Frank Colcord
     [not found]         ` <CADZiF+VxdKySTE8F9wdDQ1wFjwGuQNJ=VqqGYNrJs7ZERdZJmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-20 21:05           ` Frank Colcord [this message]
     [not found]             ` <5fef097f-e9c0-4366-a6b5-56edab4f7f45-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-03-20 21:21               ` Frank Colcord
     [not found]                 ` <c17dbe54-a14e-4ba5-ac9f-1c70e05a51a4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-03-20 21:43                   ` Jesse Rosenthal
2016-03-20 21:45                   ` Jesse Rosenthal
     [not found]                     ` <87oaa8x1qu.fsf-4GNroTWusrE@public.gmane.org>
2016-03-20 21:48                       ` Frank Colcord
     [not found]                         ` <CADZiF+X=C9rThxikDjzGCvszzK1+1PZ550ojYYWZkDV0fcjYxA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-20 21:50                           ` Frank Colcord
     [not found]                             ` <CADZiF+UeP8ob2yPbCB43gbR1UN8YZX37+kGrPMa9=TNjoBJGcQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-20 22:01                               ` Jesse Rosenthal
     [not found]                                 ` <87io0gx0yx.fsf-4GNroTWusrE@public.gmane.org>
2016-03-20 22:40                                   ` Frank Colcord
     [not found]                                     ` <CADZiF+URmpBXnDXO02LDr+AosRfyozB7zJwnA+A0FPsix0aYSg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-20 23:27                                       ` nickbart1980-Re5JQEeQqe8AvxtiuMwx3w
     [not found]                                         ` <37de6cc3-18c2-401a-b6cb-cc12ba048e22-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-03-21  7:35                                           ` Frank Colcord
     [not found]                                             ` <CADZiF+VUW3G_H71P8dg+UTJT0LRj27qzD6_vWF5Y-UwpZMt=6g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-21  9:14                                               ` nickbart1980-Re5JQEeQqe8AvxtiuMwx3w
     [not found]                                                 ` <ac765da3-8232-431b-b8fe-09b6141fa9ba-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-03-21  9:30                                                   ` nickbart1980-Re5JQEeQqe8AvxtiuMwx3w
     [not found]                                                     ` <472d654c-f723-4d57-9b08-bb4294348696-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-03-21 10:49                                                       ` Frank Colcord
2016-03-21 17:06                                                       ` John MACFARLANE
2016-03-21 20:08                                                   ` Frank Colcord
     [not found]                                                     ` <CADZiF+VQ36yHg0G_oSA41KvVC0_7UyCrW6jeWEmjBXg2r-ohPA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-21 21:24                                                       ` Frank Colcord
     [not found]                                                         ` <CADZiF+Ve4ByyDDJ-1aeJPVv40cMfkBtZ4M1TH=asXSaeT=qjSg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-21 21:43                                                           ` nickbart1980-Re5JQEeQqe8AvxtiuMwx3w
     [not found]                                                             ` <1f80a1e3-0a00-4eec-9e21-67e584dddc09-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-03-21 21:59                                                               ` Frank Colcord
     [not found]                                                                 ` <CADZiF+VKGV=wuOa8r6ona1BesVf12mtOrFwC8f5-x97aKu5FHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-23  3:39                                                                   ` 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=5fef097f-e9c0-4366-a6b5-56edab4f7f45@googlegroups.com \
    --to=fcolcord-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=frank-XCqNk0BTMejR7s880joybQ@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).