On 18 May 2013 02:23, Dan Allen <[email protected]> wrote: > M > ark, > > To control generation of the toc when producing PDF via FOP, you have to > pass the appropriate XSLT parameter (or tweak the XSL that generates the > FOP). I'm not sure what that parameter is, I'd have to dig for it. The > AsciiDoc attribute doesn't get used in the XSL template currently. > > You can see where the toc is processed in > $ASCIIDOC_INSTALL/docbook-xsl/common.xsl > > To mine deeper, you have to go looking inside the FO XSL from the DocBook > distro. > > -Dan >
@mark, see http://sagehill.net/docbookxsl/TOCcontrol.html @dan, docs for pdf toolchains are referenced in faq#3, at least it easier than xsl mining :) > > > On Fri, May 17, 2013 at 9:51 AM, Mark Volkmann > <[email protected]>wrote: > >> It appears that the default number of section labels that appear in the >> generated table of contents is two. I need to make it three. I can get that >> when generating HTML with "asciidoc -a toc -a toclevels=3 myfile.txt". >> However, I can't get that to work when generating PDF with FOP. Here's what >> I'm trying: >> >> a2x --asciidoc-opts "-a toc -a toclevels=3" --fop -f pdf myfile.txt. >> >> Any idea what I'm doing wrong? >> >> -- >> 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?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > Dan Allen | http://google.com/profiles/dan.j.allen > > -- > 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?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
