Re: [docbook-apps] Avoiding hot links in olinks to other docs

From
"Cob Rtayton"
Date
2010-09-03T16:52:16+00:00
ID
018301cb4b88$534e31a0$6600a8c0@pazu
Thread
Re: [docbook-apps] Avoiding hot links in olinks to other docs
Hi David,

No, there is no parameter for that.  Seems 
like a good idea, though.  In the current stylesheets, you would need to 
customize the template named 'make.olink.href', which generates the href 
value.  If the value from this template comes back empty, then you just get 
the olink text without a hot link.  You would need to make the output of 
the template conditional on $targetdoc = $current.docid.

 

Bob Stayton
Sagehill Enterprises


 

 

  
----- Original Message ----- 

  
From: 
  Cramer, David W 
  (David) 

  
To: DocBook Apps 

  
Sent: Friday, September 03, 2010 7:39 
  AM

  
Subject: [docbook-apps] Avoiding hot 
  links in olinks to other docs

  

  

  
Hi there,

  
I would like to set up olinking so that when I generate 
  certain output formats (pdf, webhelp) olinks to the same document are 
  hyperlinks (just as if they were xrefs) but olinks to other documents only 
  show the title of the section and document name, but are not hyperlinks. For 
  these formats, the user won’t have the target doc in a predictable place. I 
  looked around and couldn’t find a parameter to disable hyperlinks to external 
  olinks. Is this something that’s already supported? 

  
 

  
Thanks,

  
David