This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: xreflabel
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Jeff Beal <jeff dot beal at ansys dot com>
- Cc: "DocBook Mailing List (E-mail)" <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 01 Jan 2003 15:48:58 -0500
- Subject: DOCBOOK-APPS: Re: xreflabel
- References: <E08C8F26F6901D42B1201763D125853815B3A5@ntdevexc.win.ansys.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
/ Jeff Beal <jeff.beal@ansys.com> was heard to say:
| I would prefer it if the xreflabel were only used as a replacement for the
| title in a cross-reference. For example, if I have in my document:
|
| <figure id="fig1" xreflabel="Short Title">
| <title>Really, really, long but necessarily descriptive title</title>
| <graphic/>
| </figure>
I suggest instead:
<figure id="fig1">
<title>Really, really, long but necessarily descriptive title</title>
<titleabbrev>Short Title</titleabbrev>
<graphic/>
</figure>
| And I create an xref to this element, I would like to have "Figure 13.2:
| Short Title", not "Short Title". (Assuming that the gentext template for a
| figure in the xref template were "%n: %t" instead of "%n"
Xref now uses the titleabbrev instead of the title.
Be seeing you,
norm
- --
Norman Walsh <ndw@nwalsh.com> | Some people tell you you should
http://www.oasis-open.org/docbook/ | not drink claret after
Chair, DocBook Technical Committee | strawberries. They are
| wrong.--William Maginn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQE+E1Q6OyltUcwYWjsRAmZ1AJ4wiW0rDbS0zogFk8TjXQopVj4WfgCfRiL6
Yyopj50cUUKrxx6i1pT+tcI=
=jv9G
-----END PGP SIGNATURE-----