As shown in your linked FAQ, you pass the custom XSL to a2x, you don't
pre-process the output.  You will need a different custom XSL for each
format you need, since the XSL toolchain transforms the docbook into
that format.  The example shows only how to transform to XML:FO for
FOP to process.

Cheers
Lex

On 21 October 2015 at 10:35, Sapphira Armageddos
<[email protected]> wrote:
> So, I was following this
> (http://www.methods.co.nz/asciidoc/faq.html#_using_roles_to_select_fonts_for_pdf)
> example to write a stylesheet that'd act as a filter for the asciidoc
> outputted docbook before a2x converts the docbook file to other formats.
> However, I'm not exactly sure how I'd be able to pass the attached
> pre-filter for any output format instead of explicitly having to create
> special versions of the docbook to output format stylesheets. Is there a way
> to do this before the optional docbook linting check? Or do I have to create
> duplicates of the attached file whenever I want to output to another format?
>
> --
> 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.

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

Reply via email to