From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5076 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Custom cross reference Date: Sat, 14 Jul 2001 17:19:46 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <10926209070.20010714171946@bigfoot.com> Reply-To: Giuseppe Bilotta NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035395691 31028 80.91.224.250 (23 Oct 2002 17:54:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:54:51 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:5076 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5076 Hi, I am trying to understand how to create custom reference. For example, I want a custom \about command that prints the name of the reference object without the quotes and that adds the object kind after the object. So that if I have a table assigned with \placetable[tab:weight]{Weight} I can do look in the \myabout[tab:weight] or even look in the \myabout{ Table}[tab:weight] and obtain look in the Weight Table where Weight and Table are part of the link. I understand that the appropriate way to do this is \definereferenceformat, but \definerefenceformat[myabout] [left=,right=,label={}{ Table},command=\about] does not lead to the expected results. Ideas? -- Giuseppe "Oblomov" Bilotta