From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/14572 Path: news.gmane.org!not-for-mail From: Jesse Rosenthal Newsgroups: gmane.text.pandoc Subject: Re: double commas when same book ref twice Date: Sun, 20 Mar 2016 17:43:27 -0400 Message-ID: <87r3f4x1ts.fsf@jhu.edu> References: <929c0871-77ed-4637-a0bf-506d89f7a71d@googlegroups.com> <20160320201043.GA916@MacBook-Air-2.local> <5fef097f-e9c0-4366-a6b5-56edab4f7f45@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1458510217 7307 80.91.229.3 (20 Mar 2016 21:43:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2016 21:43:37 +0000 (UTC) Cc: frank-XCqNk0BTMejR7s880joybQ@public.gmane.org To: Frank Colcord , pandoc-discuss Original-X-From: pandoc-discuss+bncBDF7DMU574PBBAFTXS3QKGQEQAWVCBY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Mar 20 22:43:30 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vk0-f60.google.com ([209.85.213.60]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ahl8E-0001Zh-0y for gtp-pandoc-discuss@m.gmane.org; Sun, 20 Mar 2016 22:43:30 +0100 Original-Received: by mail-vk0-f60.google.com with SMTP id q138sf2705501vkb.0 for ; Sun, 20 Mar 2016 14:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=5Wdm7zVOW9hw+gjEgjGDRpEcauai9IXKQVCRcMKdXCU=; b=s/MgaPHTxMu49hYCOsSJkjH4Bkc3gqc1ony/4DHkKc8tKFJh/hX8UxcbzlIdKwJwp7 1PKDamNuUe97rVa/TlUC+w4Vfm+sx2gpLEEe0M6wTJ982jUfzwLPFw7AgcWuic//14Eb cY2Iu1capgM9kiexFivY3Sw/yZT6qMZQQn+amDK67KUq6far/ytIgTEr8HMybrlcD5XK xr7ri+7+f7GdCfCg+yWDDOE63NdqqJ5OxqAsCECkhPTz+g9VKeIvHT+6BNaSzu2sDAKd 7iYTrQzpKDtQXG+ItywI9maTJU8Txsgaf5MaW0wc8Qoy3FKlDWcBr6feK7fvIExkRKqD LUR X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=5Wdm7zVOW9hw+gjEgjGDRpEcauai9IXKQVCRcMKdXCU=; b=E7WeEm9vURr8o/tEm1ZMJC0HukiI10taKd1iFG8iF8e9IM0VqHIYENVZjcZvGFBOfx EPCGmQtlLIn6lb0fp6injdXkCNMw75VDTUa2Yhb8HU4EgMOpkSvP77BfaJO0RlVlLtb0 F2ZvR/5oMkhkzyD4DwCGAZhhZQ0XH2bEmyOtQjqR3DtWEqcRU/FORTDyLtosZgbuw+Xv /UR/b01vUiZgHYbC9RxzzyZ9vd9TfqsgVdbeEdRopuTZijilRcJfhD7uBD8YMpEwAP7c 9e2i8V2eQT7f8xfCfBfipzqPJUP5JXD4pKS6H6VB+eTsEWaVqxj1DnyIa3Sw Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AD7BkJIKQcNruDsa69T6HU3o+mqMwr57Rcz+MisEGN+dzbG5tvf/kH4nq+aTLcd5rj3HRw== X-Received: by 10.140.42.53 with SMTP id b50mr681107qga.18.1458510209318; Sun, 20 Mar 2016 14:43:29 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.140.82.42 with SMTP id g39ls3385296qgd.50.gmail; Sun, 20 Mar 2016 14:43:28 -0700 (PDT) X-Received: by 10.13.219.149 with SMTP id d143mr21102604ywe.2.1458510208318; Sun, 20 Mar 2016 14:43:28 -0700 (PDT) Original-Received: from smtpauth.johnshopkins.edu (smtpauth.johnshopkins.edu. [128.220.39.169]) by gmr-mx.google.com with ESMTPS id q187si1604882ywf.4.2016.03.20.14.43.28 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 20 Mar 2016 14:43:28 -0700 (PDT) Received-SPF: neutral (google.com: 128.220.39.169 is neither permitted nor denied by best guess record for domain of prvs=8807a3762=jrosenthal-4GNroTWusrE@public.gmane.org) client-ip=128.220.39.169; X-IronPort-AV: E=Sophos;i="5.24,367,1454994000"; d="scan'208";a="12277296" Original-Received: from dhcp-10-161-32-232.hwcampus.jhu.edu (HELO localhost) ([10.161.32.232]) by IronMTW6.johnshopkins.edu with ESMTP/TLS/AES128-SHA; 20 Mar 2016 17:43:28 -0400 In-Reply-To: User-Agent: Notmuch/0.21+73~gf8cc320 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu) X-Original-Sender: jrosenthal-4GNroTWusrE@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 128.220.39.169 is neither permitted nor denied by best guess record for domain of prvs=8807a3762=jrosenthal-4GNroTWusrE@public.gmane.org) smtp.mailfrom=prvs=8807a3762=jrosenthal-4GNroTWusrE@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:14572 Archived-At: 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 writes: > [ text/plain ] > Just realized one of the files I enclosed last time was incorrect.=20 > 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 =20 > styles-distribution/modern-humanities-research-association.csl > > However, I get an error report: > > prompt> pandoc DoubleCommaBugv2.txt --toc --variable mainfont=3D"DejaVu= =20 > Serif" --csl=3D../../csl/modern-humanities-research-association.csl=20 > --bibliography=3DDoubleComma.bib --chapters --latex-engine=3Dxelatex -V= =20 > hyphenate=3Dfalse -V links-as-notes -N -o DoubleComma.pdf > pandoc-citeproc: ParseError {errorContexts =3D [], errorMessage =3D "Fail= ed=20 > reading: takeWhile1", errorPosition =3D 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= =20 >>> 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" 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, s= end >>>>> 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.=20 >>>>> https://groups.google.com/d/msgid/pandoc-discuss/929c0871-77ed-4637-a= 0bf-506d89f7a71d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter >>>>> 4. https://groups.google.com/d/optout >>>>> >>>> >>>> @book{cit, >>>>> location =3D {{London}}, >>>>> title =3D {Long Title; that could be abbrev}, >>>>> shorttitle =3D {abbrev}, >>>>> timestamp =3D {2016-02-07T14:08:21Z}, >>>>> langid =3D {EN-en}, >>>>> publisher =3D {{Fictional}}, >>>>> author =3D {Lastname,Firstname}, >>>>> date =3D {2016} >>>>> } >>>>> >>>>> @book{cit2, >>>>> location =3D {{London}}, >>>>> title =3D {Another Long Title; that could be short}, >>>>> timestamp =3D {2016-02-07T14:08:21Z}, >>>>> langid =3D {EN-en}, >>>>> publisher =3D {{Fictional}}, >>>>> author =3D {Surname,Firstname}, >>>>> date =3D {2016} >>>>> } >>>>> >>>>> >>>>> >>>> >>>> >>>>> >>>>> >>>>> >>>>> >>>>> pandoc LaHarpeCh1.txt --toc --variable fontfamily=3D"DejaVu Serif"=20 >>>>> --csl=3D./csl/modern-language-association.csl =20 >>>>> --bibliography=3DHarpeorganis=C3=A9emaria.bib --template=3DMtemplateV= 3.txt=20 >>>>> --chapters --latex-engine=3Dxelatex -V hyphenate=3Dfalse -V links-as-= notes -N=20 >>>>> -o LaHarpeCh1-Feb7-4.pdf >>>>> result: >>>>> pandoc-citeproc: ParseError {errorContexts =3D [], errorMessage =3D "= Failed=20 >>>>> reading: takeWhile1", errorPosition =3D 50:5} >>>>> pandoc: Error running filter pandoc-citeproc >>>>> Filter returned error status 1 >>>>> >>>>> >>>>> pandoc LaHarpeCh1.txt --toc --variable fontfamily=3D"DejaVu Serif"=20 >>>>> --csl=3D./csl/modern-humanities-research-association.csl =20 >>>>> --bibliography=3DHarpeorganis=C3=A9emaria.bib --template=3DMtemplateV= 3.txt=20 >>>>> --chapters --latex-engine=3Dxelatex -V hyphenate=3Dfalse -V links-as-= notes -N=20 >>>>> -o LaHarpeCh1-Feb7-4.pdf >>>>> result: ok >>>>> >>>>> pandoc LaHarpeCh1.txt --toc --variable fontfamily=3D"DejaVu Serif"=20 >>>>> --csl=3D./csl/chicago-fullnote-bibliography-no-ibid.csl =20 >>>>> --bibliography=3DHarpeorganis=C3=A9emaria.bib --template=3DMtemplateV= 3.txt=20 >>>>> --chapters --latex-engine=3Dxelatex -V hyphenate=3Dfalse -V links-as-= notes -N=20 >>>>> -o LaHarpeCh1-Feb7-5.pdf >>>>> result: >>>>> pandoc-citeproc: ParseError {errorContexts =3D [], errorMessage =3D "= Failed=20 >>>>> reading: takeWhile1", errorPosition =3D 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=3D"DejaV= u=20 >>>>> Serif" --csl=3D./csl/modern-humanities-research-association.csl =20 >>>>> --bibliography=3DHarpeorganis=C3=A9emaria.bib --template=3DMtemplateV= 3.txt=20 >>>>> --chapters --latex-engine=3Dxelatex -V hyphenate=3Dfalse -V links-as-= notes -N=20 >>>>> -o LaHarpeCh1-Feb7-4a.pdf >>>>> result: ok >>>>> >>>>> pandoc LaHarpeCh1.txt --toc --template=3DMtemplateQuote.txt=20 >>>>> --bibliography=3DHarpeorganis=C3=A9emaria.bib --chapters --latex-engi= ne=3Dxelatex -V=20 >>>>> links-as-notes -N -o LaHarpeCh1-fc9.pdf >>>>> >>>>> >>>>> 15. 17 Jan 2016: >>>>> >>>>> pandoc LaHarpeCh1-fc-Jan1.txt --toc --variable mainfont=3D"DejaVu Ser= if"=20 >>>>> --csl=3D./csl/modern-humanities-research-association-author-date.csl = =20 >>>>> --bibliography=3DHarpeorganis=C3=A9emaria.bib --template=3DMtemplateV= 3.txt=20 >>>>> --chapters --latex-engine=3Dxelatex -V links-as-notes -N -o=20 >>>>> LaHarpeCh1-fc-Jan18-2.pdf >>>>> >>>>> pandoc LaHarpeCh1.txt --toc --variable mainfont=3D"DejaVu Serif"=20 >>>>> --csl=3D./csl/modern-humanities-research-association-author-date.csl = =20 >>>>> --bibliography=3DHarpeorganis=C3=A9emaria.bib --template=3DMtemplateV= 3.txt=20 >>>>> --chapters --latex-engine=3Dxelatex -V links-as-notes -N -o=20 >>>>> LaHarpeCh1-fc-Jan18-3.pdf >>>>> >>>>> I realized that the csl files might be out of date. They were valid O= ct=20 >>>>> 2015. I've just downloaded Dec 2015. >>>>> >>>>> 16: 17 Jan 2016: >>>>> >>>>> pandoc LaHarpeCh1.txt --toc --variable mainfont=3D"DejaVu Serif"=20 >>>>> --csl=3D./csl/modern-humanities-research-association.csl =20 >>>>> --bibliography=3DHarpeorganis=C3=A9emaria-fc.bib --template=3DMtempla= teV3.txt=20 >>>>> --chapters --latex-engine=3Dxelatex -V links-as-notes -N -o=20 >>>>> LaHarpeCh1-fc-Jan18-4.pdf >>>>> >>>>> pandoc LaHarpeCh1.txt --toc --variable mainfont=3D"DejaVu Serif"=20 >>>>> --csl=3D./csl/modern-humanities-research-association-author-date.csl = =20 >>>>> --bibliography=3DHarpeorganis=C3=A9emaria.bib --template=3DMtemplateV= 3.txt=20 >>>>> --chapters --latex-engine=3Dxelatex -V links-as-notes -N -o=20 >>>>> LaHarpeCh1-fc-Jan18-5.pdf >>>>> >>>>> The new versions of the csl don't sort out the space and comma issues= .=20 >>>>> So, the author date still looks like the best solution for now. >>>>> >>>>> cd Dropbox/LaHarpeOrganisee >>>>> pandoc LaHarpeCh1.txt --toc --variable mainfont=3D"DejaVu Serif"=20 >>>>> --csl=3D./csl/modern-humanities-research-association-author-date.csl = =20 >>>>> --bibliography=3DHarpeorganis=C3=A9emaria.bib --template=3DMtemplateV= 3.txt=20 >>>>> --chapters --latex-engine=3Dxelatex -V hyphenate=3Dfalse -V links-as-= notes -N=20 >>>>> -o LaHarpeCh1-fc-Jan18-6.pdf >>>>> >>>>> cd Dropbox/LaHarpeOrganisee >>>>> pandoc LaHarpeCh1.txt --toc --variable mainfont=3D"DejaVu Serif"=20 >>>>> --csl=3D./csl/modern-humanities-research-association.csl =20 >>>>> --bibliography=3DHarpeorganis=C3=A9emaria.bib --template=3DMtemplateV= 3.txt=20 >>>>> --chapters --latex-engine=3Dxelatex -V hyphenate=3Dfalse -V links-as-= notes -N=20 >>>>> -o LaHarpeCh1-Feb7-1.pdf >>>>> >>>>> >>>>> ---------------------------------------------- >>>>> blanks in second use of citation >>>>> ---------------------------------------------- >>>>> >>>>> Maria: blanks I don=E2=80=99t know about but there is also an extra c= omma, as=20 >>>>> if the forename is missing from the ref. eg. =E2=80=9CBarthel, , Titl= e of book..=E2=80=9D >>>>> >>>>> 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=20 >>>>> 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.= =20 >>>>> 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 figu= re=20 >>>>> out the right citation style and trouble shoot from there. >>>>> >>>>> Maria: remove , it the same issue as above. >>>>> >>>>> >>>>> >>>> --=20 >>>> You received this message because you are subscribed to a topic in the= =20 >>>> Google Groups "pandoc-discuss" group. >>>> To unsubscribe from this topic, visit=20 >>>> https://groups.google.com/d/topic/pandoc-discuss/IBf4wGbbFhk/unsubscri= be >>>> . >>>> To unsubscribe from this group and all its topics, send an email to=20 >>>> 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=20 >>>> https://groups.google.com/d/msgid/pandoc-discuss/20160320201043.GA916%= 40MacBook-Air-2.local >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> > > --=20 > 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/msgi= d/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 t= he 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 anot= her work^[@cit2, p2] which may help. > > If I don't put the citations in the footnote style^[@cit, p1000] , the au= thor 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=3D"DejaVu Serif" --= csl=3D../../csl/modern-humanities-research-association.csl --bibliography= =3DDoubleComma.bib --chapters --latex-engine=3Dxelatex -V hyphenate=3Dfalse= -V links-as-notes -N -o DoubleComma.pdf > `````````` --=20 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 e= mail 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.