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?


DeanNelson wrote:
> Dave,
>  
> I do something similar also. For HTML generation, I make sure all images 
> (including Docbook images) are in one place. This makes Saxon complain 
> about not seeing the images, but I resolve that afterwards by copying 
> the images to the publishing image directory.

So you 'plan ahead' and only have the ready for the website? I.e. not
available for the 'on disk' build?


>  
> However, I have a lot of images in my directories that may not only be 
> for HTML, because I also produce the FO/PDF and MSHELP docs.

I'm on a KISS principle here, using seperate xslt for fo and html (
and I guess mshelp, if I ever used it). For fo  I just need
the graphics accessible for the fo-pdf build.


  Since I
> don't want to copy the "whole mess" I run an XSL template on my XML 
> books to output a batch file with the copying instructions as to which 
> images are actually needed and leaving the rest of the "mess" behind.

Could you tell me a bit more about this please Dean?
Filter through the source XML looking for graphics (docbook graphics
as well as 'your own'?), then list them out.... then what?
Do you copy them (from where unless all relative to the source file?)
to some collecting point (or ftp them up to a given target on the website?)





>  
> I also keep the filespaths in my XML relative which make portability a 
> bit easier.

In the XML source? That makes the xslt easier.

This is getting interesting!

(I'm starting a write up about it btw, bare bones so far)


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]