Hans A. wrote:
>
> There's yet another problem with <link endterm="id1" linkend="id2" see
> chapter xy>.
> If there is content like 'see chapter xy' in the example, the endterm
> attribute is ignored and the content is used as hot text. This works as
> expected.
>
> If there is no content then "the content of the element pointed to by
> endterm should be repeated at the location of the link
> <http://docbook.org/tdg5/en/html/link.html> and used as the “hot” text"
> (quoted from the 'Definitive Guide'). In this case XXE creates correct
> output for both PDF and HTML but does not show the content of the enterm
> target in the preview. Is this a bug or a missing feature? The last two
> lines in the attached example show the missing preview.

This is a missing feature. We didn't bother implementing it. We probably 
have implemented it for xref (not 100% sure), but not for link.

The rationale is that link without ``hot text'' is not really useful. If 
you don't have ``hot text'', you are expected to use xref.

Moreover please note that XXE does not to pretend to be a WYSIWYG XML 
editor. In our opinion, it's not that important to show the end term of 
a link or xref target.



>
> Another abnormality I've seen in the PDF output (see attached examples):
> both images are '.png' and of similar size and both are inserted as
> inlinemediaobject. Actually, there are a lot of similar graphics which
> are all processed correctly except this one.

The PNG file posing a problem to FOP simply has an incorrect resolution 
information (e.g. very low DPI value) in it.

Please use an image editor such as The GIMP and use "Image|Print Size" 
to fix this resolution info (recommended value: 96DPI).

Alternatively, you can do that using a script invoking ImageMagick's 
convert command-line tool. Example:

convert BAD.png -units PixelsPerInch -density 96x96 GOOD.png





>
> The processing log is showing warnings like
>
> [FOP WARNING] Invalid property encountered on "fo:leader":
> xfc:tab-position (Siehe Position 1:22874)
> [FOP WARNING] Invalid property encountered on "fo:leader": xfc:tab-align
> (Siehe Position 1:22874)
> [FOP WARNING] Invalid property encountered on "fo:leader":
> xfc:tab-position (Siehe Position 1:23519)
> [FOP WARNING] Invalid property encountered on "fo:leader": xfc:tab-align
> (Siehe Position 1:23519)
> ....

Please ignore these warnings. FOP should not report them as foreign 
attributes and foreign elements are allowed by the XSL-FO specification.



 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to