This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: xreflabel


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]