From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68306 Path: news.gmane.org!not-for-mail From: seasoul Newsgroups: gmane.comp.tex.context Subject: Re: =?utf-8?q?=5BNTG-conte=E2=80=8Bxt=5D_How_to_retreiv?= =?utf-8?q?e_the_bibentry_number_and_use_it_somewhere=3F?= Date: Mon, 9 May 2011 21:46:19 +0800 Message-ID: References: <842CC0CB-07ED-434B-BAF3-630524FB751E@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1465008729==" X-Trace: dough.gmane.org 1304948809 28339 80.91.229.12 (9 May 2011 13:46:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 May 2011 13:46:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 09 15:46:44 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QJQnM-0008Os-Or for gctc-ntg-context-518@m.gmane.org; Mon, 09 May 2011 15:46:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C251CACAF; Mon, 9 May 2011 15:46:39 +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 8knUdMH-TiPC; Mon, 9 May 2011 15:46:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9EBEFCACBF; Mon, 9 May 2011 15:46:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BBD15CACBF for ; Mon, 9 May 2011 15:46:35 +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 JgsMrRZ07Ysn for ; Mon, 9 May 2011 15:46:24 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 7834DCACAF for ; Mon, 9 May 2011 15:46:24 +0200 (CEST) Original-Received: from mail-yw0-f41.google.com (mail-yw0-f41.google.com [209.85.213.41]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p49DkKhv006737 for ; Mon, 9 May 2011 15:46:20 +0200 Original-Received: by ywa1 with SMTP id 1so2471429ywa.14 for ; Mon, 09 May 2011 06:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=4zH1PgEuByOZyah8aq8lFPVwEmsnZkG8+zDV9xMqsP0=; b=Q49ouDTZ3G+kDxgoi/1Dpy7KjhQi8PcU/0NwERR5cV812ne31NF4McXYynEU38Haur SgXkbHlyJAsYxNNDD6EjS2fDP1IiprTAzGGlxX0d3KGCeFv0GqyWgJlPHVbRlYSS2isc vtjSDULkoPSGzWJXkPVYZRuMUNwXA05nZfl5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Nuijwq7QqMBNMZ1trHgTiOq1V0sUo+hiyUsIUc2So6YXo5A/Kar82VtJ++dYHvZadj 9DXo/PEQo3H1NvKrANqOFLjEGwB/YPrhfRiMIMCtml8SjRsN3TnpI5pkYZeRw7AH9Ku2 +Q7KEupz4YqrNQL/bMd4GyUxAkVwPoib26gf4= Original-Received: by 10.236.146.68 with SMTP id q44mr7602642yhj.185.1304948779398; Mon, 09 May 2011 06:46:19 -0700 (PDT) Original-Received: by 10.236.103.34 with HTTP; Mon, 9 May 2011 06:46:19 -0700 (PDT) In-Reply-To: <842CC0CB-07ED-434B-BAF3-630524FB751E@uni-bonn.de> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.213.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cEFpKk9E - f2e9b10316cc - 20110509 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:68306 Archived-At: --===============1465008729== Content-Type: multipart/alternative; boundary=485b397dcce172376804a2d81090 --485b397dcce172376804a2d81090 Content-Type: text/plain; charset=ISO-8859-1 Thanks. Take the sample.bib in the wiki as the database file. "hh2010b" is expected to be the third reference, but because it is included in the figure caption, and the figure caption will be listed in the figure list at the beginning of the file, "hh2010b" becomes the first reference. How to make it the third reference? The resulting list of figure should be "The caption of this figure includes the citation, but this citation sequence is expected to be the same as in the paragraph[3]" instead of "The caption of this figure includes the citation, but this citation sequence is expected to be the same as in the paragraph[1]" \usemodule[bib] \setupbibtex[database=sample] %sample.bib in the wiki \setuppublications[sorttype=cite] \setuppublications[alternative=num,criterium=cite] \setuppublications[numbering=yes] % Show reference numbers in the generated list. \starttext \startfrontmatter % List of figures \title{List of Figures} \writetolist[Title] {} {List of Figures} \writebetweenlist [Title] {\blank} \placelist[figure][criterium=all] \stopfrontmatter \startbodymatter This is the first place for citation\cite[hh2010]. This is the second place for citation\cite[hh2010a]. This is the third place for citation\cite[hh2010b]. This is the fourth place for citation\cite[Eijkhout1991]. \placefigure[][fig:sample] {The caption of this figure includes the citation, but this citation sequence is expected to be the same as in the paragraph\cite[hh2010b].} {\framed{\tfd figure caption with citation}} \stopbodymatter \startbackmatter \placepublications[criterium=text] \stopbackmatter \stoptext Many thanks. On Mon, May 9, 2011 at 8:24 PM, Thomas A. Schmitz < thomas.schmitz@uni-bonn.de> wrote: > > On May 9, 2011, at 11:47 AM, seasoul wrote: > > > Hi, I sorted the reference by the squence they appear in the text. I want > to retreive a bibentry number, but use it at other places. > > I try to use \onlinecite, this number is the same as \cite[xxx]. Its > number will become smaller if I put it before where I cite it. > > Can I get the absolute number of the bibentry, which means, this number > will not change when I use it somewhere? > > > Sorry, I don't have a clue what it is you're asking for. Please provide an > example. > > Thomas > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > -- Yours Sincerely Ba Te --485b397dcce172376804a2d81090 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks. Take the sample.bib in the wiki as the database file. "hh= 2010b" is expected to be the third reference, but because it is includ= ed in the figure caption, and the figure caption will be listed in the figu= re list at the beginning of the file, "hh2010b" becomes the first= reference. How to make it the third reference? The resulting list of figur= e should be
=A0
"The caption of this figure includes the citation, but this citat= ion sequence is expected to be the same as in the paragraph[3]"
=A0
instead of
=A0
"The caption of this figure includes the citation, but this citat= ion sequence is expected to be the same as in the paragraph[1]"
<= /div>
=A0
=A0
=A0
=A0
\usemodule[bib]

