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

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