This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: [docbook-apps] Best practise: Directories and location of images
- From: "Kenneth Johansson" <ke-joh at sectra dot se>
- To: "'Janning Vygen'" <vygen at gmx dot de>, "'DOCBOOK-APPS'" <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 8 Oct 2003 14:36:24 +0200
- Subject: RE: [docbook-apps] Best practise: Directories and location of images
Hi,
Could you please describe more detailed how you manage the fileref's
including the customization layer.
Thanks,
/kenneth
--------------------------------------------------------
Kenneth Johansson Technical Documentation Manager
Sectra Imtec AB
Teknikringen 2 E-mail: ke-joh AT sectra DOT se
SE-583 30 Linköping Phone: +46 13 23 52 00
SWEDEN Web: http://www.sectra.se
>
> -----Original Message-----
> From: Janning Vygen [mailto:vygen@gmx.de]
> Sent: Wednesday, October 08, 2003 11:14
> To: Kenneth Johansson; DOCBOOK-APPS
>
> Am Dienstag, 7. Oktober 2003 16:14 schrieb Kenneth Johansson:
> > Hi,
> >
> > I'm working with both modular and single documents. I would
> like the
> > community's views on how to structure the documents and
> where to put
> > images.
> >
> > Take my modular documents for instance. Each document has its own
> > directory. Each chapter has its own directory. Most of the sections
> > are placed in the chapter directory. Sections with
> subsections has a
> > directory. Each directory has a image directory.
> >
> > Single documents have a directory of their own which includes a
> > directory for images.
> >
> > Please give me you 2 cents on how to best structure my files and
> > images.
>
> Easiest way is to keep al xml stuff in one directory and have
> one subdirectory for images.
>
> But sometimes more directories are needed (imagine setting
> write permissions on a per directory base with CVS).
>
> In this case you have to take care of fileref attributes. In
> my case i use XINCLUDE to include small pieces in many
> different sections. If this included xml has a filref and
> belongs to onother directory than the including one, the
> resulting "src" attribute of an "img" element (speaking of
> HTML output) might be broken. You will need a customization
> layer which transforms the fileref attribute
> (graphics/imagedata...) in respect of xml:base.
>
> i use the second approach very often and a customization
> layer to "fix" the filerefs.
>
> kind regards,
> janning
>
>
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.