This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: use.id.as.filename may produce invalid filenames


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]