On 18 April 2012 17:57, Moulliard, Charles <[email protected]>wrote:
> Hi Lex, > > Thx for the info. As I discover the tool(s), I try to understand how it > works and the logic behind it. My confusion comes from the fact that with > asciidoc command, we can provide a theme (= css) during the process of > transformation from xxx.txt ---> xxx.docbook and finally from xxxx.docbook > to xxxx.html, xxxx.xhtml, .... > I was thinking that with a2x we can do the same thing as we have also an > xslt transformation. But as we are using dblatex by default we must define > a new db latex format if we would like to change the pdf look'n'feel. > Themes do not apply to asciidoc when generating docbook, if you specify css it is ignored. Themes and css only apply to html5/xhtml. > > Question : Do you know if we could use prince tool with a2x as it allow to > provide css to the (x)html file when generating the pdf file ( > http://www.princexml.com/) ? > a2x does not support Prince The latest a2x is expandable with backend plugins, but you would have to write your own. Cheers Lex > Regards, > > Charles > > On Wed, Apr 18, 2012 at 3:05 AM, Lex Trotman <[email protected]> wrote: > >> On 18 April 2012 07:51, Charles Moulliard <[email protected]> >> wrote: >> > Hi, >> > >> > Can we tell to a2x command to use a theme (= css file) like asciidoc >> > command ? If there is no option for a2x command, how can we tell to >> > a2x that we would like to use a specific css file during the >> > transformation process from xxx.txt to xxx.pdf by example or >> >> Which PDF toolchain are you using, AFAIK the only ones using CSS to >> specify PDF styling are commercial ones (eg Antenna house) not dblatex >> or FOP as supported by a2x. >> >> For epub, the css can be specified with xsltproc-opts the same as for >> a2x generated HTML. >> >> Cheers >> Lex >> >> > epub, ... ? >> > >> > Regards, >> > >> > Charles >> > >> > -- >> > 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. >> > >> >> -- >> 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. >> >> > > > -- > -- > *Charles Moulliard* > Sr. Principal Consultant | *FuseSource Corp.* > [email protected] | fusesource.com > *mobile: *+32 473 604 014 > skype: cmoulliard | twitter: @cmoulliard > blog: cmoulliard.blogspot.com > > > <http://www.progress.com/> > > -- > 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. > -- 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.
