From: Giuseppe Bilotta <bourbaki@bigfoot.com>
Subject: Custom cross reference
Date: Sat, 14 Jul 2001 17:19:46 +0200 [thread overview]
Message-ID: <10926209070.20010714171946@bigfoot.com> (raw)
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
reply other threads:[~2001-07-14 15:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10926209070.20010714171946@bigfoot.com \
--to=bourbaki@bigfoot.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).