[tex4ht] custom names of the generated HTML files

Jaroslav Sobota jsobota at kky.zcu.cz
Mon Mar 21 15:55:17 CET 2011

If we stick to the default generated names of HTML files, how can one 
obtain the name of the HTML file, where the section will go? E.g. 
Processing the file signal.tex, cutting it at chapters, I would like the 
individual chapters to contain the text "This file is signalch1.html", 
where the string "signalch1" is automatically generated.

Thanks for any advice.

Kind regards,

On 21.2.2011 4:23, CV Radhakrishnan wrote:
> On 21/02/11 5:16 AM, Jaroslav Sobota wrote:
>> Thanks for the reply, the approach you suggested works fine, but
>> it would be a tedious task to apply it in my project (about 150
>> sections and subsections).
>> Luckily, when I was reading your blog about tex4ht, I ran across
>> the command \NextFile{myname.html}, which does the trick, I can
>> define my own filename and all links work just fine, which solves
>> my problem.
> Oh yes, that was the best solution. Sorry, I completely forgot about
> it. Many many thanks for reminding.
> Best regards

More information about the tex4ht mailing list