From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43047 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Two bibliography problems Date: Sun, 10 Aug 2008 11:08:35 +0200 Message-ID: <489EB013.3020209@elvenkind.com> References: <02F19FE6-61AF-461B-860F-93322543DA88@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080405010808080802070102" X-Trace: ger.gmane.org 1218359424 18161 80.91.229.12 (10 Aug 2008 09:10:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Aug 2008 09:10:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 10 11:11:15 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KS6xF-0006h6-OM for gctc-ntg-context-518@m.gmane.org; Sun, 10 Aug 2008 11:11:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 169871FDC6; Sun, 10 Aug 2008 11:10:16 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17903-01-2; Sun, 10 Aug 2008 11:09:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 688991FC36; Sun, 10 Aug 2008 11:09:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C5CB81FC36 for ; Sun, 10 Aug 2008 11:09:17 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17046-01-7 for ; Sun, 10 Aug 2008 11:08:41 +0200 (CEST) Original-Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by ronja.ntg.nl (Postfix) with ESMTP id 38F2E1FB7F for ; Sun, 10 Aug 2008 11:08:41 +0200 (CEST) Original-Received: from [192.168.178.20] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id m7A98Z8X041837 for ; Sun, 10 Aug 2008 11:08:40 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 1.5.0.10 (X11/20070305) In-Reply-To: <02F19FE6-61AF-461B-860F-93322543DA88@gmail.com> X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43047 Archived-At: This is a multi-part message in MIME format. --------------080405010808080802070102 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Michael Green wrote: > > The first problem, with the two periods after a book title, has been > with me since at least last year. I can reproduce it with the following: > > [A] ConTeXt version. > > ConTeXt ver: 2008.08.05 18:47 MKIV fmt: 2008.8.6 int: english/english Ah. This is using an experimental version of the bib module. I uploaded a new version of the module for testing two months ago, after reports that the original bibl-apa was not quite following the apa guidelines. There has been a lack of feedback up until now, so be careful, there may well be more problems. Meanwhile, you could try the attached bibl-apa.tex instead. Best wishes, Taco --------------080405010808080802070102 Content-Type: text/x-tex; name="bibl-apa.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bibl-apa.tex" %D \module %D [ file=bibl-apa, %D version=2008.06.09, %D title=APA bibliography style, %D subtitle=Publications, %D author={Taco Hoekwater}, %D date=\currentdate, %D copyright={Public Domain}] %C %C Donated to the public domain. Use at your own risk \unprotect \setupcite [author,year] [\c!andtext={ and }, \c!otherstext={ et al.}, \c!pubsep={, }, \c!lastpubsep={ and }, \c!compress=\v!no, \c!inbetween={ }, \c!left={(}, \c!right={)}] \setupcite [authoryear] [\c!andtext={ and }, \c!otherstext={ et al.}, \c!pubsep={, }, \c!lastpubsep={ and }, \c!compress=\v!yes, \c!inbetween={ }, \c!left={(}, \c!right={)}] \setupcite [authoryears] [\c!andtext={ and }, \c!otherstext={ et al.}, \c!pubsep={, }, \c!lastpubsep={ and }, \c!compress=\v!yes, \c!inbetween={, }, \c!left={(}, \c!right={)}] \setupcite [key,serial,authornum,page,short,type,doi,url] [\c!andtext={ and }, \c!otherstext={ et al.}, \c!pubsep={, }, \c!lastpubsep={ and }, \c!compress=\v!no, \c!inbetween={ }, \c!left={[}, \c!right={]}] \setupcite [num] [\c!andtext={ and }, \c!otherstext={ et al.}, \c!pubsep={, }, \c!lastpubsep={ and }, \c!compress=\v!yes, \c!inbetween={--}, \c!left={[}, \c!right={]}] \setuppublications[% \c!sorttype=, \c!criterium=, \c!refcommand=authoryears, \c!numbering=\v!no, \c!autohang=\v!no] \setuppublicationlist [\c!width=24pt, \c!artauthor=\invertedshortauthor, \c!editor=\invertedshortauthor, \c!author=\invertedshortauthor, \c!namesep={, }, \c!lastnamesep={ and }, \c!finalnamesep={ and }, \c!firstnamesep={, }, \c!juniorsep={ }, \c!vonsep={ }, \c!surnamesep={, }, \c!authoretallimit=5, \c!editoretallimit=5, \c!artauthoretallimit=5, \c!authoretaldisplay=5, \c!editoretaldisplay=5, \c!artauthoretaldisplay=5, \c!authoretaltext={ et al.}, \c!editoretaltext={ et al.}, \c!artauthoretaltext={ et al.}, ] \def\maybeyear#1{#1} \def\etalchar#1{#1} %D \macros{insertchapter,insertpublisher} %D Some shortcuts. % ((#1(type\ |)chapter#2)|#3) \def\insertchap#1#2#3% {\insertchapter {#1\insertbibtype{}{\ }{chapter\ }}{#2}% {#3}} % #1city, country: pubname#2 % #1country: pubname#2 % #1pubname#2 % #1city, country#2 % #3 \def\insertpublisher#1#2#3% {\insertpubname {\insertcity {#1} {\insertcountry{, }{}{}: }% {#1\insertcountry{}{: }{}}}% {#2}% {\insertcity {#1} {\insertcountry{, }{}{#2}}% {\insertcountry{#1}{#2}{#3}}}% } \def\insertorg#1#2#3% {\insertorganization {\insertcity {#1} {\insertcountry{, }{}{#2}: }% {\insertcountry{}{: }{#2}}}% {}% {\insertcity {#1} {\insertcountry{, }{}{#2}}% {\insertcountry{}{#2}{#3}}}% } \setuppublicationlayout[article]{% \insertartauthors{}{ }{\insertthekey{}{ }{}}% \insertpubyear{(}{). }{\unskip.}% \insertarttitle{\bgroup }{\egroup. }{}% \insertjournal{\bgroup \it}{\egroup} {\insertcrossref{In }{}{}}% \insertvolume {\bgroup \it, } {\insertissue{\egroup\/(}{)}{}\insertpages{, }{.}{.}} {\insertpages{, pp. }{.}{.}}% \insertnote{ }{.}{}% \insertcomment{}{.}{}% } \newif\ifeditedbook \setuppublicationlayout[book]{% \insertauthors{}{ }{\inserteditors{}{, editor% \ifnum\getvalue{editor@num}> 1 s\fi \ \global\editedbooktrue }{\insertthekey{}{. }{}}}% \insertpubyear{(}{). }{\unskip.}% \inserttitle {\bgroup\it }% {\/\egroup \ifeditedbook \global\editedbookfalse \insertvolume { Number~}% {\insertseries { in~\bgroup}% {\egroup. }% {\insertcrossref{ in~}{}{. }}}% {\insertseries{ }{.}{.}}% \else \insertcrossref {\insertchap{, }{}{}% \insertpages{, pages }{. }{. }% \insertvolume{Volume~}{ of~}{}% }% {}% {\insertvolume {, volume~}% {\insertseries { of~\bgroup\it}% {\egroup} {}} {}% \insertchap{, }{}{}% \insertpages{, pages }{.}{.}% }% \fi}% {}% \insertedition{ }{ edition}{}% \insertpublisher{ }{.}{.}% \insertpages{ }{p. }{ }% \insertnote{}{.}{}% } \setuppublicationlayout[inbook]{% \insertauthors{}{ }{\inserteditors{}{, editor% \ifnum\getvalue{editor@num}> 1 s\fi \ \global\editedbooktrue }{\insertthekey{}{. }{}}}% \insertpubyear{(}{). }{\unskip.}% \inserttitle {\bgroup\it }% {\/\egroup \ifeditedbook \global\editedbookfalse \insertvolume { number~}% {\insertseries { in~\bgroup}% {\egroup. }% {\insertcrossref{ in~}{}{.}}}% {\insertseries{ }{.}{}}% \else \insertcrossref {\insertchap{, }{}{}% \insertpages{, pages }{. }{. }% \insertvolume{Volume~}{ of~}{}% }% {}% {\insertvolume {, volume~}% {\insertseries { of~\bgroup\it}% {\egroup} {}} {}% \insertchap{, }{}{}% \insertpages{, pages }{.}{}% }% \fi}% { }% \insertedition{ }{ edition.}{}% \insertpublisher{ }{.}{.}% \insertnote{ }{.}{}% } \setuppublicationlayout[booklet]{% \insertauthors{}{ }{\insertthekey{}{. }{}}% \insertpubyear{(}{). }{}% \inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}% \insertedition{ }{ edition.}{}% \insertpublisher{ }{.}{.}% \insertpages{}{p. }{}% \insertnote{ }{.}{}% } \setuppublicationlayout[manual]{% \insertauthors{}{ }{\insertthekey{}{. }{}}% \insertpubyear{(}{). }{}% \inserttitle{\bgroup \it }{\/\egroup \insertseries{ (}{)}{}. }{}% \insertedition{ }{ edition.}{}% \insertorg{ }{.}{.}% \insertpages{}{p. }{}% \insertnote{ }{.}{}% } \setuppublicationlayout[incollection]{% \insertartauthors{}{ }{\insertthekey{}{. }{}}% \insertpubyear{(}{). }{}% \insertarttitle{\bgroup }{\egroup. }{}% \inserttitle {In \inserteditors{}% {, editor\ifnum\getvalue{editor@num}> 1 s\fi, }% {}% \bgroup\it}% {\egroup \insertseries {\insertvolume{, number }{~in }{ }}% {}% {}% \insertchap{\unskip, }{ }{ }% \insertpages{\unskip, pages~}{. }{\unskip. }% \insertedition{ }{ edition}{}% \insertpublisher{. }{.}{.}% }% {In \insertcrossref{}{}{}% \insertchap{\unskip, }{ }{ }% \insertpages{\unskip, pages~}{. }{\unskip. }% }% \insertnote{ }{.}{}% } \setuppublicationlayout[inproceedings]{% \insertauthors{}{ }{}% \insertpubyear{(}{). }{}% \insertarttitle{\bgroup }{\egroup. }{}%% \inserttitle {In \inserteditors{}% {, editor\ifnum\getvalue{editor@num}> 1 s\fi, }% {}% \bgroup\it}% {\egroup \insertseries {\insertvolume{, number }{~in }{ }}% {}% {}% \insertchap{\unskip, }{ }{ }% \insertpages{, pages~}{}{}% \insertorg{. }{.}{.}% }% {In \insertcrossref{}{}{}% \insertchap{\unskip, }{ }{ }% \insertpages{\unskip, pages~}{. }{\unskip. }% }% \insertnote{ }{.}{}% } \setuppublicationlayout[proceedings]{% \inserteditors{}{, editor% \ifnum\getvalue{editor@num}> 1 s\fi \ \global\editedbooktrue }{\insertthekey{}{ }{}}% \insertpubyear{(}{). }{}% \inserttitle {\bgroup\it}% {\egroup \insertseries {\insertvolume{, number }{~in }{ }}% {}% {}% \insertchap{\unskip, }{ }{ }% \insertpages{, pages~}{}{}% \insertorg{. }{.}{.}% }% {}% \insertnote{ }{.}{}% } \setuppublicationlayout[mastersthesis]{% \insertauthors{}{ }{}% \insertpubyear{(}{). }{}% \inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}% \insertbibtype{}{, }{Master's thesis, }% \insertpublisher{ }{.}{.}% \insertpages{ }{p. }{}% \insertnote{ }{.}{}% } \setuppublicationlayout[phdthesis]{% \insertauthors{}{ }{}% \insertpubyear{(}{). }{}% \inserttitle{\bgroup\it }{\egroup \insertseries{ (}{)}{}. }{}% \insertbibtype{}{, }{PhD thesis,}% \insertpublisher{ }{.}{.}% \insertpages{ }{ p. }{}% \insertnote{ }{.}{}% } \setuppublicationlayout[misc]{% \insertauthors{}{ }{\insertthekey{}{. }{}}% \insertpubyear{(}{). }{}% \inserttitle{\bgroup }{\egroup \insertseries{ (}{)}. }{}% \insertpublisher{ }{.}{.}% \insertpages{ }{p. }{}% \insertnote{ }{.}{}% } \setuppublicationlayout[techreport]{% \insertauthors{}{ }{}% \insertpubyear{(}{). }{}% \inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}% \insertbibtype{}{\insertvolume{ }{, }{, }}{Technical Report}% \insertpublisher{ }{.}{.}% \insertpages{ }{p. }{}% \insertnote{ }{.}{}% } \setuppublicationlayout[unpublished]{% \insertauthors{}{ }{}% \insertpubyear{(}{). }{}% \inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}% \insertpublisher{ }{.}{.}% \insertpages{ }{p. }{}% \insertbibtype{(}{)}{}% \insertnote{ }{.}{}% } \protect --------------080405010808080802070102 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --------------080405010808080802070102--