On 21 November 2015 at 12:33, Jon Leech <[email protected]> wrote:
>
>
> On Thursday, November 12, 2015 at 8:22:02 PM UTC-8, Lex Trotman wrote:
>>
>> > Are there
>> > examples of applying roles to different types of text and blocks which I
>> > could refer to?
>>
>> FAQ #3 is general, and FAQ #62 gives an example of using a role to set
>> font in XSL. The user guide points to
>> http://www.sagehill.net/docbookxsl/UsingCSS.html for CSS.
>
>
> I've sorted out how to use my own CSS to style asciidoc role attributes for
> the Docbook->XHTML path, but would appreciate any examples of how to do this
> for the Docbook->dblatex->PDF path. FAQ #62 talks about FOP, not dblatex, so
> is not applicable AFAICT. I've written some minor Docbook XSL customizations
> in the past, but they are remarkably painful to write and test, I've never
> done it for dblatex, and I'm hoping to leverage someone else's example.
>
> Thanks,
> Jon

I am afraid it might be worse than just XSL, IIUC dblatex uses XSL to
translate docbook to latex, which is then rendered by latex.  So you
probably need to understand latex so you can change what latex to
generate when the XSL recognises the role.  The reference in FAQ #3
suggests that anyway.

Cheers
Lex

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