This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: How Capitalize xref Text?
- From: Michael Smith <smith at xml-doc dot org>
- To: oldham at codesourcery dot com
- Cc: docbook at lists dot oasis-open dot org
- Date: Sat, 15 Dec 2001 06:24:07 -0600
- Subject: Re: DOCBOOK: How Capitalize xref Text?
- References: <200112141555.fBEFt8C02041@vaio.codesourcery.com>
Jeffrey <oldham@codesourcery.com> writes:
> How does one indicate the beginning of the text produced by
> xref should be capitalized? For example,
One doesn't, I don't think. Because /common/en.xml has the string "the
section called" but not an alternative "The section called".
Maybe you could file a feature request that the initial-cap version
should be added to the gentext and the stylesheets modified to support
it through <xref linkend="foo" role="sentenceBegin"> or something.
> <para><xref linkend="some-interesting-place"></xref> is a good place
> to start.</para>
>
> should produce something like
>
> The chapter entitled Foo is a good place to start.
>
> not
>
> the chapter entitled Foo is a good place to start.
No logic in the stylesheets to figure out whether the xref occurs at
the beginning or middle of a sentence. A workaround maybe is just do:
<para>A good place to start is <xref
linkend="some-interesting-place"/>.</para>
--
Michael Smith, Tokyo, Japan http://sideshowbarker.net
Partake as does the Bee,
Abstemiously.
--Emily Dickinson (994) http://www.logopoeia.com/ed/