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: Inserting a link to PDF version into the HTML version?


>>>>> Steinar Bang <sb@dod.no>:

>>>>> Steinar Bang <sb@dod.no>:
>> I tried using the htmlcode PI as outlined here:
>> http://www.sagehill.net/docbookxsl/InsertExtHtml.html#CodeInPage
>> Inserting
>> <?htmlcode pdf_link.html ?>
>> with pdf_link.html containing:
>> <a href="mydoc.pdf">PDF version</a>

>> However the link didn't appear in the HTML.

> I missed point 3 in the list, which was to add a template for the
> htmlcode PI in the local customization layer.

Putting a template into the local customization layer worked.

But I had to surround the payload with <mycode>, ie.
  <mycode><a href="mydoc.pdf">PDF version</a></mycode>
to avoid the <a> element being stripped.



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