[xep-support] Re: Links to repeating headers

Michael Sulyaev msulyaev at renderx.com
Wed Oct 19 05:29:26 PDT 2011


On 10/19/2011 12:33 PM, Jan Tošovský wrote:
> Is there any solution for this?

Hello Jan,

I totally agree with Ken (thanks!).

Is there a solution? Probably yes. Each element with @id produces a pair 
of xep:target elements in XEP Intermediate Format (aka XEPOUT) every 
time it occurs. If it is in fo:flow there will be just one such pair. If 
it is in fo:static-content these pairs will appear for every page where 
the static content has been rendered.

The fact that only one target point for each @id appears in PDF is the 
(correct) result of PDF generation.

You can try to implement some manipulation on XEPOUT level, e.g. using a 
stylesheet or a Java class. This would probably include changing of 
xep:target @id, @name, and positional attributes, as well as matching 
xep:internal-link elements. The exact code depends on your needs, which 
are not quite clear to me yet.

Regards,
Michael Sulyaev
RenderX


More information about the Xep-support mailing list