Next in thread → Next in month →

Re: [docbook-apps] Docbook images/graphics. Where do you keep them?

From
DavePawson <>
Date
2009-05-15T14:32:12+00:00
ID
Thread
Re: [docbook-apps] Docbook images/graphics. Where do you keep them?
Update:

This is working out nicely with ant. So I guess a bash script could do 
it too.


Sequence.

Use Deans XSLT (with a twist) to produce an ant task.
that produces a script to copy the images wherever needed
run that ant task, which copies the images to ... wherever.
Initially to a local html/images directory.

Nice exercise in XSLT double escaping!

   <copy todir="${{local.graphics.tgt}}" verbose="true">
       <fileset dir="${{local.graphics.src}}">

         <xsl:apply-templates/>

         <!-- Now output the end of the ant script -->
       </fileset>
     </copy>


I'm starting to write it up, if anyone wants to let me know where it's 
flaky. Still very raw as I work out what needs to be done

http://www.dpawson.co.uk/docbooksetup/html/


regards


regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
Next in thread → Next in month →