Next in thread → Next in month →

Re: Inserting a link to PDF version into the HTML version?

From
Steinar Bang <>
Date
2006-12-26T12:34:41+00:00
ID
Thread
Re: Inserting a link to PDF version into the HTML version?
>>>>> Steinar Bang <>:

>>>>> Steinar Bang <>:
>> 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.
Next in thread → Next in month →