If anyone interested in, I've found the solution for this problem. One can customize dblatex references output with cusom xls stylesheet for dblatex (say style.xls):
<?xml version='1.0' encoding="iso-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <!-- Select references without title --> <xsl:param name="xref.with.number.and.title">0</xsl:param> <!-- Redefine reference style --> <xsl:param name="local.l10n.xml" select="document('')"/> <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> <l:l10n language="ru"> <l:context name="xref-number"> <l:template name="appendix" text="%n"/> <l:template name="chapter" text="%n"/> <l:template name="equation" text="%n"/> <l:template name="example" text="%n"/> <l:template name="figure" text="%n"/> <l:template name="part" text="%n"/> <l:template name="section" text="%n"/> <l:template name="table" text="%n"/> <l:template name="equation" text="%n"/> </l:context> </l:l10n> </l:i18n> </xsl:stylesheet> And a2x should be called like this: a2x --dblatex-opts=--xsl-user=style.xsl <other a2x options> четверг, 26 ноября 2015 г., 17:32:34 UTC+3 пользователь Юрий Монаков написал: > > Hello! > > When I convert asciidoc to PDF, dblatex inserts reference tilte along with > the reference number. > For example if I have this asciidoc text: > > [[fig-arch]] > .System Architecture > image::img/arch.pdf[] > > System architecture is shown in the figure <<fig-arch>>. > > dblatex renders it as > > System architecture is shown in the figure Figure 2. > > How one can prevent dblatex of adding additional reference tilte (Figure) > and render only number? > > System architecture is shown in the figure 2. > > Many thanks in advance. > > PS. Original text is written in russian, where word endings differ for > various contexts. > 'figure' translates to 'рисун*ок*' and 'in the figure' translates to 'на > рисун*ке*'. > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
