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: processing instruction for htmlhelp.default.topic?


Hi Jirka,

thanks so much for your help! I'll test this out and let you know. 
Copying the list for the benefit of all...

Best regards,

--Scott

Jirka Kosek wrote:
> Scott Hudson wrote:
>
>> IHAC that has many different docbook chunks for their Help content. 
>> They want to be able to specify the default
>> help topic, but are using the Arbortext editor and engine. There 
>> isn't an easy way to pass the parameter
>> during processing. Is there an XML PI that could be applied in the 
>> content indicating which section should be used as
>> the default topic? Any ideas how to easily specify the default topic 
>> for HTML Help?
>
> Currently there is no such PI. But if you will add the following into 
> your customization layer, you will be able to mark section which 
> should be default topic by placing <?default-topic?> inside this 
> section. It is untested code, but it should/could work.
>
> <xsl:param name="htmlhelp.default.topic">
>   <xsl:call-template name="make-relative-filename">
>     <xsl:with-param name="base.dir">
>       <xsl:if test="$manifest.in.base.dir = 0">
>          <xsl:value-of select="$base.dir"/>
>       </xsl:if>
>     </xsl:with-param>
>     <xsl:with-param name="base.name">
>         <xsl:apply-templates 
> select="/[not(//processing-instruction('default-topic'))] | 
> //processing-instruction('default-topic')/parent::*" 
> mode="chunk-filename"/>
>     </xsl:with-param>
>   </xsl:call-template>
> </xsl:param>
>
> HTH,
>
>             Jirka
>


-- 
begin:vcard
fn:Scott Hudson
n:Hudson;Scott
org:Flatirons Solutions;Content Management Services
adr:Suite 200;;4747 Table Mesa Drive;Boulder;CO;80305;USA
email;internet:scott.hudson@flatironssolutions.com
title:Consultant
tel;work:303-542-2146
tel;cell:303-332-1883
note:Knowledge is Power. Sharing is Empowerment.
x-mozilla-html:TRUE
url:http://shudson310.blogspot.com
version:2.1
end:vcard



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