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: Best practise: Directories and location of images

On Wed, 8 Oct 2003 14:40:40 +0200
"Kenneth Johansson" <ke-joh@sectra.se> wrote:

> Hi,


> I'm not sure I understand how you're managing your images. The
> "path-to-document-image.ext", is it a file filled with image
> references? 

If I write document about Psi and include screenshot about main

Main document about Psi:

Screenshot image:

Such long names for image files can garant what all images is
uniq. Separator "-" used since TeX and passivetex works only witn
image files with one dot in filename (for determining extension).

For shortest point to images we use entities

and href to image like:
<graphic fileref="&BASEIMAGES;-main-window.png"/>

When we build all document from modular sources, Makefile do:
        mkdir -p $(HTML_DIR)/images
        -cp -f $(shell xsltproc $(XSLTPROC_PARAMS) \
$(XSL_DIR)/common/collect_images.xsl $(XML)) $(HTML_DIR)/images

All modular document has href to dir "images/" and global
document also href to dir "images/". Therefore all modular parts
must have same dirname for images.

> How does it look?
> What do you mean by "collecting images"?

It's process for finding all images used in modular parts and
copying it to "output/images" dir.


Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru

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