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: [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


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