OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] page numbers are not right aligned


I got interested and made a little working example:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="" class="moz-txt-link-rfc2396E" href="http://docbook.org/xml/5.1/rng/docbookxi.rng">"http://docbook.org/xml/5.1/rng/docbookxi.rng"
ÂÂÂ schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="" class="moz-txt-link-rfc2396E" href="http://docbook.org/xml/5.1/sch/docbook.sch">"http://docbook.org/xml/5.1/sch/docbook.sch"
ÂÂÂ type="application/xml"
ÂÂÂ schematypens="http://purl.oclc.org/dsdl/schematron"?>
<book xmlns="http://docbook.org/ns/docbook" xml:lang="de" xmlns:xi="http://www.w3.org/2001/XInclude"
ÂÂÂ xmlns:ns5="http://www.w3.org/2000/svg" xmlns:ns="http://docbook.org/ns/docbook"
ÂÂÂ xmlns:xlink="http://www.w3.org/1999/xlink" version="5.1">
<part>
ÂÂÂ <title>Part I</title>
ÂÂÂ <chapter><title>Chapter 1</title>
ÂÂÂÂÂÂÂ <sect1><title>Section Section Section Section Section Section</title></sect1>
ÂÂÂÂÂÂÂ <sect1><title>Section Section Section Section Section Section Section</title></sect1>
ÂÂÂÂÂÂÂ <sect1><title>Section Section Section Section Section Section Section </title></sect1>
ÂÂÂÂÂÂÂ <sect1><title>Section Section Section Section Section Section Section S</title></sect1>
ÂÂÂÂÂÂÂ <sect1><title>Section Section Section Section Section Section Section Se</title></sect1>
ÂÂÂÂÂÂÂ <sect1><title>Section Section Section Section Section Section Section Sec</title></sect1>
ÂÂÂÂÂÂÂ <sect1><title>Section Section Section Section Section Section Section Sect</title></sect1>
ÂÂÂ </chapter>
</part>
</book>

This transforms to the following TOC:


Maybe someone can explain why all numbers are not right aligned. IMHO the problem is not with dots, but how the remaining whitespace between title and number is calculated.

Regards

Bernhard

Am 26.11.2018 um 22:42 schrieb Jan Tosovsky:
On 2018-11-26 Bob Stayton wrote:
The more general case with dot leaders and right alignment is an
inresolved FOP bug:

https://issues.apache.org/jira/browse/FOP-1839


-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kleine@gmx.net
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlÃssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]