This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] RE: [docbook] stylesheet changes??


Replies to docbook-apps@lists.oasis-open.org please--it's geared towards publishing/tools questions. The docbook list is for markup questions. 

Here's something to start with--add it to your customization layer <http://www.sagehill.net/xml/docbookxsl/CustomMethods.html#CustomDriverFile>.

  <xsl:template match="ulink[@role = 'hhc-external-file']">
	<OBJECT id="hhctrl type='application/x-oleobject'"
	  classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
	  codebase="hhctrl.ocx#Version=4,73,8412,0"
	  width="100"
	  height="100">
	  <PARAM name="Command" value="ShortCut"/>
	  <PARAM name="Button" value="Text:Document"/>		  
	  <PARAM name="Item1" value=",{@url},"/>
	</OBJECT>
  </xsl:template>

Then if you use:

<ulink role="hhc-external-file" url="test.pdf">test.pdf</ulink>

...that ulink will show up as a button in the htmlhelp file. 

David

-----Original Message-----
From: Felix Zanker [mailto:fzanker@riks.nl]
Sent: Wednesday, June 11, 2003 4:25 AM
To: docbook@lists.oasis-open.org
Subject: [docbook] stylesheet changes??


Running into some more problems with the html help files:
So I have a docbook document (which will be compiled into an html help
file), and I want to create a link to an external pdf file stored locally on
a pc. As this documentation is part of a piece of software, and the
installation path is completely up to the user I can't use absolute links.
I have found this page which shows me how I can work around the linking
problem:
http://www.author-it.com/docs/html/kb/html/5351.htm
But as I understand I will need to change my stylesheet for this to work.

Has anybody ever done any work similar to this, who could tell me what
changes need to be done to my stylesheet?

Cheers
felix

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]