This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: use.id.as.filename may produce invalid filenames
- From: Jirka Kosek <jirka at kosek dot cz>
- To: Gisbert Amm <gia at webde-ag dot de>
- Cc: 'Norman Walsh' <ndw at nwalsh dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Mon, 17 Mar 2003 18:30:30 +0100
- Subject: Re: DOCBOOK-APPS: Re: use.id.as.filename may produce invalid filenames
- References: <74ADFA8C453ED611A71E00508BBBA135D9E92A@exchange1.cinetic.de>
Gisbert Amm wrote:
> > > One idea would be a pre-process which would extract all
> > relevant IDs and
> > > build a mapping of the IDs and the filenames (to avoid
> > clashes among the
> > > latter, at least). The chunker would get the filenames from
> > this mapping.
...
> Editing some file by hand every time I add some chapter is no option for me.
>
> As far as I understand, maketoc.xsl uses the same template to process the
> filenames as chunk-common.xsl (<xsl:template match="*"
> mode="recursive-chunk-filename">), so it would just get the IDs as they are
> and not *really* be the intended preprocessing. But I may get it wrong.
You can use <?dbhtml filename="yourfilename.html"?> PI in ToC file to
manually assign filenames to each chunk. This works as mapping from IDs
to filenames which you were talking about in one of previous post.
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka at kosek dot cz
http://www.kosek.cz