docbook: LDP Docbook Graphics


Previous by date: 15 Mar 2005 14:00:05 -0000 Re: LDP Docbook Graphics, ldp.fergusontechgroup.com
Next by date: 15 Mar 2005 14:00:05 -0000 Re: Choosing an XML Editor, Saqib Ali
Previous in thread: 15 Mar 2005 14:00:05 -0000 Re: LDP Docbook Graphics, ldp.fergusontechgroup.com
Next in thread:

Subject: Re: LDP Docbook Graphics
From: "David Horton" ####@####.####
Date: 15 Mar 2005 14:00:05 -0000
Message-Id: <W94317591225091110895178@webmail4>

> -----Original Message-----
> From: ####@####.#### ####@####.####
> Sent: Tuesday, March 15, 2005 01:22 PM
> To: 'David Holroyd', 'docbook'
> Subject: Re: LDP Docbook Graphics
> 
> 
> 
> >> I've been learning docbook for a tutorial I'm creating.  I have a
> >> decent understanding of the xml, however I can't seem to figure out how
> >> LDP includes the graphics next to certain sections, eg "pointing hand"
> >> next to a note.
> >
> > If I recall the DSSSL correctly, you need something like,
> >
> >  (define %admon-graphics% #t)
> 
> That is correct. It is set that way (t=true; use them) in ldp.dsl 
> for HTML file creation.
> 
> There's another DSSSL item of interest:
> 
> (define %admon-graphics-path%
>   ;; use graphics in admonitions, set their path
>   "../images/")
> 
> which dictates *where* to look for the graphics.
> 
> 

If you want to do this using the XSL style sheets there is a file
called 'param.xsl' that has the option in it.

Look for a line like this:

<xsl:param name="admon.graphics" select="0"/>

To get graphics, change the "0" to a "1".

There are other parameters for graphics path and file extension
similar to the DSSSL.

Dave Horton




Previous by date: 15 Mar 2005 14:00:05 -0000 Re: LDP Docbook Graphics, ldp.fergusontechgroup.com
Next by date: 15 Mar 2005 14:00:05 -0000 Re: Choosing an XML Editor, Saqib Ali
Previous in thread: 15 Mar 2005 14:00:05 -0000 Re: LDP Docbook Graphics, ldp.fergusontechgroup.com
Next in thread:


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.