Hugues Leonardi wrote: > > Hello Paul, > > Thanks a lot for your help. I will try to build a new fo file as you told. > > Regards. > > Hugues Leonardi > >
Paul Vinkenoog wrote: > > Hello Hugues, > >>> All the external links open the second pdf at the first page in >>> acrobat reader. I don't think it is the accent aigu in the id. My >>> xsl-fo and the pdf files are here : >>> http://leohome.free.fr/pmwiki/pmwiki.php?n=PmWiki.Documentation >>> http://leohome.free.fr/pmwiki/pmwiki.php?n=PmWiki.Documentation >>> External links have been written in red in the file named >>> guide-demarrage.xml.pdf. There are in page 27, 31, 37, 40... > > The reason it doesn't work is that there are no destinations defined > in the target document. This doesn't happen automatically; you have to > declare them in guide-reference.xml.fo like this: > > <fox:destination internal-destination="GDeLTK"/> > <fox:destination internal-destination="execfeuillestyle"/> > <fox:destination internal-destination="Unites"/> > <fox:destination > internal-destination="DocumentAvecPoliceParticuliC(re"/> > <fox:destination internal-destination="ConfigurerFeuilleStyle"/> > <fox:destination internal-destination="liensexternes"/> > > The order is unimportant, and they don't have to be all together > either. Just make sure that each <fox:destination> is the direct child > of a <fo:block>. > > Also declare this namespace in guide-reference.xml.fo: > > xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" > > Then if you rebuild guide-reference, the named destinations will be > included in the PDF. There's no need to rebuild guide-demarrage. > > > BTW: your <fo:bookmark-tree>s currently contain this declaration: > xmlns:fox="http://xml.apache.org/fop/extensions" > This is not necessary, because fo:bookmarks are part of the standard. > Also, that URL is outdated, iirc. > > > Hope this helps, > Paul Vinkenoog > > -- View this message in context: http://www.nabble.com/Change-to-support-named-destination-and-test-files-tf3557038.html#a9987401 Sent from the FOP - Dev mailing list archive at Nabble.com.
