docbook-apps

  • 1.  Hypertext links to PDF files

    Posted 11-20-2008 22:45
    Hello,

    I'm outputting .chm and .pdf files from .xml files (DocBook).
    What DocBook element(s) would I use to link to an existing PDF file? The
    file may or may not be in the same directory as the file from which I
    want to link.

    Thanks in advance.



  • 2.  Re: [docbook-apps] Hypertext links to PDF files

    Posted 11-24-2008 07:25

    <ulink url="file:///C:/foo/bar/baz.pdf">My PDF link title</ulink>

    seems to work. This yields <a href="file:///C:/foo/bar/baz.pdf">My PDF
    link title</a> in the generated HTML.
    The PDF opens in the CHM detail window if PDF files are associated with a
    PDF viewer in MS Windows. If the PDF is in the same directory (and e.g. the
    pdf filename is the displayed link), then for example:

    <ulink url="baz.pdf"/>



    Valerie Fernandes wrote:
    >
    > Hello,
    >
    > I'm outputting .chm and .pdf files from .xml files (DocBook).
    > What DocBook element(s) would I use to link to an existing PDF file? The
    > file may or may not be in the same directory as the file from which I
    > want to link.
    >
    > Thanks in advance.
    >
    >

    --
    View this message in context: http://www.nabble.com/Hypertext-links-to-PDF-files-tp20611644p20656024.html
    Sent from the docbook apps mailing list archive at Nabble.com.