On 25 February 2014 05:16, Stéphane Gourichon <[email protected]>wrote:
> > <https://lh3.googleusercontent.com/-8onPe1btXbQ/UwuLUzgI04I/AAAAAAAADVI/N90O18KBEL8/s1600/align.asciidoc.png> > Hello, > > The page numbers in a table of content are supposed to be aligned, right ? > > "a2x --fop" produces PDF where the table of contents has misaligned page > numbers. > > Steps to reproduce: > > run a2x --fop align.asciidoc.txt on the attached text file. > > Expected: a PDF with page numbers right-aligned. > > Observed: a PDF with page numbers x-position varying depending on the line > > The effect seems more dramatic on some real-life complex work document. > The simple file attached show that the misalignment exists even with a > very simple document and all section titles at the same level. > > I also attached to this message a PNG showing the PDF rendered in evince > at 400% magnification. The misalignment between line 1 and 2 amounts to > roughly the width of the figure "1", while lines 2 and 3 appear to be > exactly aligned. Effect also observed displaying the PDF in gv. > > I could not figure out if problem lies in asciidoc-specific stuff or > docbook XSL, so I'm reporting it here. > Hi, The problem doesn't happen for me, asciidoc git HEAD, fop 1.0, docbook-xsl 1.76, evince 3.6 Any way Asciidoc has no influence on the document layout, in fact Asciidoc does not even generate the toc. The problem is in docbook-xsl or fop or evince. Cheers Lex > > Thank you for your attention. > > -- > 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/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. For more options, visit https://groups.google.com/groups/opt_out.
