On 3 February 2015 at 22:56, Marco Ciampa <[email protected]> wrote: > On Tue, Jan 27, 2015 at 09:00:25AM +1000, Lex Trotman wrote: >> > >> > Any hint? >> > >> >> Perhaps you should ask on the relevant toolchain list, dblatex and FOP >> are both separate projects. Whilst people here will answer if they >> know, it is not specifically the purpose of this list to answer >> toolchain questions. That said, did you search the list archives, I >> can't really believe that there has been no previous answer on how to >> set fonts. > > Easy answer, no, but anyway you are right. > > I asked here because I imagine that, using a2x I am brought to think that > somehow this is a asciidoc toolchain problem, so intrinsecly an asciidoc > problem.
Its a common misunderstanding, a2x is simply a script that runs the toolchains. > > In this respect I thought to report here an easy fix that I have found. Thank you. > > Instead to use a2x directly, using a2x to produce docbook and then > specify this option to dblatex: > > so instead to use > > a2x test.adoc > > simply using > > a2x -f docbook test.adoc > dblatex -b xetex test.xml I think you can do it from a2x with: a2x --dblatex-opts="-b xetex" test.adoc and you can set a2x options inside the asciidoc source, see http://asciidoc.org/a2x.1.html which will bring you back to "a2x test.adoc" and you will never forget the dblatex option :) > > resolved all font problems. Even accented chars in section titles! Understandable, xetex is unicode compliant IIUC. > > Hope will help someone. I think this should be reported on asciicod FAQ page. Happy to get a PR. Cheers Lex > > > -- > > > Marco Ciampa > > I know a joke about UDP, but you might not get it. > > +------------------------+ > | GNU/Linux User #78271 | > | FSFE fellow #364 | > +------------------------+ > > -- > 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.
