
Sorry to repeat myself but you can get the RST and PGTEI tools sets (Epubmaker and Gnutenberg Press) installed easily on Windows systems as bundled with guiguts-win here http://sourceforge.net/projects/guiguts/files/guiguts/. There are many interesting development opportunities here: fleshing out a GUI interface to these tools, making it easier for users to generate Epub friendly HTML while provideing warnings when they have not, tweaking the code used to create HTML so it creates PGTEI. Contact me with a sourceforge ID and I can add you as a developer. On the last idea, the first step would be to modify lib\Guiguts\HTMLConvert.pm to replace a line like [code]$textwindow->ntinsert( "$step.0", '<h1>' );[/code] with [code]$textwindow->ntinsert( "$step.0", $chapterheader);[/code] then create a file html.rc with lines like [code]$chapterheader='<h1>';[/code] which gets read in at the start of htmlautoconvert(). Then you create pgtei.rc [code]$chapterheader='<header>';[/code] You would then have a routine to produce TEI that is already far better than the one on the dp web site. A minor change to another routine (is_paragraph_open) could ensure that the <div> for the previous chapter is closed. Hunter