OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: problem linking to other PDFs


Hi - I'm using docbook xml 4.4, xsl-1.70.0 with FOP 0.20.5.

I'm using olinks, and have set up my master pdf olink db file to use the 
baseuri elements (see file below).

It works, almost.  A link in a document displayed using Acrobat reader 7 
when you hover over it says:

file:///C|/a/b/c/etc/absolute_path/target/references/references.pdf#id_in_doc

If I copy this by hand into a browser window, it opens the PDF correctly 
(although at the beginning of the doc).

But if I just click on the link, a browser window opens up looking with 
a url which is missing the "file:///C|",
e.g., it starts with /a/etc.

This of course fails to open the right file. Is there a setting in Adobe 
Acrobat I'm supposed to set to make this work?
Or is something else wrong?

-Marshall

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE targetset SYSTEM 
"http://docbook.sourceforge.net/release/xsl/current/common/targetdatabase.dtd"; 
[
<!ENTITY % uimaents SYSTEM "../docbook/entities.ent" > 
%uimaents;
<!ENTITY otarget_overview SYSTEM "overview_and_setup/pdf-target.db">
<!ENTITY otarget_tug      SYSTEM "tutorials_and_users_guides/pdf-target.db">
<!ENTITY otarget_refs     SYSTEM "references/pdf-target.db">
<!ENTITY otarget_tools    SYSTEM "tools/pdf-target.db">
]>
<targetset>
  <targetsetinfo>UIMA books olinks</targetsetinfo>
 
  <!-- Site map for generating relative paths between documents -->
  <sitemap>
    <dir name="target">
      <dir name="overview_and_setup">
        <document targetdoc="&uima_docs_overview;"
                  baseuri="overview_and_setup.pdf">
          &otarget_overview;
        </document>
      </dir>
      <dir name="tutorials_and_users_guides">
        <document targetdoc="&uima_docs_tutorial_guides;"
                  baseuri="tutorials_and_users_guides.pdf">
          &otarget_tug;
        </document>
      </dir>
      <dir name="tools">
        <document targetdoc="&uima_docs_tools;"
                  baseuri="tools.pdf">
          &otarget_tools;
        </document>
      </dir>
      <dir name="references">
        <document targetdoc="&uima_docs_ref;"
                  baseuri="references.pdf">
          &otarget_refs;
        </document>
      </dir> 
    </dir> 
  </sitemap>
</targetset>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]