From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52482 Path: news.gmane.org!not-for-mail From: Derek CORDEIRO Newsgroups: gmane.comp.tex.context Subject: Re: bib module: changing citation style locally Date: Fri, 21 Aug 2009 19:34:05 +0530 Message-ID: <33c64e670908210704t32b0f30esfbc8baf61ce172d1@mail.gmail.com> References: <6faad9f00908210648t3f245390h66069c826ac73c2b@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0240146722==" X-Trace: ger.gmane.org 1250863471 652 80.91.229.12 (21 Aug 2009 14:04:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2009 14:04:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 21 16:04:19 2009 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.50) id 1MeUj4-0008BF-VB for gctc-ntg-context-518@m.gmane.org; Fri, 21 Aug 2009 16:04:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D2483C9AC1; Fri, 21 Aug 2009 16:04:15 +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 ZAWyCxMGYOn1; Fri, 21 Aug 2009 16:04:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7ACE4C9A9B; Fri, 21 Aug 2009 16:04:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79FAFC9A9B for ; Fri, 21 Aug 2009 16:04:10 +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 iegvlPXrFweF for ; Fri, 21 Aug 2009 16:04:06 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by balder.ntg.nl (Postfix) with ESMTP id 13D06C9A92 for ; Fri, 21 Aug 2009 16:04:06 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id d23so216252fga.8 for ; Fri, 21 Aug 2009 07:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=O3GVe+4Km3PRTMAUswktbi19rE3Fw7jto8C910wY2Fs=; b=VZbcSOCka2HhttChBld+gYKqxgz3XoVzOZVEQNdcE52H5UnEnE2hIBMebmi5LnYEpm vPKHsKmaBzp+G6xgPnFmvXqJgqNnjkh0ydDDNYRVV05S8dIFF5GVUMhBorGmQe4XzuN8 xU18LdqbPJrkp73MsZh9PTDWGtA/1RqQB8L/Y= 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=LcWTyK5KhAMoNrw0GEOvlq1hNT39nU5c65A62LRImMnJWog90Pcwe5KItXk4h7glF9 0m4WV1UvhikuxtZwnJ5R4cddu+YQcRFXQr73eagBlmXzCU/WSUO0t1bZ9XkYQ9Z8kadF TAbKmykLw5VdYexkDsIplwh2sLPXldl0FpYho= Original-Received: by 10.86.12.2 with SMTP id 2mr929315fgl.12.1250863445659; Fri, 21 Aug 2009 07:04:05 -0700 (PDT) In-Reply-To: <6faad9f00908210648t3f245390h66069c826ac73c2b@mail.gmail.com> 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:52482 Archived-At: --===============0240146722== Content-Type: multipart/alternative; boundary=00c09ffb56b95754c70471a7575d --00c09ffb56b95754c70471a7575d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Try taking the \startpublication ... \stoppublication before \starttext. Seems to work for me that way. On Fri, Aug 21, 2009 at 7:18 PM, Mojca Miklavec < mojca.miklavec.lists@gmail.com> wrote: > Hello (Taco or anyone else), > > I have an impression that it used to be possible to say > \cite[author][reference], but I'm obviously doing something wrong > here, I only get Xxxxxxx or in case of [data] I don't get anything at > all (I'm using mkii). Here's an almost-minimal example: > > \usemodule > [bib] > \setuppublications > [alternative=num, > criterium=all, > sorttype=cite] > \setuppublicationlist > [artauthor=\normalshortauthor, > author=\normalshortauthor] > > \starttext > > first: \cite[Knoll] > > second: \cite[author][Knoll], \cite[alternative=author][Knoll] > > third: \cite[data][Knoll] > > \startpublication[k=Knoll,t=book,a=Knoll] > \title{Radiation Detection and Measurement} > \author[]{Glenn Frederick}[G.~F.]{}{Knoll} > \pubname{Wiley, John \& Sons, Incorporated} > \pubyear{1979} > \stoppublication > > \placepublications > > \stoptext > > Thanks in advance for any hints, > Mojca > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Blog: http://www.derekcordeiro.com Follow Me: http://twitter.com/derekcordeiro Get a great webhosting deal: http://is.gd/jrA2 --00c09ffb56b95754c70471a7575d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Try taking the \startpublication ... \stoppublication before \starttext. Se= ems to work for me that way.

On Fri, Aug = 21, 2009 at 7:18 PM, Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
Hello (Taco or an= yone else),

I have an impression that it used to be possible to say
\cite[author][reference], but I'm obviously doing something wrong
here, I only get Xxxxxxx or in case of [data] I don't get anything at all (I'm using mkii). Here's an almost-minimal example:

\usemodule
=C2=A0 =C2=A0 =C2=A0 =C2=A0[bib]
\setuppublications
=C2=A0 =C2=A0 =C2=A0 =C2=A0[alternative=3Dnum,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 criterium=3Dall,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 sorttype=3Dcite]
\setuppublicationlist
=C2=A0 =C2=A0 =C2=A0 =C2=A0[artauthor=3D\normalshortauthor,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 author=3D\normalshortauthor]

\starttext

first: \cite[Knoll]

second: \cite[author][Knoll], \cite[alternative=3Dauthor][Knoll]

third: \cite[data][Knoll]

\startpublication[k=3DKnoll,t=3Dbook,a=3DKnoll]
=C2=A0 =C2=A0 =C2=A0 =C2=A0\title{Radiation Detection and Measurement}
=C2=A0 =C2=A0 =C2=A0 =C2=A0\author[]{Glenn Frederick}[G.~F.]{}{Knoll}
=C2=A0 =C2=A0 =C2=A0 =C2=A0\pubname{Wiley, John \& Sons, Incorporated}=
=C2=A0 =C2=A0 =C2=A0 =C2=A0\pubyear{1979}
\stoppublication

\placepublications

\stoptext

Thanks in advance for any hints,
=C2=A0 =C2=A0Mojca
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =C2=A0: http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive =C2=A0: https://foundry.supelec.fr/projects/contextrev/
wiki =C2=A0 =C2=A0 : http://contextgarden.net
___________________________________________________________________________= ________



--
_/_/_/_/_/_/_/_/_/_/_/_= /_/_/_/_/_/_/_/_/_/_/_/
Blog: h= ttp://www.derekcordeiro.com
Follow Me: http://twitter.com/derekcordeiro
Get a great webhosting deal: http://is.gd/jrA= 2
--00c09ffb56b95754c70471a7575d-- --===============0240146722== 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 ___________________________________________________________________________________ --===============0240146722==--