xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <rwhee...@artifact-software.com>
Subject Why integrating DITA into XMLGraphics makes sense.
Date Fri, 23 May 2014 15:14:43 GMT
The conversation below shows one of the reasons why I would like to see DITA become part of
the XMLGraphics family.
One of the most experienced and influential DITA practitioners is giving advice about the
suitability of FOP for producing correct PDFs.

Ron
-----------------------------


This is an issue with the FOP XSL-FO engine (one of many).

For top-qualify PDF output you really need to license Antenna House XSL
Formatter or RenderX XEP, both of which produce excellent results. FOP
simply has too many bugs and limitations to be generally useful for
production PDF generation using XSL-FO, unfortunately.

Cheers,


XXX



On 5/23/14, 9:54 AM, yyy  [dita-users]"
<dita-users@yahoogroups.com>  wrote:

>               
>         [Attachment(s) <#TopText> from Mark Peters included below]
>         
>       
>       Hi,
>
>
> Using DITA-OT 1.7 and the default org.dita.pdf2 plugin, I notice that
> some TOC entries are randomly misaligned slightly. The leader extends one
> or two extra "dots."
>
>
> For example (not sure if the formatting will come through correctly. An
> image is also attached):
>
> Chapter 1: RTI4T System Overview...........11
> RTI System Diagram.....................................12
> System Components...................................12
> RTI Network Diagram...................................15
> Summary of RTI Setup Tasks.......................15
>
>
> Like I said, the misalignment is random. It's not all H1s or H2s, for
> example, which would probably be relatively easy to fix.
>
>
> Even more puzzling, the XSL-FO attributes in the temp files are identical
> for nodes at the same level that have different alignments.
>
> For example, here are two H1-level nodes. The first node is slightly
> misaligned. But the indent values are identical for both nodes.
>
> <fo:block start-indent="25pt + (1 * 30pt) + 14pt">
>                     <fo:block end-indent="22pt" font-size="10pt"
> font-weight="normal" last-line-end-indent="-22pt" text-align="justify"
> text-align-last="justify" text-indent="-14pt">
>                         <fo:basic-link
> internal-destination="_OPENTOPIC_TOC_PROCESSING_d70e1310"
> line-height="150%">
>                             <fo:inline end-indent="14pt">RTI System
> Diagram</fo:inline>
>                             <fo:inline keep-together.within-line="always"
> start-indent="-14pt">
>                                 <fo:leader leader-pattern="dots"/>
>                                 <fo:page-number-citation
> ref-id="_OPENTOPIC_TOC_PROCESSING_d70e1310"/>
>                             </fo:inline>
>                         </fo:basic-link>
>                     </fo:block>
>                 </fo:block>
>                 <fo:block start-indent="25pt + (1 * 30pt) + 14pt">
>                     <fo:block end-indent="22pt" font-size="10pt"
> font-weight="normal" last-line-end-indent="-22pt" text-align="justify"
> text-align-last="justify" text-indent="-14pt">
>                         <fo:basic-link
> internal-destination="_OPENTOPIC_TOC_PROCESSING_d70e1334"
> line-height="150%">
>                             <fo:inline end-indent="14pt"> System
> Components </fo:inline>
>                             <fo:inline keep-together.within-line="always"
> start-indent="-14pt">
>                                 <fo:leader leader-pattern="dots"/>
>                                 <fo:page-number-citation
> ref-id="_OPENTOPIC_TOC_PROCESSING_d70e1334"/>
>                             </fo:inline>
>                         </fo:basic-link>
>                     </fo:block>
>                 </fo:block>
>
>
> I'm viewing the PDFs in Abobe Reader, but that hasn't made a difference
> in the past.
>
>
> Any idea what's going on?
>
>
> Thanks for any insights.
>
> yyy
>
-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


Mime
View raw message