public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* double commas when same book ref twice
@ 2016-03-20 17:25 Frank Colcord
       [not found] ` <929c0871-77ed-4637-a0bf-506d89f7a71d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 22+ messages in thread
From: Frank Colcord @ 2016-03-20 17:25 UTC (permalink / raw)
  To: pandoc-discuss


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

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 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/929c0871-77ed-4637-a0bf-506d89f7a71d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

[-- Attachment #2: DoubleComma.bib --]
[-- Type: text/x-bibtex, Size: 475 bytes --]

@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}
}



[-- Attachment #3: DoubleComma.pdf --]
[-- Type: application/pdf, Size: 34494 bytes --]

[-- Attachment #4: DoubleCommaBug.txt --]
[-- Type: text/plain, Size: 4736 bytes --]






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. 



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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: John MacFarlane @ 2016-03-20 20:10 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   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
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   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 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/20160320201043.GA916%40MacBook-Air-2.local.
For more options, visit https://groups.google.com/d/optout.


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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: Frank Colcord @ 2016-03-20 20:30 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

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" <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> 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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>   To post to this group, send email to
>>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>   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
>>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>   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-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/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/CADZiF%2BVxdKySTE8F9wdDQ1wFjwGuQNJ%3DVqqGYNrJs7ZERdZJmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: double commas when same book ref twice
       [not found]         ` <CADZiF+VxdKySTE8F9wdDQ1wFjwGuQNJ=VqqGYNrJs7ZERdZJmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2016-03-20 21:05           ` Frank Colcord
       [not found]             ` <5fef097f-e9c0-4366-a6b5-56edab4f7f45-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 22+ messages in thread
From: Frank Colcord @ 2016-03-20 21:05 UTC (permalink / raw)
  To: pandoc-discuss; +Cc: frank-XCqNk0BTMejR7s880joybQ


[-- 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 --]

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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: Frank Colcord @ 2016-03-20 21:21 UTC (permalink / raw)
  To: pandoc-discuss; +Cc: frank-XCqNk0BTMejR7s880joybQ


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

Just realized one of the files I enclosed last time was incorrect. 
I enclose the correct markdown file "DoubleCommaBugv2.txt"

I've now updated pandoc.

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

pandoc-citeproc 0.9.1.1

Just downloaded latest version of  
styles-distribution/modern-humanities-research-association.csl

However, I get an error report:

