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: 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@kosek.cz
  http://www.kosek.cz




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