From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88098 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Styling References Date: Mon, 14 Jul 2014 15:03:12 +0200 Message-ID: <205FAEB4-CFCF-40B0-BB28-7939A751AB66@gmail.com> References: <747812BF-0F80-4F5A-BF84-E1262951DACB@stien.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1405343076 7682 80.91.229.3 (14 Jul 2014 13:04:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jul 2014 13:04:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 14 15:04:32 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 1X6fvk-00012Z-02 for gctc-ntg-context-518@m.gmane.org; Mon, 14 Jul 2014 15:04:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9DC3B1027A for ; Mon, 14 Jul 2014 15:04:31 +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 wenjQAkBg03T for ; Mon, 14 Jul 2014 15:04:31 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E84CD10311 for ; Mon, 14 Jul 2014 15:03:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E0E3B10339 for ; Mon, 14 Jul 2014 15:03:43 +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 k8hlr76jB9bt for ; Mon, 14 Jul 2014 15:03:39 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 1248110285 for ; Mon, 14 Jul 2014 15:03:30 +0200 (CEST) Original-Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s6ED3Llp032129 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 14 Jul 2014 15:03:26 +0200 Original-Received: by mail-wg0-f52.google.com with SMTP id a1so3265522wgh.11 for ; Mon, 14 Jul 2014 06:03:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=JOoaUWv93G+6YKik/MRkziM8vj+qBBTWQAgqskuYB0I=; b=O/AvLIzo2YElhixesvIGvy0KOBIbQpb6KWZNqknIuGgtm4IYcnK1YTydHs4DM86P02 rKZNYffLk5/tvW5kL/vWlGJg1xa9e8+eXXPNEbaKOpaBY/X6Wvy8Un9q34c5vHY2Yf0l chCnAWv5Ee5wtL0iVzgXwl3RTHojws2nPNkYdHL/SqNb1T0c+NjK7Ile7D3+B45NYfo3 3E3baIjwrYJQ6rXykEDM+46dsC9ZRFT/uRlQWJgx0+6/8R2DnHvwsnIKBlsNO90hxYDx wvFsU38lghhXH8XZW6VHfxOwo8gZZAnZSD1lgjSy+fdajl1Dpqkm136lUNqEkqHZv76j IqZA== X-Received: by 10.180.105.202 with SMTP id go10mr24613317wib.66.1405343004197; Mon, 14 Jul 2014 06:03:24 -0700 (PDT) Original-Received: from keima.localdomain (x2f2c58c.dyn.telefonica.de. [2.242.197.140]) by mx.google.com with ESMTPSA id o9sm30939459wib.22.2014.07.14.06.03.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Jul 2014 06:03:23 -0700 (PDT) In-Reply-To: <747812BF-0F80-4F5A-BF84-E1262951DACB@stien.de> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::234; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07Mqd3ltb - 6cf23d4df2d6 - 20140714 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:88098 Archived-At: Am 14.07.2014 um 13:58 schrieb Malte Stien : > Hi, > = > I need to style my references to SOME section/subsection/subsubsection di= fferently. Here is an example: > = > \starttext > There are lots of animals such as \about[ducks] and \about[bears]. > More about this can be found in Chapter~\about[introduction]. > = > \chapter[introduction]{Introduction} > \section[ducks]{Ducks} > Some information about ducks... > = > \section[bears]{Bears} > Some information about baers... > = > \stoptext > = > I am happy for the reference to the Introduction chapter to be in regular= type with quotes, but I would like to render the references to Ducks and B= aers in italics without the quotes. Note, that I do not require for ConTeXt= to pick one or the other style automatically based on the section (that wo= uld be pretty complicated, I suppose). I am happy to =91hint=92 it when I m= ake the reference. So, for example, I am happy to replace the first like wi= th = > = > There are lots of animals such as \animalabout[ducks] and \animalabout[be= ars]. > = > ...but so far I have been unsuccessful in creating such a \animalabout co= mmand. I looked at \definereferenceformat which gets rid of the quotes, but= I can=92t make it go italics. I also looked at \setupreferencing, but that= seems to affect ALL \abouts. \definereferenceformat[animalabout][style=3Ditalic,color=3Dblue,type=3Dtitl= e,left=3D=AB,right=3D=BB] \starttext There are lots of animals such as \about[ducks] and \about[bears]. There are lots of animals such as \animalabout[ducks] and \animalabout[bear= s]. \chapter[introduction]{Introduction} \section[ducks]{Ducks} Some information about ducks... \section[bears]{Bears} Some information about baers... \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________