From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88364 Path: news.gmane.org!not-for-mail From: Rik Newsgroups: gmane.comp.tex.context Subject: Re: Citation Sort Order Date: Thu, 07 Aug 2014 16:22:36 -0400 Message-ID: <53E3E00C.8040404@panix.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0234026985==" X-Trace: ger.gmane.org 1407442986 15397 80.91.229.3 (7 Aug 2014 20:23:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2014 20:23:06 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 07 22:23:01 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XFUDB-0000cK-If for gctc-ntg-context-518@m.gmane.org; Thu, 07 Aug 2014 22:22:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 09A75102B4 for ; Thu, 7 Aug 2014 22:22:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rhMRu+KJq92W for ; Thu, 7 Aug 2014 22:22:56 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A52971021D for ; Thu, 7 Aug 2014 22:22:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A64FE101E2 for ; Thu, 7 Aug 2014 22:22:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id L2qAjho-SaQ0 for ; Thu, 7 Aug 2014 22:22:41 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id A6D06101E1 for ; Thu, 7 Aug 2014 22:22:41 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s77KMdXj019701 for ; Thu, 7 Aug 2014 22:22:40 +0200 Original-Received: from [192.168.201.10] (cpe-67-240-55-150.nycap.res.rr.com [67.240.55.150]) by mailbackend.panix.com (Postfix) with ESMTP id 2408C2E72C for ; Thu, 7 Aug 2014 16:22:39 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=Richmond Hill; latitude=40.7005; longitude=-73.8345; http://maps.google.com/maps?q=40.7005,-73.8345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TMzUmECb - 90106dd330f0 - 20140807 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88364 Archived-At: This is a multi-part message in MIME format. --===============0234026985== Content-Type: multipart/alternative; boundary="------------010207060008010505080104" This is a multi-part message in MIME format. --------------010207060008010505080104 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 2014-08-07 13:20, Thangalin wrote: > The documentation (http://www.ntg.nl/maps/26/12.pdf) suggests that the > order of citations can be changed using "sorttype=cite". > > The example code below writes a 6 in the document. I thought by > setting the sorttype to "cite" that the bibliography order would be > determined based on the order that the "cite" macros occur in the > document. > > If I have understood correctly, then the sample document should write > a 1 in the document. > > Any idea why 6 is written instead of 1? > > Thank you. > Reverse the order of the last two entries in your bib file and rerun the example. You will no longer have 6 and will now have a significant clue about why the 6 appeared the first time. Now change the line \completepublications[criterium=all] to \placepublications[criterium=text] rerun, and examine the result. -- Rik --------------010207060008010505080104 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
On 2014-08-07 13:20, Thangalin wrote:
The documentation (http://www.ntg.nl/maps/26/12.pdf) suggests that the
order of citations can be changed using "sorttype=cite".

The example code below writes a 6 in the document. I thought by
setting the sorttype to "cite" that the bibliography order would be
determined based on the order that the "cite" macros occur in the
document.

If I have understood correctly, then the sample document should write
a 1 in the document.

Any idea why 6 is written instead of 1?

Thank you.


Reverse the order of the last two entries in your bib file and rerun the example. You will no longer have 6 and will now have a significant clue about why the 6 appeared the first time.

Now change the line
\completepublications[criterium=all]
to
\placepublications[criterium=text]
rerun, and examine the result.

--
Rik
--------------010207060008010505080104-- --===============0234026985== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0234026985==--