Re: [xep-support] relative links (pdf to pdf)

From: Alexander Peshkov (peshkov@renderx.com)
Date: Wed Jun 04 2003 - 05:33:22 PDT

  • Next message: MAISONNY Benoit: "[xep-support] XML output format and images"

    Hello Benoit,

    This problem arises because of two issues. First of all there was a
    mistype in the Nikolai's message that you are referring to.
    An external link should looks like this:
    <fo:basic-link external-destination="url('file:EC-GEN-0.1-en-GB.pdf#GEN-0.1-Fig-01')">GEN 0.1 Figure 1</fo:basic-link>
    without any slashes after 'file:'.
    The second problem is related with targets. Named destinations are
    created only for those ID attributes that are referenced by an
    internal-destination attribute on some <fo:basic-link> or
    <rx:bookmark> element inside the document. As a result, if you have
    some ID that referenced by external-link only it would not create any
    named destinations in resulting PDF. Setting H4PDF.DROP_UNUSED_DESTINATIONS
    property to 'false' will force XEP to create named destination in the
    resulting PDF for every ID attribute it encounters (please refer to
    "XEP 3.4 User Guide", section "Options for PDF Generator").

    We will consider extending XEP documentation regarding this topic,
    thanks for suggestion.

    Best regards,
    Alexander Peshkov mailto:peshkov@renderx.com
    RenderX

    MB> Hi,

    MB> I can't get "pdf to pdf" links to work. Here's what I state in FO, following a previous message from Nikolai [1] and adding appropriate quotes:

    MB> <fo:basic-link external-destination="url('file://EC-GEN-0.1-en-GB.pdf#GEN-0.1-Fig-01')">GEN 0.1 Figure 1</fo:basic-link>

    MB> This doesn't work: Acrobat Reader reports that "There was an error opening this document. The path does not exist". When I open the pdf file from within a browser, I don't even get this message
    MB> and nothing happens).

    MB> I also have this error when this link is within the EC-GEN-0.1-en-GB.pdf file itself (in this case, I can modify the FO source and create an internal-destination link, which is working fine, but
    MB> is not what I'm looking for).

    MB> Perhaps an example of such relative link in the tutorial [2] would be beneficial.

    MB> Thanks in advance for any help,
    MB> Benoit

    MB> [1] http://xep.xattic.com/lists/xep-support/0879.html
    MB> [2] http://www.renderx.com/Tests/doc/html/tutorial.html#d1e1961

    MB> ......................................................................
    MB> Benoit MAISONNY benoit.maisonny@eurocontrol.int
    MB> eAIP development & support http://www.eurocontrol.int/ais/ahead/eaip
    MB> EUROCONTROL Aeronautical Information Management

    MB> ____
     
    MB> This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended
    MB> recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited
    MB> and may be unlawful.
     
    MB> Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL unless it is confirmed by appropriately signed hard copy.
     
    MB> Any views expressed in this message are those of the sender.

    MB> -------------------
    MB> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    MB> in the body of the message to majordomo@renderx.com from the address
    MB> you are subscribed from.
    MB> (*) 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@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



    This archive was generated by hypermail 2.1.5 : Wed Jun 04 2003 - 05:37:52 PDT