You can change all texts in the XSL style sheets.
Add the parameter below to your XSL customisation layer which will
override the standard text and remove the title:
<xsl:param name="local.l10n.xml" select="document('')"/>
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
<l:l10n language="en">
<l:context name="xref-number-and-title">
<l:template name="table" text="Table %n"/>
</l:context>
</l:l10n>
</l:i18n>
Also in your XSL style sheet make sure you add the t namespace by
adding:
xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
to the opening xsl:stylesheet tag. For example
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0">
Cheers
Henrik
On Dec 21 2010, 5:02 pm, Tomek Kaczanowski
<[email protected]> wrote:
> Anyone can help here? Is it Asciidoc thing or should I dig dipper into
> Docbook XSLTs?
>
> --
> Cheers,
> Tomek Kaczanowski
>
> On 15 Gru, 19:48, Tomek Kaczanowski <[email protected]>
> wrote:
>
> > Hello All,
>
> > Such fragment:
>
> > <<my_table>> presents ...
>
> > [[my_table]]
> > .Title of Table
> > [options="header"]
> > // here table
>
> > is rendered in PDF as:
> > Table 3.1, “Title of Table” presents ...
>
> > can I somehow change this behaviour so <<my_table>> is outputed as
> > "Table 3.1" (without title)?
>
>
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.