On 5 September 2011 18:26, sharffy <[email protected]> wrote: > Having been recently introduced to asciidoc, I am trying to get to > grips with it > for writing a lot of documentation, which needs to be formatted > both in xhtml for access on the web and as pdf for distribution. > > I have no problem with conversion to xhtml11. I have made a custom css > (based on > asciidoc.sty with some minor modifications - colours, font sizes, > families etc) and the xhtml output is fine. > > However, I am having problem converting to pdf - with a2x via dblatex. > > I enclose an example asciidoc file. A The pdf was generated withA a2x - > L > test.txt. > > The main issues are the font size in the table and the text > in the listing environment. I would like this to appear exactly as it > does > in the asciidoc file, inside the box. I think my main question is how > to specify font family > and font size more importantly for various blocks. > Can this be done from commands inside the asciidoc txt file or is this > going to > require producing a customised asciidoc-dblatex.xsl/sty files? > > Thanks >
Hi Andrew, PDF formatting is a function of the backend toolchain, in your case dblatex. Asciidoc generates docbook, which is purely content markup and has no way of passing any formatting information to the backend. Backend operation isn't the speciality of this ML, you are only likely to get an answer if someone happens to have done it. You are probably better off asking on the dblatex ML if the toolchain documentation or the extra docs I pointed you at don't help. Cheers Lex -- 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.
