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: Re: [docbook-apps] problem linking to other PDFs


I found web documentation that this is a known problem with the Acrobat 
Reader, but that it works if you run the Acrobat reader from within a 
browser such as Internet Explorer.  See 
http://sources.redhat.com/ml/docbook-apps/2005-q2/msg00217.html

I verified that PDF linking does work if you don't try to include the 
#id_in_doc part.

I verified that PDF linking does work with #id_in_doc if you run Acrobat 
Reader (I tried version 8) within Internet Explorer.

I would be happy to learn if there are other work-arounds to get it to 
work outside a browser.

-Marshall

Marshall Schor wrote:
> 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>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>



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