[xep-support] links to external pdf document

Bob Stayton bobs at sagehill.net
Wed Oct 27 22:32:23 PDT 2004


I'll bet your problem is that the id values are not getting into the PDF
file.  XEP doesn't put internally unreferenced id values into the PDF by
default.  See this message for the option to fix it:

http://lists.oasis-open.org/archives/docbook-apps/200309/msg00307.html

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs at sagehill.net


----- Original Message ----- 
From: "CRW150 at yahoo.com" <crw150 at yahoo.com>
To: <xep-support at renderx.com>
Sent: Wednesday, October 27, 2004 9:46 AM
Subject: [xep-support] links to external pdf document


> Hello,
>
> I've read the documentation, Googled, and read related threads here but
> still can't get my external links to work.  I'm using XEP 3.8.4 Trial
> Version.   All my files are local.  By "external link" I mean a link
> from one pdf document to another pdf document that is in the same
> folder. In this case, "Main.pdf" and "Index.pdf" are in the same
> folder.  I'm reasonably certain that my code is correct.  It looks like
> this:
>
> <!--in the main document-->
>   <fo:inline id="mention-{generate-id(.)}">
>     <fo:basic-link
> external-destination="url('file:Index.pdf#person.{generate-id(.)}')">
>
> <!--in the index document-->
>    <fo:block id="person.{generate-id(.)}">
>         <fo:basic-link
> external-destination="url('file:Main.pdf#mention-{generate-id(.)}')">
>
> My fo in the two resulting fo documents looks like this:
>
> Main.fo
> <fo:inline id="mention-d0e225" color="#CC6666"><fo:basic-link
> external-destination="url('file:Index.pdf#person.d0e225')">Smith</fo
> :basic-link></fo:inline>
>
> Index.fo
> <fo:block font-weight="bold" id="person.d0e225"><fo:basic-link
> external-destination="url('file:Main.pdf#mention-d0e225')">SMITH</fo:
> basic-link></fo:block>
>
> However, clicking a link in one pdf document only takes me to page 1 of
> the other pdf document, not to the correct location within the
> document.   I tried opening both documents before clicking a link, and
> that didn't help.  What am I'm doing wrong?  I have no programming
> background, so perhaps it's a matter of configuration or some other
> issue I'm not aware of.  Or, is the problem not with XEP but with
> Adobe?  Any help would be greatly appreciated.
>
> Thank you,
> Susan L.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo at renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of Service
http://www.renderx.com/tos.html
>
>


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list