\setupbibte= x[database=3Dsample]=A0=A0=A0 %sample.bib in the wiki

\setuppubli= cations[sorttype=3Dcite]

\setuppubli= cations[alternative=3Dnum,criterium=3Dcite]

\setuppubli= cations[numbering=3Dyes] % Show reference numbers in the generated list.

=A0
\starttex= t

\startfront= matter=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 % List of figures

\title{List= of Figures}

\writetolis= t[Title] {} {List of Figures}

\writebetwe= enlist [Title] {\blank}

\placelist[= figure][criterium=3Dall]

\stopfron= tmatter
=A0

\startbodym= atter

This is the= first place for citation\cite[hh2010].=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=

This is the= second place for citation\cite[hh2010a].

This is the= third place for citation\cite[hh2010b].

This is the= fourth place for citation\cite[Eijkhout1991].

\placefigur= e[][fig:sample]

{The captio= n of this figure includes the citation, but this citation sequence is expec= ted to be the same as in the paragraph\cite[hh2010b].}

{\framed{\t= fd figure caption with citation}}

\stopbody= matter
=A0

\startbackm= atter

\placepubli= cations[criterium=3Dtext]

\stopbackma= tter

\stoptext=
=A0
Many than= ks.

On Mon, May 9, 2011 at 8:24 PM, Thomas A. Schmit= z <thoma= s.schmitz@uni-bonn.de> wrote:

On May 9, 2011, at 11:47 AM, seasoul wrote:

&g= t; Hi, I sorted the reference by the squence they appear in the text. I wan= t to retreive a bibentry number, but use it at other places.
> =A0I t= ry to use \onlinecite, this number is the same as \cite[xxx]. Its number wi= ll become smaller if I put it before where I cite it.
> Can I get the absolute number of the bibentry, which means, this numbe= r will not change when I use it somewhere?
>
Sorry, I = don't have a clue what it is you're asking for. Please provide an e= xample.

Thomas
_____________________________________________________________= ______________________
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/listin= fo/ntg-context
webpage =A0: http:/= /www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/pr= ojects/contextrev/
wiki =A0 =A0 : http= ://contextgarden.net
_______________________________________________= ____________________________________



--
Yours Sincerely
Ba Te
--485b397dcce172376804a2d81090-- --===============1465008729== 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 ___________________________________________________________________________________ --===============1465008729==--