prompt> pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu 
Serif" --csl=../../csl/modern-humanities-research-association.csl 
--bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V 
hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
pandoc-citeproc: ParseError {errorContexts = [], errorMessage = "Failed 
reading: takeWhile1", errorPosition = 51:5}
pandoc: Error running filter pandoc-citeproc
Filter returned error status 1

thanks,

Frank


On Sunday, March 20, 2016 at 9:05:37 PM UTC, Frank Colcord wrote:
>
> 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> 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>   To post to this group, send email to
>>>>   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>   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
>>>>   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>>>   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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> 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/c17dbe54-a14e-4ba5-ac9f-1c70e05a51a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

[-- Attachment #2: DoubleCommaBugv2.txt --]
[-- Type: text/plain, Size: 811 bytes --]

This is a test of having the same work^[@cit, p9999] mentioned twice in the same document.

If there is only one citation in the paper, then it thinks it can ignore the author altogether, except in the bibliography, so I had to include another work^[@cit2, p2] which may help.

If I don't put the citations in the footnote style^[@cit, p1000] , the author names are put in the sentences.

This is a test of having the same work ^[@cit2, p1000] mentioned twice in the same document.

Here is the command I issued. No pdf template needed.

```````
pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu Serif" --csl=../../csl/modern-humanities-research-association.csl --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
``````````



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

* Re: double commas when same book ref twice
       [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
  1 sibling, 0 replies; 22+ messages in thread
From: Jesse Rosenthal @ 2016-03-20 21:43 UTC (permalink / raw)
  To: Frank Colcord, pandoc-discuss; +Cc: frank-XCqNk0BTMejR7s880joybQ

I get the same issue you do when I run it with the MHRA csl file, but
not when I run it with Chicago or MLA. Is it possible it's a csl error
in that style?

Frank Colcord <fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> [ text/plain ]
> Just realized one of the files I enclosed last time was incorrect. 
> I enclose the correct markdown file "DoubleCommaBugv2.txt"
>
> I've now updated pandoc.
>
> pandoc 1.16.0.2
> Compiled with texmath 0.8.4.1, highlighting-kate 0.6.1.
>
> pandoc-citeproc 0.9.1.1
>
> Just downloaded latest version of  
> styles-distribution/modern-humanities-research-association.csl
>
> However, I get an error report:
>
> prompt> pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu 
> Serif" --csl=../../csl/modern-humanities-research-association.csl 
> --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V 
> hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
> pandoc-citeproc: ParseError {errorContexts = [], errorMessage = "Failed 
> reading: takeWhile1", errorPosition = 51:5}
> pandoc: Error running filter pandoc-citeproc
> Filter returned error status 1
>
> thanks,
>
> Frank
>
>
> On Sunday, March 20, 2016 at 9:05:37 PM UTC, Frank Colcord wrote:
>>
>> 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> 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>   To post to this group, send email to
>>>>>   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>   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
>>>>>   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>>>>   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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>> 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/c17dbe54-a14e-4ba5-ac9f-1c70e05a51a4%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> [ DoubleCommaBugv2.txt: text/plain ]
> This is a test of having the same work^[@cit, p9999] mentioned twice in the same document.
>
> If there is only one citation in the paper, then it thinks it can ignore the author altogether, except in the bibliography, so I had to include another work^[@cit2, p2] which may help.
>
> If I don't put the citations in the footnote style^[@cit, p1000] , the author names are put in the sentences.
>
> This is a test of having the same work ^[@cit2, p1000] mentioned twice in the same document.
>
> Here is the command I issued. No pdf template needed.
>
> ```````
> pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu Serif" --csl=../../csl/modern-humanities-research-association.csl --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V hyphenate=false -V links-as-notes -N -o DoubleComma.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 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/87r3f4x1ts.fsf%40jhu.edu.
For more options, visit https://groups.google.com/d/optout.


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

* Re: double commas when same book ref twice
       [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>
  1 sibling, 1 reply; 22+ messages in thread
From: Jesse Rosenthal @ 2016-03-20 21:45 UTC (permalink / raw)
  To: Frank Colcord, pandoc-discuss; +Cc: frank-XCqNk0BTMejR7s880joybQ

Sorry -- to clarify: I get the same problematic output when I run it
with MHRA. I can't reproduce the pandoc-citeproc error you get below. Is
it possible that you're running it from a different directory, and
you're relative path to the csl file is breaking?

Frank Colcord <fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> [ text/plain ]
> Just realized one of the files I enclosed last time was incorrect. 
> I enclose the correct markdown file "DoubleCommaBugv2.txt"
>
> I've now updated pandoc.
>
> pandoc 1.16.0.2
> Compiled with texmath 0.8.4.1, highlighting-kate 0.6.1.
>
> pandoc-citeproc 0.9.1.1
>
> Just downloaded latest version of  
> styles-distribution/modern-humanities-research-association.csl
>
> However, I get an error report:
>
> prompt> pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu 
> Serif" --csl=../../csl/modern-humanities-research-association.csl 
> --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V 
> hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
> pandoc-citeproc: ParseError {errorContexts = [], errorMessage = "Failed 
> reading: takeWhile1", errorPosition = 51:5}
> pandoc: Error running filter pandoc-citeproc
> Filter returned error status 1
>
> thanks,
>
> Frank
>
>
> On Sunday, March 20, 2016 at 9:05:37 PM UTC, Frank Colcord wrote:
>>
>> 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> 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>   To post to this group, send email to
>>>>>   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>   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
>>>>>   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>>>>   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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>> 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/c17dbe54-a14e-4ba5-ac9f-1c70e05a51a4%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> [ DoubleCommaBugv2.txt: text/plain ]
> This is a test of having the same work^[@cit, p9999] mentioned twice in the same document.
>
> If there is only one citation in the paper, then it thinks it can ignore the author altogether, except in the bibliography, so I had to include another work^[@cit2, p2] which may help.
>
> If I don't put the citations in the footnote style^[@cit, p1000] , the author names are put in the sentences.
>
> This is a test of having the same work ^[@cit2, p1000] mentioned twice in the same document.
>
> Here is the command I issued. No pdf template needed.
>
> ```````
> pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu Serif" --csl=../../csl/modern-humanities-research-association.csl --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V hyphenate=false -V links-as-notes -N -o DoubleComma.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 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/87oaa8x1qu.fsf%40jhu.edu.
For more options, visit https://groups.google.com/d/optout.


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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: Frank Colcord @ 2016-03-20 21:48 UTC (permalink / raw)
  To: Jesse Rosenthal; +Cc: pandoc-discuss


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

Hi Jesse,

Yes, it could be the csl.

When I revert back to my January csl, I don't get the same error.
But I don't get anything at all! No pdf.

I enclose my January csl.

Frank



On 20 March 2016 at 21:45, Jesse Rosenthal <jrosenthal-4GNroTWusrE@public.gmane.org> wrote:

> Sorry -- to clarify: I get the same problematic output when I run it
> with MHRA. I can't reproduce the pandoc-citeproc error you get below. Is
> it possible that you're running it from a different directory, and
> you're relative path to the csl file is breaking?
>
> Frank Colcord <fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
> > [ text/plain ]
> > Just realized one of the files I enclosed last time was incorrect.
> > I enclose the correct markdown file "DoubleCommaBugv2.txt"
> >
> > I've now updated pandoc.
> >
> > pandoc 1.16.0.2
> > Compiled with texmath 0.8.4.1, highlighting-kate 0.6.1.
> >
> > pandoc-citeproc 0.9.1.1
> >
> > Just downloaded latest version of
> > styles-distribution/modern-humanities-research-association.csl
> >
> > However, I get an error report:
> >
> > prompt> pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu
> > Serif" --csl=../../csl/modern-humanities-research-association.csl
> > --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V
> > hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
> > pandoc-citeproc: ParseError {errorContexts = [], errorMessage = "Failed
> > reading: takeWhile1", errorPosition = 51:5}
> > pandoc: Error running filter pandoc-citeproc
> > Filter returned error status 1
> >
> > thanks,
> >
> > Frank
> >
> >
> > On Sunday, March 20, 2016 at 9:05:37 PM UTC, Frank Colcord wrote:
> >>
> >> 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> 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >>>>>   To post to this group, send email to
> >>>>>   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >>>>>   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
> >>>>>   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> >>>>>   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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >>>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >>>> 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/c17dbe54-a14e-4ba5-ac9f-1c70e05a51a4%40googlegroups.com
> .
> > For more options, visit https://groups.google.com/d/optout.
> > [ DoubleCommaBugv2.txt: text/plain ]
> > This is a test of having the same work^[@cit, p9999] mentioned twice in
> the same document.
> >
> > If there is only one citation in the paper, then it thinks it can ignore
> the author altogether, except in the bibliography, so I had to include
> another work^[@cit2, p2] which may help.
> >
> > If I don't put the citations in the footnote style^[@cit, p1000] , the
> author names are put in the sentences.
> >
> > This is a test of having the same work ^[@cit2, p1000] mentioned twice
> in the same document.
> >
> > Here is the command I issued. No pdf template needed.
> >
> > ```````
> > pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu Serif"
> --csl=../../csl/modern-humanities-research-association.csl
> --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V
> hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
> > ``````````
>



-- 
frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 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/CADZiF%2BX%3DC9rThxikDjzGCvszzK1%2B1PZ550ojYYWZkDV0fcjYxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

[-- Attachment #2: modern-humanities-research-association.csl --]
[-- Type: application/octet-stream, Size: 15859 bytes --]

<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB" page-range-format="chicago">
  <info>
    <title>Modern Humanities Research Association 3rd edition (note with bibliography)</title>
    <title-short>MHRA</title-short>
    <id>http://www.zotero.org/styles/modern-humanities-research-association</id>
    <link href="http://www.zotero.org/styles/modern-humanities-research-association" rel="self"/>
    <link href="http://www.mhra.org.uk/Publications/Books/StyleGuide/download.shtml" rel="documentation"/>
    <author>
      <name>Rintze Zelle</name>
      <uri>http://twitter.com/rintzezelle</uri>
    </author>
    <contributor>
      <name>Sebastian Karcher</name>
    </contributor>
    <contributor>
      <name>Andrew Dunning</name>
      <uri>http://individual.utoronto.ca/dunning/</uri>
    </contributor>
    <category citation-format="note"/>
    <category field="generic-base"/>
    <summary>MHRA format with full notes and bibliography</summary>
    <updated>2015-12-16T02:32:01+00:00</updated>
    <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
  </info>
  <locale xml:lang="en">
    <terms>
      <term name="et-al">and others</term>
      <term name="editor" form="verb-short">ed. by</term>
      <term name="edition" form="short">edn</term>
      <term name="translator" form="verb-short">trans. by</term>
      <term name="folio">
        <single>fol.</single>
        <multiple>fols</multiple>
      </term>
    </terms>
  </locale>
  <macro name="author">
    <group delimiter=". ">
      <names variable="author">
        <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
        <label form="short" prefix=", " suffix="."/>
        <substitute>
          <names variable="editor"/>
          <names variable="translator"/>
          <text macro="title-note"/>
        </substitute>
      </names>
      <text macro="recipient"/>
    </group>
  </macro>
  <macro name="recipient">
    <group delimiter=" ">
      <choose>
        <if type="personal_communication">
          <choose>
            <if variable="genre">
              <text variable="genre" text-case="capitalize-first"/>
            </if>
            <else>
              <text term="letter" text-case="capitalize-first"/>
            </else>
          </choose>
        </if>
      </choose>
      <text macro="recipient-note"/>
    </group>
  </macro>
  <macro name="contributors-note">
    <names variable="author">
      <name and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never"/>
      <label form="short" prefix=", "/>
      <substitute>
        <text macro="title-note"/>
      </substitute>
    </names>
    <text macro="recipient-note"/>
  </macro>
  <macro name="title-note">
    <choose>
      <if variable="title" match="none">
        <text variable="genre"/>
      </if>
      <else-if type="bill book graphic legislation motion_picture report song" match="any">
        <text variable="title" text-case="title" font-style="italic"/>
        <group delimiter=" " prefix=", ">
          <text term="version"/>
          <text variable="version"/>
        </group>
      </else-if>
      <else-if type="legal_case interview" match="any">
        <text variable="title"/>
      </else-if>
      <else-if variable="reviewed-author">
        <text variable="title" font-style="italic" prefix="review of "/>
      </else-if>
      <else>
        <text variable="title" text-case="title" quotes="true"/>
      </else>
    </choose>
  </macro>
  <macro name="disambiguate">
    <choose>
      <if disambiguate="true">
        <choose>
          <if variable="title" match="none">
            <text macro="issued"/>
          </if>
          <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
            <text variable="title" font-style="italic" text-case="title" form="short"/>
          </else-if>
          <else>
            <text variable="title" quotes="true" text-case="title" form="short"/>
          </else>
        </choose>
      </if>
    </choose>
  </macro>
  <macro name="title-sort-substitute">
    <choose>
      <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
        <text variable="title" font-style="italic" text-case="title" form="short"/>
      </if>
      <else>
        <text variable="title" quotes="true" text-case="title" form="short"/>
      </else>
    </choose>
  </macro>
  <macro name="editor-translator">
    <group delimiter=", ">
      <group delimiter=" ">
        <choose>
          <if variable="container-author reviewed-author" match="any">
            <group>
              <names variable="container-author reviewed-author">
                <label form="verb-short" text-case="lowercase" suffix=" "/>
                <name and="text" delimiter=", "/>
              </names>
            </group>
          </if>
        </choose>
      </group>
      <names variable="editor translator" delimiter=", ">
        <label form="verb-short" text-case="lowercase" suffix=" "/>
        <name and="text" delimiter=", "/>
      </names>
    </group>
  </macro>
  <macro name="secondary-contributors-note">
    <choose>
      <if type="chapter paper-conference" match="none">
        <text macro="editor-translator"/>
      </if>
    </choose>
  </macro>
  <macro name="container-contributors-note">
    <choose>
      <if type="chapter paper-conference" match="any">
        <text macro="editor-translator"/>
      </if>
    </choose>
  </macro>
  <macro name="collection-title">
    <group delimiter=", ">
      <choose>
        <if type="article-journal">
          <text variable="collection-title"/>
          <text variable="collection-number"/>
        </if>
        <else>
          <text variable="collection-title" text-case="title"/>
          <text variable="collection-number"/>
        </else>
      </choose>
    </group>
  </macro>
  <macro name="locators-note">
    <choose>
      <if type="article-journal">
        <choose>
          <if variable="volume">
            <!--testing for volume because issues w/o volume number have different format-->
            <group delimiter=".">
              <text variable="volume"/>
              <text variable="issue"/>
            </group>
          </if>
        </choose>
      </if>
      <else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
        <group delimiter=", ">
          <text macro="edition-note"/>
          <group>
            <number variable="number-of-volumes" form="numeric"/>
            <text term="volume" form="short" prefix=" " plural="true"/>
          </group>
        </group>
      </else-if>
    </choose>
  </macro>
  <macro name="volume">
    <choose>
      <if type="article-journal">
        <text variable="volume"/>
      </if>
      <else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
        <group delimiter=", ">
          <text macro="edition-note"/>
          <group>
            <number variable="number-of-volumes" form="numeric"/>
            <text term="volume" form="short" prefix=" " plural="true"/>
          </group>
        </group>
      </else-if>
    </choose>
  </macro>
  <macro name="issue-note">
    <choose>
      <if type="article-journal">
        <choose>
          <if variable="volume">
            <text macro="issued" prefix=" (" suffix=")"/>
          </if>
          <else>
            <text macro="issued" prefix=", "/>
          </else>
        </choose>
      </if>
      <else-if variable="publisher-place publisher" match="any">
        <group prefix=" (" suffix=")" delimiter=", ">
          <group delimiter=" ">
            <choose>
              <if variable="title" match="none"/>
              <else-if type="thesis speech" match="any">
                <text variable="genre" prefix="unpublished "/>
              </else-if>
            </choose>
            <text macro="event"/>
          </group>
          <text macro="publisher"/>
          <text macro="issued"/>
        </group>
      </else-if>
      <else>
        <text macro="issued" prefix=", "/>
      </else>
    </choose>
  </macro>
  <macro name="locators-specific-note">
    <choose>
      <if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
        <choose>
          <if is-numeric="volume">
            <number variable="volume" form="roman" font-variant="small-caps"/>
          </if>
        </choose>
      </if>
    </choose>
  </macro>
  <macro name="container-title-note">
    <choose>
      <if type="chapter paper-conference" match="any">
        <text term="in" suffix=" "/>
      </if>
    </choose>
    <text variable="container-title" text-case="title" font-style="italic"/>
  </macro>
  <macro name="edition-note">
    <choose>
      <if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
        <choose>
          <if is-numeric="edition">
            <group delimiter=" ">
              <number variable="edition" form="ordinal"/>
              <text term="edition" form="short"/>
            </group>
          </if>
          <else>
            <text variable="edition"/>
          </else>
        </choose>
      </if>
    </choose>
  </macro>
  <macro name="recipient-note">
    <names variable="recipient" delimiter=", ">
      <label form="verb" prefix=" " suffix=" "/>
      <name and="text" delimiter=", "/>
    </names>
  </macro>
  <macro name="recipient-short">
    <names variable="recipient">
      <label form="verb" prefix=" " suffix=" "/>
      <name form="short" and="text" delimiter=", "/>
    </names>
  </macro>
  <macro name="contributors-short">
    <names variable="author">
      <name form="short" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="never"/>
      <substitute>
        <names variable="editor"/>
        <names variable="translator"/>
        <text macro="title-sort-substitute"/>
      </substitute>
    </names>
    <text macro="recipient-short"/>
  </macro>
  <macro name="locators-newspaper">
    <choose>
      <if type="article-newspaper">
        <group delimiter=", ">
          <group delimiter=" ">
            <text variable="edition"/>
            <text term="edition"/>
          </group>
          <group>
            <text term="section" suffix=" "/>
            <text variable="section"/>
          </group>
        </group>
      </if>
    </choose>
  </macro>
  <macro name="event">
    <group>
      <text term="presented at" suffix=" "/>
      <text variable="event"/>
    </group>
  </macro>
  <macro name="publisher">
    <choose>
      <if type="thesis">
        <text variable="publisher"/>
      </if>
      <else>
        <group delimiter=": ">
          <text variable="publisher-place"/>
          <text variable="publisher"/>
        </group>
      </else>
    </choose>
  </macro>
  <macro name="issued">
    <choose>
      <if type="graphic report article-newspaper article-magazine personal_communication" match="any">
        <date variable="issued">
          <date-part name="day" suffix=" "/>
          <date-part name="month" suffix=" "/>
          <date-part name="year"/>
        </date>
      </if>
      <else>
        <date variable="issued">
          <date-part name="year"/>
        </date>
      </else>
    </choose>
  </macro>
  <macro name="pages">
    <choose>
      <if type="article-journal">
        <text variable="page" prefix=", "/>
      </if>
      <else>
        <choose>
          <if variable="volume">
            <text variable="page" prefix=", "/>
          </if>
          <else>
            <label variable="page" form="short" prefix=", " suffix=" "/>
            <text variable="page"/>
          </else>
        </choose>
      </else>
    </choose>
  </macro>
  <macro name="point-locators">
    <text macro="pages"/>
    <choose>
      <if variable="page">
        <group prefix=" (" suffix=")">
          <label variable="locator" form="short" suffix=" "/>
          <text variable="locator"/>
        </group>
      </if>
      <else>
        <label variable="locator" form="short" prefix=", " suffix=" "/>
        <text variable="locator"/>
      </else>
    </choose>
  </macro>
  <macro name="point-locators-subsequent">
    <label variable="locator" form="short" prefix=", " suffix=" "/>
    <text variable="locator"/>
  </macro>
  <macro name="archive-note">
    <group delimiter=", ">
      <text variable="archive-place"/>
      <text variable="archive"/>
      <text variable="archive_location"/>
    </group>
  </macro>
  <macro name="access-note">
    <group delimiter=", ">
      <choose>
        <if type="article-journal bill chapter legal_case legislation paper-conference" match="none">
          <text macro="archive-note" prefix=", "/>
        </if>
      </choose>
    </group>
    <choose>
      <if variable="DOI">
        <text variable="DOI" prefix=" &lt;http://dx.doi.org/" suffix="&gt;"/>
      </if>
      <else>
        <choose>
          <if variable="URL">
            <text variable="URL" prefix=" &lt;" suffix="&gt;"/>
            <group prefix=" [" suffix="]">
              <text term="accessed"/>
              <date variable="accessed">
                <date-part name="day" prefix=" "/>
                <date-part name="month" prefix=" "/>
                <date-part name="year" prefix=" "/>
              </date>
            </group>
          </if>
        </choose>
      </else>
    </choose>
  </macro>
  <citation et-al-min="4" et-al-use-first="1" disambiguate-add-names="true" disambiguate-add-givenname="true">
    <layout suffix="." delimiter="; ">
      <choose>
        <if position="subsequent">
          <group delimiter=", ">
            <text macro="contributors-short"/>
            <text macro="disambiguate"/>
            <text macro="locators-specific-note"/>
          </group>
          <text macro="point-locators-subsequent"/>
        </if>
        <else>
          <group delimiter=", ">
            <text macro="contributors-note"/>
            <text macro="title-note"/>
            <text macro="secondary-contributors-note"/>
            <text macro="container-title-note"/>
            <text macro="container-contributors-note"/>
            <text macro="collection-title"/>
            <text macro="locators-note"/>
          </group>
          <text macro="issue-note"/>
          <text macro="locators-specific-note" prefix=", "/>
          <text macro="locators-newspaper" prefix=", "/>
          <text macro="point-locators"/>
          <text macro="access-note"/>
        </else>
      </choose>
    </layout>
  </citation>
  <bibliography hanging-indent="true" et-al-min="7" et-al-use-first="6" subsequent-author-substitute="&#8212;&#8212;&#8212;">
    <sort>
      <key macro="author"/>
      <key variable="title"/>
    </sort>
    <layout>
      <group delimiter=", ">
        <text macro="author"/>
        <text macro="title-note"/>
        <text macro="secondary-contributors-note"/>
        <text macro="container-title-note"/>
        <text macro="container-contributors-note"/>
        <text macro="collection-title"/>
        <text macro="volume"/>
      </group>
      <text macro="issue-note"/>
      <text macro="locators-specific-note" prefix=", "/>
      <text macro="locators-newspaper" prefix=", "/>
      <text macro="pages"/>
      <text macro="access-note"/>
    </layout>
  </bibliography>
</style>

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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: Frank Colcord @ 2016-03-20 21:50 UTC (permalink / raw)
  To: Jesse Rosenthal; +Cc: pandoc-discuss


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

Just reran and it made the pdf.

Same problem.

On 20 March 2016 at 21:48, Frank Colcord <frank-XCqNk0BTMejR7s880joybQ@public.gmane.org> wrote:

> Hi Jesse,
>
> Yes, it could be the csl.
>
> When I revert back to my January csl, I don't get the same error.
> But I don't get anything at all! No pdf.
>
> I enclose my January csl.
>
> Frank
>
>
>
> On 20 March 2016 at 21:45, Jesse Rosenthal <jrosenthal-4GNroTWusrE@public.gmane.org> wrote:
>
>> Sorry -- to clarify: I get the same problematic output when I run it
>> with MHRA. I can't reproduce the pandoc-citeproc error you get below. Is
>> it possible that you're running it from a different directory, and
>> you're relative path to the csl file is breaking?
>>
>> Frank Colcord <fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>
>> > [ text/plain ]
>> > Just realized one of the files I enclosed last time was incorrect.
>> > I enclose the correct markdown file "DoubleCommaBugv2.txt"
>> >
>> > I've now updated pandoc.
>> >
>> > pandoc 1.16.0.2
>> > Compiled with texmath 0.8.4.1, highlighting-kate 0.6.1.
>> >
>> > pandoc-citeproc 0.9.1.1
>> >
>> > Just downloaded latest version of
>> > styles-distribution/modern-humanities-research-association.csl
>> >
>> > However, I get an error report:
>> >
>> > prompt> pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu
>> > Serif" --csl=../../csl/modern-humanities-research-association.csl
>> > --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V
>> > hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
>> > pandoc-citeproc: ParseError {errorContexts = [], errorMessage = "Failed
>> > reading: takeWhile1", errorPosition = 51:5}
>> > pandoc: Error running filter pandoc-citeproc
>> > Filter returned error status 1
>> >
>> > thanks,
>> >
>> > Frank
>> >
>> >
>> > On Sunday, March 20, 2016 at 9:05:37 PM UTC, Frank Colcord wrote:
>> >>
>> >> 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>
>> 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> >>>>>   To post to this group, send email to
>> >>>>>   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> >>>>>   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
>> >>>>>   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> >>>>>   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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> >>>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> >>>> 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/c17dbe54-a14e-4ba5-ac9f-1c70e05a51a4%40googlegroups.com
>> .
>> > For more options, visit https://groups.google.com/d/optout.
>> > [ DoubleCommaBugv2.txt: text/plain ]
>> > This is a test of having the same work^[@cit, p9999] mentioned twice in
>> the same document.
>> >
>> > If there is only one citation in the paper, then it thinks it can
>> ignore the author altogether, except in the bibliography, so I had to
>> include another work^[@cit2, p2] which may help.
>> >
>> > If I don't put the citations in the footnote style^[@cit, p1000] , the
>> author names are put in the sentences.
>> >
>> > This is a test of having the same work ^[@cit2, p1000] mentioned twice
>> in the same document.
>> >
>> > Here is the command I issued. No pdf template needed.
>> >
>> > ```````
>> > pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu Serif"
>> --csl=../../csl/modern-humanities-research-association.csl
>> --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V
>> hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
>> > ``````````
>>
>
>
>
> --
> frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
> if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>



-- 
frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 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/CADZiF%2BUeP8ob2yPbCB43gbR1UN8YZX37%2BkGrPMa9%3DTNjoBJGcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

[-- Attachment #2: DoubleComma.pdf --]
[-- Type: application/pdf, Size: 34497 bytes --]

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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: Jesse Rosenthal @ 2016-03-20 22:01 UTC (permalink / raw)
  To: Frank Colcord; +Cc: pandoc-discuss

The issue, I think, is that you're manually inserting in-text citations
into footnotes, instead of using a CSL style (like chicago-fullnote-*)
that does footnotes automatically. Footnotes or not are a style-specific
decision: if you put them in by hand, you'll get odd results.

That being said, if you really need to do it that way for some reason,
you could probably get away with it by following the format for in-text
citations, like so: `^[@cit [p9999]].

Frank Colcord <frank-XCqNk0BTMejR7s880joybQ@public.gmane.org> writes:

> [ text/plain ]
> Just reran and it made the pdf.
>
> Same problem.
>
> On 20 March 2016 at 21:48, Frank Colcord <frank-XCqNk0BTMejR7s880joybQ@public.gmane.org> wrote:
>
>> Hi Jesse,
>>
>> Yes, it could be the csl.
>>
>> When I revert back to my January csl, I don't get the same error.
>> But I don't get anything at all! No pdf.
>>
>> I enclose my January csl.
>>
>> Frank
>>
>>
>>
>> On 20 March 2016 at 21:45, Jesse Rosenthal <jrosenthal-4GNroTWusrE@public.gmane.org> wrote:
>>
>>> Sorry -- to clarify: I get the same problematic output when I run it
>>> with MHRA. I can't reproduce the pandoc-citeproc error you get below. Is
>>> it possible that you're running it from a different directory, and
>>> you're relative path to the csl file is breaking?
>>>
>>> Frank Colcord <fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>>
>>> > [ text/plain ]
>>> > Just realized one of the files I enclosed last time was incorrect.
>>> > I enclose the correct markdown file "DoubleCommaBugv2.txt"
>>> >
>>> > I've now updated pandoc.
>>> >
>>> > pandoc 1.16.0.2
>>> > Compiled with texmath 0.8.4.1, highlighting-kate 0.6.1.
>>> >
>>> > pandoc-citeproc 0.9.1.1
>>> >
>>> > Just downloaded latest version of
>>> > styles-distribution/modern-humanities-research-association.csl
>>> >
>>> > However, I get an error report:
>>> >
>>> > prompt> pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu
>>> > Serif" --csl=../../csl/modern-humanities-research-association.csl
>>> > --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V
>>> > hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
>>> > pandoc-citeproc: ParseError {errorContexts = [], errorMessage = "Failed
>>> > reading: takeWhile1", errorPosition = 51:5}
>>> > pandoc: Error running filter pandoc-citeproc
>>> > Filter returned error status 1
>>> >
>>> > thanks,
>>> >
>>> > Frank
>>> >
>>> >
>>> > On Sunday, March 20, 2016 at 9:05:37 PM UTC, Frank Colcord wrote:
>>> >>
>>> >> 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>
>>> 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> >>>>>   To post to this group, send email to
>>> >>>>>   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> >>>>>   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
>>> >>>>>   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>> >>>>>   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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> >>>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> >>>> 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/c17dbe54-a14e-4ba5-ac9f-1c70e05a51a4%40googlegroups.com
>>> .
>>> > For more options, visit https://groups.google.com/d/optout.
>>> > [ DoubleCommaBugv2.txt: text/plain ]
>>> > This is a test of having the same work^[@cit, p9999] mentioned twice in
>>> the same document.
>>> >
>>> > If there is only one citation in the paper, then it thinks it can
>>> ignore the author altogether, except in the bibliography, so I had to
>>> include another work^[@cit2, p2] which may help.
>>> >
>>> > If I don't put the citations in the footnote style^[@cit, p1000] , the
>>> author names are put in the sentences.
>>> >
>>> > This is a test of having the same work ^[@cit2, p1000] mentioned twice
>>> in the same document.
>>> >
>>> > Here is the command I issued. No pdf template needed.
>>> >
>>> > ```````
>>> > pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu Serif"
>>> --csl=../../csl/modern-humanities-research-association.csl
>>> --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V
>>> hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
>>> > ``````````
>>>
>>
>>
>>
>> --
>> frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
>> if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>>
>
>
>
> -- 
> frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
> if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> [ DoubleComma.pdf: application/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 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/87io0gx0yx.fsf%40jhu.edu.
For more options, visit https://groups.google.com/d/optout.


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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: Frank Colcord @ 2016-03-20 22:40 UTC (permalink / raw)
  To: Jesse Rosenthal; +Cc: pandoc-discuss


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

Hi Jesse,

Thanks for your suggestions.

I will have to discuss with my friend writing the dissertation.

It looks as if we still have the same choice (see pdfs version 6 and 7
enclosed).

Version 7 is what led to the original bug report of double commas.

Thanks for your prompt help.

Frank


On 20 March 2016 at 22:01, Jesse Rosenthal <jrosenthal-4GNroTWusrE@public.gmane.org> wrote:

> The issue, I think, is that you're manually inserting in-text citations
> into footnotes, instead of using a CSL style (like chicago-fullnote-*)
> that does footnotes automatically. Footnotes or not are a style-specific
> decision: if you put them in by hand, you'll get odd results.
>
> That being said, if you really need to do it that way for some reason,
> you could probably get away with it by following the format for in-text
> citations, like so: `^[@cit [p9999]].
>
> Frank Colcord <frank-XCqNk0BTMejR7s880joybQ@public.gmane.org> writes:
>
> > [ text/plain ]
> > Just reran and it made the pdf.
> >
> > Same problem.
> >
> > On 20 March 2016 at 21:48, Frank Colcord <frank-XCqNk0BTMejR7s880joybQ@public.gmane.org> wrote:
> >
> >> Hi Jesse,
> >>
> >> Yes, it could be the csl.
> >>
> >> When I revert back to my January csl, I don't get the same error.
> >> But I don't get anything at all! No pdf.
> >>
> >> I enclose my January csl.
> >>
> >> Frank
> >>
> >>
> >>
> >> On 20 March 2016 at 21:45, Jesse Rosenthal <jrosenthal-4GNroTWusrE@public.gmane.org> wrote:
> >>
> >>> Sorry -- to clarify: I get the same problematic output when I run it
> >>> with MHRA. I can't reproduce the pandoc-citeproc error you get below.
> Is
> >>> it possible that you're running it from a different directory, and
> >>> you're relative path to the csl file is breaking?
> >>>
> >>> Frank Colcord <fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> >>>
> >>> > [ text/plain ]
> >>> > Just realized one of the files I enclosed last time was incorrect.
> >>> > I enclose the correct markdown file "DoubleCommaBugv2.txt"
> >>> >
> >>> > I've now updated pandoc.
> >>> >
> >>> > pandoc 1.16.0.2
> >>> > Compiled with texmath 0.8.4.1, highlighting-kate 0.6.1.
> >>> >
> >>> > pandoc-citeproc 0.9.1.1
> >>> >
> >>> > Just downloaded latest version of
> >>> > styles-distribution/modern-humanities-research-association.csl
> >>> >
> >>> > However, I get an error report:
> >>> >
> >>> > prompt> pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu
> >>> > Serif" --csl=../../csl/modern-humanities-research-association.csl
> >>> > --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V
> >>> > hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
> >>> > pandoc-citeproc: ParseError {errorContexts = [], errorMessage =
> "Failed
> >>> > reading: takeWhile1", errorPosition = 51:5}
> >>> > pandoc: Error running filter pandoc-citeproc
> >>> > Filter returned error status 1
> >>> >
> >>> > thanks,
> >>> >
> >>> > Frank
> >>> >
> >>> >
> >>> > On Sunday, March 20, 2016 at 9:05:37 PM UTC, Frank Colcord wrote:
> >>> >>
> >>> >> 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>
> >>> 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >>> >>>>>   To post to this group, send email to
> >>> >>>>>   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >>> >>>>>   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
> >>> >>>>>   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> >>> >>>>>   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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >>> >>>> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> >>> >>>> 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-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm
> .
> >>> > To view this discussion on the web visit
> >>>
> https://groups.google.com/d/msgid/pandoc-discuss/c17dbe54-a14e-4ba5-ac9f-1c70e05a51a4%40googlegroups.com
> >>> .
> >>> > For more options, visit https://groups.google.com/d/optout.
> >>> > [ DoubleCommaBugv2.txt: text/plain ]
> >>> > This is a test of having the same work^[@cit, p9999] mentioned twice
> in
> >>> the same document.
> >>> >
> >>> > If there is only one citation in the paper, then it thinks it can
> >>> ignore the author altogether, except in the bibliography, so I had to
> >>> include another work^[@cit2, p2] which may help.
> >>> >
> >>> > If I don't put the citations in the footnote style^[@cit, p1000] ,
> the
> >>> author names are put in the sentences.
> >>> >
> >>> > This is a test of having the same work ^[@cit2, p1000] mentioned
> twice
> >>> in the same document.
> >>> >
> >>> > Here is the command I issued. No pdf template needed.
> >>> >
> >>> > ```````
> >>> > pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu Serif"
> >>> --csl=../../csl/modern-humanities-research-association.csl
> >>> --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V
> >>> hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
> >>> > ``````````
> >>>
> >>
> >>
> >>
> >> --
> >> frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
> >> if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> >>
> >
> >
> >
> > --
> > frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
> > if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> > [ DoubleComma.pdf: application/pdf ]
>



-- 
frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 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/CADZiF%2BURmpBXnDXO02LDr%2BAosRfyozB7zJwnA%2BA0FPsix0aYSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

[-- Attachment #2: DoubleComma7.pdf --]
[-- Type: application/pdf, Size: 34901 bytes --]

[-- Attachment #3: DoubleComma6.pdf --]
[-- Type: application/pdf, Size: 34937 bytes --]

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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w @ 2016-03-20 23:27 UTC (permalink / raw)
  To: pandoc-discuss; +Cc: jrosenthal-4GNroTWusrE, frank-XCqNk0BTMejR7s880joybQ


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

Using the MWE below, I cannot reproduce your issue. (Not even with 
citations in footnotes `Blah^[@cit, 34-45].` -- something you’ll *really* 
want to avoid. -- `p999`, BTW, does not work either; just use `999`.)

Did you check whether your `modern-humanities-research-association.csl` is 
up to date?

~~~
pandoc -s -F pandoc-citeproc -t markdown-citations-markdown_in_html_blocks 
<< EOT

Blah [@cit, 34-45].

Blah [@cit2, 56-67].

Blah [@cit, 67-78].

Blah [@cit2, 78-89].

---
csl: modern-humanities-research-association.csl

references:
- id: cit
  type: book
  author:
  - family: Lastname
    given: Firstname
  issued:
  - year: '2016'
  title: Long title; that could be abbrev
  title-short: Abbrev
  publisher: Fictional
  publisher-place: London
  language: en-en

- id: cit2
  type: book
  author:
  - family: Surname
    given: Firstname
  issued:
  - year: '2016'
  title: Another long title; that could be short
  publisher: Fictional
  publisher-place: London
  language: en-en
...
EOT
~~~

On Sunday, 20 March 2016 22:40:41 UTC, Frank Colcord wrote:
>
> Hi Jesse,
>
> Thanks for your suggestions.
>
> I will have to discuss with my friend writing the dissertation.
>
> It looks as if we still have the same choice (see pdfs version 6 and 7 
> enclosed).
>
> Version 7 is what led to the original bug report of double commas.
>
> Thanks for your prompt help.
>
> Frank
>
>
> On 20 March 2016 at 22:01, Jesse Rosenthal <jrose...-4GNroTWusrE@public.gmane.org <javascript:>
> > wrote:
>
>> The issue, I think, is that you're manually inserting in-text citations
>> into footnotes, instead of using a CSL style (like chicago-fullnote-*)
>> that does footnotes automatically. Footnotes or not are a style-specific
>> decision: if you put them in by hand, you'll get odd results.
>>
>> That being said, if you really need to do it that way for some reason,
>> you could probably get away with it by following the format for in-text
>> citations, like so: `^[@cit [p9999]].
>>
>> Frank Colcord <fr...-XCqNk0BTMejR7s880joybQ@public.gmane.org <javascript:>> writes:
>>
>> > [ text/plain ]
>> > Just reran and it made the pdf.
>> >
>> > Same problem.
>> >
>> > On 20 March 2016 at 21:48, Frank Colcord <fr...-XCqNk0BTMejR7s880joybQ@public.gmane.org 
>> <javascript:>> wrote:
>> >
>> >> Hi Jesse,
>> >>
>> >> Yes, it could be the csl.
>> >>
>> >> When I revert back to my January csl, I don't get the same error.
>> >> But I don't get anything at all! No pdf.
>> >>
>> >> I enclose my January csl.
>> >>
>> >> Frank
>> >>
>> >>
>> >>
>> >> On 20 March 2016 at 21:45, Jesse Rosenthal <jrose...-4GNroTWusrE@public.gmane.org 
>> <javascript:>> wrote:
>> >>
>> >>> Sorry -- to clarify: I get the same problematic output when I run it
>> >>> with MHRA. I can't reproduce the pandoc-citeproc error you get below. 
>> Is
>> >>> it possible that you're running it from a different directory, and
>> >>> you're relative path to the csl file is breaking?
>> >>>
>> >>> Frank Colcord <fcol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> writes:
>> >>>
>> >>> > [ text/plain ]
>> >>> > Just realized one of the files I enclosed last time was incorrect.
>> >>> > I enclose the correct markdown file "DoubleCommaBugv2.txt"
>> >>> >
>> >>> > I've now updated pandoc.
>> >>> >
>> >>> > pandoc 1.16.0.2
>> >>> > Compiled with texmath 0.8.4.1, highlighting-kate 0.6.1.
>> >>> >
>> >>> > pandoc-citeproc 0.9.1.1
>> >>> >
>> >>> > Just downloaded latest version of
>> >>> > styles-distribution/modern-humanities-research-association.csl
>> >>> >
>> >>> > However, I get an error report:
>> >>> >
>> >>> > prompt> pandoc DoubleCommaBugv2.txt --toc --variable 
>> mainfont="DejaVu
>> >>> > Serif" --csl=../../csl/modern-humanities-research-association.csl
>> >>> > --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V
>> >>> > hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
>> >>> > pandoc-citeproc: ParseError {errorContexts = [], errorMessage = 
>> "Failed
>> >>> > reading: takeWhile1", errorPosition = 51:5}
>> >>> > pandoc: Error running filter pandoc-citeproc
>> >>> > Filter returned error status 1
>> >>> >
>> >>> > thanks,
>> >>> >
>> >>> > Frank
>> >>> >
>> >>> >
>> >>> > On Sunday, March 20, 2016 at 9:05:37 PM UTC, Frank Colcord wrote:
>> >>> >>
>> >>> >> 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>
>> >>> 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> >>> >>>>>   To post to this group, send email to
>> >>> >>>>>   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> >>> >>>>>   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
>> >>> >>>>>   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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> >>> >>>> To post to this group, send email to pandoc-...-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm
>> .
>> >>> >>>> 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-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/c17dbe54-a14e-4ba5-ac9f-1c70e05a51a4%40googlegroups.com
>> >>> .
>> >>> > For more options, visit https://groups.google.com/d/optout.
>> >>> > [ DoubleCommaBugv2.txt: text/plain ]
>> >>> > This is a test of having the same work^[@cit, p9999] mentioned 
>> twice in
>> >>> the same document.
>> >>> >
>> >>> > If there is only one citation in the paper, then it thinks it can
>> >>> ignore the author altogether, except in the bibliography, so I had to
>> >>> include another work^[@cit2, p2] which may help.
>> >>> >
>> >>> > If I don't put the citations in the footnote style^[@cit, p1000] , 
>> the
>> >>> author names are put in the sentences.
>> >>> >
>> >>> > This is a test of having the same work ^[@cit2, p1000] mentioned 
>> twice
>> >>> in the same document.
>> >>> >
>> >>> > Here is the command I issued. No pdf template needed.
>> >>> >
>> >>> > ```````
>> >>> > pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu Serif"
>> >>> --csl=../../csl/modern-humanities-research-association.csl
>> >>> --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V
>> >>> hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
>> >>> > ``````````
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> fr...-XCqNk0BTMejR7s880joybQ@public.gmane.org <javascript:>, cell: +447763116793, skype: colcord,
>> >> if you ever get no response, please send to: fcol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 
>> <javascript:>
>> >>
>> >
>> >
>> >
>> > --
>> > fr...-XCqNk0BTMejR7s880joybQ@public.gmane.org <javascript:>, cell: +447763116793, skype: colcord,
>> > if you ever get no response, please send to: fcol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 
>> <javascript:>
>> > [ DoubleComma.pdf: application/pdf ]
>>
>
>
>
> -- 
> fr...-XCqNk0BTMejR7s880joybQ@public.gmane.org <javascript:>, cell: +447763116793, skype: colcord, 
> if you ever get no response, please send to: fcol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 
> <javascript:>
>

-- 
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/37de6cc3-18c2-401a-b6cb-cc12ba048e22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: Frank Colcord @ 2016-03-21  7:35 UTC (permalink / raw)
  To: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w; +Cc: pandoc-discuss, Jesse Rosenthal


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

Dear Nick and Jesse,

Nick's suggestion works.
It looks like the problem all along is that I have citations with the
letter p before the page number. When I leave that out, everything works
out fine.

Thanks a lot for showing me how to file a minimum working example!

By the way, this works when I use the MHRA downloaded 17 Jan, but I get the
same bug with the MHRA.csl I downloaded yesterday.

[I've filed the bug.](
https://github.com/citation-style-language/styles/issues/1969)
Please let me know if I've filed it in the wrong place.


On 20 March 2016 at 23:27, <nickbart1980-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Using the MWE below, I cannot reproduce your issue. (Not even with
> citations in footnotes `Blah^[@cit, 34-45].` -- something you’ll *really*
> want to avoid. -- `p999`, BTW, does not work either; just use `999`.)
>
> Did you check whether your `modern-humanities-research-association.csl` is
> up to date?
>
> ~~~
> pandoc -s -F pandoc-citeproc -t markdown-citations-markdown_in_html_blocks
> << EOT
>
> Blah [@cit, 34-45].
>
> Blah [@cit2, 56-67].
>
> Blah [@cit, 67-78].
>
> Blah [@cit2, 78-89].
>
> ---
> csl: modern-humanities-research-association.csl
>
> references:
> - id: cit
>   type: book
>   author:
>   - family: Lastname
>     given: Firstname
>   issued:
>   - year: '2016'
>   title: Long title; that could be abbrev
>   title-short: Abbrev
>   publisher: Fictional
>   publisher-place: London
>   language: en-en
>
> - id: cit2
>   type: book
>   author:
>   - family: Surname
>     given: Firstname
>   issued:
>   - year: '2016'
>   title: Another long title; that could be short
>   publisher: Fictional
>   publisher-place: London
>   language: en-en
> ...
> EOT
> ~~~
>
> On Sunday, 20 March 2016 22:40:41 UTC, Frank Colcord wrote:
>>
>> Hi Jesse,
>>
>> Thanks for your suggestions.
>>
>> I will have to discuss with my friend writing the dissertation.
>>
>> It looks as if we still have the same choice (see pdfs version 6 and 7
>> enclosed).
>>
>> Version 7 is what led to the original bug report of double commas.
>>
>> Thanks for your prompt help.
>>
>> Frank
>>
>>
>> On 20 March 2016 at 22:01, Jesse Rosenthal <jrose...-4GNroTWusrE@public.gmane.org> wrote:
>>
>>> The issue, I think, is that you're manually inserting in-text citations
>>> into footnotes, instead of using a CSL style (like chicago-fullnote-*)
>>> that does footnotes automatically. Footnotes or not are a style-specific
>>> decision: if you put them in by hand, you'll get odd results.
>>>
>>> That being said, if you really need to do it that way for some reason,
>>> you could probably get away with it by following the format for in-text
>>> citations, like so: `^[@cit [p9999]].
>>>
>>> Frank Colcord <fr...-XCqNk0BTMejR7s880joybQ@public.gmane.org> writes:
>>>
>>> > [ text/plain ]
>>> > Just reran and it made the pdf.
>>> >
>>> > Same problem.
>>> >
>>> > On 20 March 2016 at 21:48, Frank Colcord <fr...-XCqNk0BTMejR7s880joybQ@public.gmane.org> wrote:
>>> >
>>> >> Hi Jesse,
>>> >>
>>> >> Yes, it could be the csl.
>>> >>
>>> >> When I revert back to my January csl, I don't get the same error.
>>> >> But I don't get anything at all! No pdf.
>>> >>
>>> >> I enclose my January csl.
>>> >>
>>> >> Frank
>>> >>
>>> >>
>>> >>
>>> >> On 20 March 2016 at 21:45, Jesse Rosenthal <jrose...-4GNroTWusrE@public.gmane.org> wrote:
>>> >>
>>> >>> Sorry -- to clarify: I get the same problematic output when I run it
>>> >>> with MHRA. I can't reproduce the pandoc-citeproc error you get
>>> below. Is
>>> >>> it possible that you're running it from a different directory, and
>>> >>> you're relative path to the csl file is breaking?
>>> >>>
>>> >>> Frank Colcord <fcol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>> >>>
>>> >>> > [ text/plain ]
>>> >>> > Just realized one of the files I enclosed last time was incorrect.
>>> >>> > I enclose the correct markdown file "DoubleCommaBugv2.txt"
>>> >>> >
>>> >>> > I've now updated pandoc.
>>> >>> >
>>> >>> > pandoc 1.16.0.2
>>> >>> > Compiled with texmath 0.8.4.1, highlighting-kate 0.6.1.
>>> >>> >
>>> >>> > pandoc-citeproc 0.9.1.1
>>> >>> >
>>> >>> > Just downloaded latest version of
>>> >>> > styles-distribution/modern-humanities-research-association.csl
>>> >>> >
>>> >>> > However, I get an error report:
>>> >>> >
>>> >>> > prompt> pandoc DoubleCommaBugv2.txt --toc --variable
>>> mainfont="DejaVu
>>> >>> > Serif" --csl=../../csl/modern-humanities-research-association.csl
>>> >>> > --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V
>>> >>> > hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
>>> >>> > pandoc-citeproc: ParseError {errorContexts = [], errorMessage =
>>> "Failed
>>> >>> > reading: takeWhile1", errorPosition = 51:5}
>>> >>> > pandoc: Error running filter pandoc-citeproc
>>> >>> > Filter returned error status 1
>>> >>> >
>>> >>> > thanks,
>>> >>> >
>>> >>> > Frank
>>> >>> >
>>> >>> >
>>> >>> > On Sunday, March 20, 2016 at 9:05:37 PM UTC, Frank Colcord wrote:
>>> >>> >>
>>> >>> >> 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>
>>> >>> 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> >>> >>>>>   To post to this group, send email to
>>> >>> >>>>>   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> >>> >>>>>   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
>>> >>> >>>>>   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>> >>> >>>>>   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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> >>> >>>> To post to this group, send email to
>>> pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> >>> >>>> 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> >>> > To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> >>> > To view this discussion on the web visit
>>> >>>
>>> https://groups.google.com/d/msgid/pandoc-discuss/c17dbe54-a14e-4ba5-ac9f-1c70e05a51a4%40googlegroups.com
>>> >>> .
>>> >>> > For more options, visit https://groups.google.com/d/optout.
>>> >>> > [ DoubleCommaBugv2.txt: text/plain ]
>>> >>> > This is a test of having the same work^[@cit, p9999] mentioned
>>> twice in
>>> >>> the same document.
>>> >>> >
>>> >>> > If there is only one citation in the paper, then it thinks it can
>>> >>> ignore the author altogether, except in the bibliography, so I had to
>>> >>> include another work^[@cit2, p2] which may help.
>>> >>> >
>>> >>> > If I don't put the citations in the footnote style^[@cit, p1000] ,
>>> the
>>> >>> author names are put in the sentences.
>>> >>> >
>>> >>> > This is a test of having the same work ^[@cit2, p1000] mentioned
>>> twice
>>> >>> in the same document.
>>> >>> >
>>> >>> > Here is the command I issued. No pdf template needed.
>>> >>> >
>>> >>> > ```````
>>> >>> > pandoc DoubleCommaBugv2.txt --toc --variable mainfont="DejaVu
>>> Serif"
>>> >>> --csl=../../csl/modern-humanities-research-association.csl
>>> >>> --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V
>>> >>> hyphenate=false -V links-as-notes -N -o DoubleComma.pdf
>>> >>> > ``````````
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> fr...-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
>>> >> if you ever get no response, please send to: fcol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > fr...-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
>>> > if you ever get no response, please send to: fcol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>>> > [ DoubleComma.pdf: application/pdf ]
>>>
>>
>>
>>
>> --
>> fr...-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
>> if you ever get no response, please send to: fcol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>>
>


-- 
frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 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/CADZiF%2BVUW3G_H71P8dg%2BUTJT0LRj27qzD6_vWF5Y-UwpZMt%3D6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

[-- Attachment #2: DoubleCommaBugv8.txt --]
[-- Type: text/plain, Size: 1494 bytes --]

I have amended this test document per [Nick's suggestions](https://groups.google.com/d/msg/pandoc-discuss/IBf4wGbbFhk/rawUvL42BAAJ).
Namely, I have taken out the letter p before the page number. I have also taken out the carat for the footnote marker.

This is a test of having the same work [@cit, 2-5] mentioned twice in the same document.

If there is only one citation in the paper, then it thinks it can ignore the author altogether, except in the bibliography, so I had to include another work [@cit2, 3] which may help.

Perhaps the problem is being caused by putting in the footnote manually. But I don't want to have the author's name in the main body of the text.

If I don't put the citations in the footnote style [@cit, 999], the author names are put in the sentences.

This is a test of having the same work [@cit2, 4], mentioned twice in the same document.

Here is an example^[@cit, p8] of the way I used to have it, namely with the letter p and with the carat for the footnote marker. You'll see in the footnote that the old problem is still there (double commas) if I use the old formatting. Thanks to Nick, Jesse for their help.

Here is the command I issued. No pdf template needed.

```````
pandoc DoubleCommaBugv8.txt --toc --variable mainfont="DejaVu Serif" --csl=../../csl/modern-humanities-research-association.csl --bibliography=DoubleComma.bib --chapters --latex-engine=xelatex -V hyphenate=false -V links-as-notes -N -o DoubleComma8.pdf
``````````

## Bibliography


[-- Attachment #3: DoubleComma8.pdf --]
[-- Type: application/pdf, Size: 39530 bytes --]

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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w @ 2016-03-21  9:14 UTC (permalink / raw)
  To: pandoc-discuss
  Cc: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w, jrosenthal-4GNroTWusrE,
	frank-XCqNk0BTMejR7s880joybQ


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

My best guess now: You have been downloading 
https://github.com/citation-style-language/styles/blob/master/modern-humanities-research-association.csl 
rather than 
https://raw.githubusercontent.com/citation-style-language/styles/master/modern-humanities-research-association.csl

Try the latter.

(And filing a bug report at 
https://github.com/citation-style-language/styles/issues/ 
<https://github.com/citation-style-language/styles/issues/1969> might have 
been a bit too hasty ...)

-- 
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/ac765da3-8232-431b-b8fe-09b6141fa9ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: double commas when same book ref twice
       [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 20:08                                                   ` Frank Colcord
  1 sibling, 1 reply; 22+ messages in thread
From: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w @ 2016-03-21  9:30 UTC (permalink / raw)
  To: pandoc-discuss
  Cc: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w, jrosenthal-4GNroTWusrE,
	frank-XCqNk0BTMejR7s880joybQ


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

@jgm: It might be helpful to check whether .csl files are valid and return 
a more meaningful error message if they are not.

Users might not be aware that 
https://github.com/citation-style-language/styles/blob/master/*.csl 
<https://github.com/citation-style-language/styles/blob/master/modern-humanities-research-association.csl> 
files are .html (= github landing pages) rather than valid .csl files.

-- 
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/472d654c-f723-4d57-9b08-bb4294348696%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: double commas when same book ref twice
       [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
  1 sibling, 0 replies; 22+ messages in thread
From: Frank Colcord @ 2016-03-21 10:49 UTC (permalink / raw)
  To: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w; +Cc: pandoc-discuss, Jesse Rosenthal

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

Hi Nick,
you may well be right. I didn't realize there was such a difference. I
thought if the file ended in .csl then it was a valid csl file. I think
yesterday I just googled the file name and downloaded that.
I'm at work now and away from the computer that has those files and my
browsing history. In eight hours, when I get home, I'll check again, and
download from the location you recommend. The January csl is enclosed in an
email earlier in this trail, dated "20 March 2016 at 21:48".

On 21 March 2016 at 09:30, <nickbart1980-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> @jgm: It might be helpful to check whether .csl files are valid and return
> a more meaningful error message if they are not.
>
> Users might not be aware that
> https://github.com/citation-style-language/styles/blob/master/*.csl
> <https://github.com/citation-style-language/styles/blob/master/modern-humanities-research-association.csl>
> files are .html (= github landing pages) rather than valid .csl files.
>



-- 
frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 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/CADZiF%2BVP8w2DkUDoJmPEvskSWjJp7XXo7%3Dd-L8rUezaHg6Zu%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: double commas when same book ref twice
       [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
  1 sibling, 0 replies; 22+ messages in thread
From: John MACFARLANE @ 2016-03-21 17:06 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

If you'd like, you can put up an issue requesting a better
error message.  Unfortunately the xml parser we're using
doesn't return a very useful error type, so probably the
best we can do is add a line like "The CSL file is invalid."

+++ nickbart1980-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [Mar 21 16 02:30 ]:
>   @jgm: It might be helpful to check whether .csl files are valid and
>   return a more meaningful error message if they are not.
>   Users might not be aware that [1]https://github.com/citation-
>   style-language/styles/blob/master/*.csl files are .html (= github
>   landing pages) rather than valid .csl files.
>
>   --
>   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 [2]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [3]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [4]https://groups.google.com/d/msgid/pandoc-discuss/472d654c-f723-4d57-
>   9b08-bb4294348696%40googlegroups.com.
>   For more options, visit [5]https://groups.google.com/d/optout.
>
>References
>
>   1. https://github.com/citation-style-language/styles/blob/master/modern-humanities-research-association.csl
>   2. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   4. https://groups.google.com/d/msgid/pandoc-discuss/472d654c-f723-4d57-9b08-bb4294348696-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   5. https://groups.google.com/d/optout


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

* Re: double commas when same book ref twice
       [not found]                                                 ` <ac765da3-8232-431b-b8fe-09b6141fa9ba-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2016-03-21  9:30                                                   ` nickbart1980-Re5JQEeQqe8AvxtiuMwx3w
@ 2016-03-21 20:08                                                   ` Frank Colcord
       [not found]                                                     ` <CADZiF+VQ36yHg0G_oSA41KvVC0_7UyCrW6jeWEmjBXg2r-ohPA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  1 sibling, 1 reply; 22+ messages in thread
From: Frank Colcord @ 2016-03-21 20:08 UTC (permalink / raw)
  To: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w; +Cc: pandoc-discuss, Jesse Rosenthal

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

Hi Nick,

You're right. I downloaded from

https://github.com/citation-style-language/styles-distribution/blob/master/modern-humanities-research-association.csl

I have downloaded from the link you gave me.
That csl worked with no error reported.

thanks,

Frank


On 21 March 2016 at 09:14, <nickbart1980-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> My best guess now: You have been downloading
> https://github.com/citation-style-language/styles/blob/master/modern-humanities-research-association.csl
> rather than
> https://raw.githubusercontent.com/citation-style-language/styles/master/modern-humanities-research-association.csl
>
> Try the latter.
>
> (And filing a bug report at
> https://github.com/citation-style-language/styles/issues/
> <https://github.com/citation-style-language/styles/issues/1969> might
> have been a bit too hasty ...)
>



-- 
frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 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/CADZiF%2BVQ36yHg0G_oSA41KvVC0_7UyCrW6jeWEmjBXg2r-ohPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: Frank Colcord @ 2016-03-21 21:24 UTC (permalink / raw)
  To: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w; +Cc: pandoc-discuss, Jesse Rosenthal


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

I don't know if this is connected, but when we try to have quotations
within the footnotes, we can't get the colon to come out right.

this MWE kind of shows the problem. I will also enclose the pdf.

I'm happy to put this as the beginning of a new conversation, if necessary.

thanks, Frank

MWE commandline

```````````
pandoc MWE3.txt -s -F pandoc-citeproc -o MWE3.pdf
```````````

~~~
pandoc -s -F pandoc-citeproc -t markdown-citations-markdown_in_html_blocks
<< EOT

Blah [^QuoteTest3].

[^QuoteTest3]: [@cit, 6] some notes. To be translated:

    > that citation was followed by text then a colon.

Blah [^QuoteTest4].

[^QuoteTest4]: [@cit, 7]:

    > this citation is followed directly by a colon, and doesn't show up.

Blah [^QuoteTest5].

[^QuoteTest5]: [@cit, 8] :

    > this citation is followed by a space then a colon, and shows up, but
looks wrong.


---
csl: modern-humanities-research-association.csl

references:
- id: cit
  type: book
  author:
  - family: Lastname
    given: Firstname
  issued:
  - year: '2016'
  title: Long title; that could be abbrev
  title-short: Abbrev
  publisher: Fictional
  publisher-place: London
  language: en-en

- id: cit2
  type: book
  author:
  - family: Surname
    given: Firstname
  issued:
  - year: '2016'
  title: Another long title; that could be short
  publisher: Fictional
  publisher-place: London
  language: en-en
...
EOT
~~~


On 21 March 2016 at 20:08, Frank Colcord <frank-XCqNk0BTMejR7s880joybQ@public.gmane.org> wrote:

> Hi Nick,
>
> You're right. I downloaded from
>
>
> https://github.com/citation-style-language/styles-distribution/blob/master/modern-humanities-research-association.csl
>
> I have downloaded from the link you gave me.
> That csl worked with no error reported.
>
> thanks,
>
> Frank
>
>
> On 21 March 2016 at 09:14, <nickbart1980-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>> My best guess now: You have been downloading
>> https://github.com/citation-style-language/styles/blob/master/modern-humanities-research-association.csl
>> rather than
>> https://raw.githubusercontent.com/citation-style-language/styles/master/modern-humanities-research-association.csl
>>
>> Try the latter.
>>
>> (And filing a bug report at
>> https://github.com/citation-style-language/styles/issues/
>> <https://github.com/citation-style-language/styles/issues/1969> might
>> have been a bit too hasty ...)
>>
>
>
>
> --
> frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
> if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>



-- 
frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 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/CADZiF%2BVe4ByyDDJ-1aeJPVv40cMfkBtZ4M1TH%3DasXSaeT%3DqjSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

[-- Attachment #2: MWE3.pdf --]
[-- Type: application/pdf, Size: 144924 bytes --]

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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w @ 2016-03-21 21:43 UTC (permalink / raw)
  To: pandoc-discuss
  Cc: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w, jrosenthal-4GNroTWusrE,
	frank-XCqNk0BTMejR7s880joybQ


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

Try:

[^QuoteTest4]: [@cit, 7]\:

-- 
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/1f80a1e3-0a00-4eec-9e21-67e584dddc09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: double commas when same book ref twice
       [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>
  0 siblings, 1 reply; 22+ messages in thread
From: Frank Colcord @ 2016-03-21 21:59 UTC (permalink / raw)
  To: nickbart1980-Re5JQEeQqe8AvxtiuMwx3w; +Cc: pandoc-discuss, Jesse Rosenthal

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

Yes, that works. Thanks for the lessons on pandoc.

On 21 March 2016 at 21:43, <nickbart1980-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Try:
>
> [^QuoteTest4]: [@cit, 7]\:
>
>


-- 
frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
if you ever get no response, please send to: fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 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/CADZiF%2BVKGV%3DwuOa8r6ona1BesVf12mtOrFwC8f5-x97aKu5FHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: double commas when same book ref twice
       [not found]                                                                 ` <CADZiF+VKGV=wuOa8r6ona1BesVf12mtOrFwC8f5-x97aKu5FHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2016-03-23  3:39                                                                   ` John MacFarlane
  0 siblings, 0 replies; 22+ messages in thread
From: John MacFarlane @ 2016-03-23  3:39 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Although this workaround works, I was puzzeld at first as
to why the backslash was needed here.

The reason is that footnotes can contain any kind of
block-level content, including (it seems) reference
link definitions.  So, the

    [@cit, 7]:

is being interpreted as an empty link definition.
Obviously not a very plausible interpretation, but I can
see why it is doing that.

+++ Frank Colcord [Mar 21 16 21:59 ]:
>   Yes, that works. Thanks for the lessons on pandoc.
>
>   On 21 March 2016 at 21:43, <[1]nickbart1980-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>     Try:
>     [^QuoteTest4]: [@cit, 7]\:
>
>   --
>   [2]frank-XCqNk0BTMejR7s880joybQ@public.gmane.org, cell: +447763116793, skype: colcord,
>   if you ever get no response, please send to: [3]fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 [4]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [5]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [6]https://groups.google.com/d/msgid/pandoc-discuss/CADZiF%2BVKGV%3DwuO
>   a8r6ona1BesVf12mtOrFwC8f5-x97aKu5FHA%40mail.gmail.com.
>   For more options, visit [7]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:nickbart1980-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>   2. mailto:frank-XCqNk0BTMejR7s880joybQ@public.gmane.org
>   3. mailto:fcolcord-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>   4. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   5. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   6. https://groups.google.com/d/msgid/pandoc-discuss/CADZiF+VKGV=wuOa8r6ona1BesVf12mtOrFwC8f5-x97aKu5FHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org?utm_medium=email&utm_source=footer
>   7. https://groups.google.com/d/optout


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

end of thread, other threads:[~2016-03-23  3:39 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-20 17:25 double commas when same book ref twice 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
     [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

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