Re: html zine

dvanhorn <[email protected]> Tue, 03 Feb 2004 17:21:48 -0500
Newsgroups gmane.org.ballistichelmet.devel
Message-ID <[email protected]>
Aaron S. Hawley wrote:
> On Tue, 3 Feb 2004, dvanhorn wrote:
>>I've made a preliminary zine.t2p (tex2page) file that will allow us to make
>>HTML versions of the zine.
>>
>>To see an example (only the first issue works right now), see:
>>
>>   http://ballistichelmet.org/zine/v1/i1/html/zine.php
>>
>>The t2p file is at:
>>
>>   http://ballistichelmet.org/zine/v1/i1/zine.t2p
>>
>>Comments welcome.
> 
> 
> very cool.  being an html source junky i noticed there seems to be a bunch
> of leading whitespace , and a crap load of empty paragraphs ("<p></p>").
> i couldn't find these in the zine.php file, so i'm a bit confused.  here's
> some small suggestions:

Thanks for the patch, I've applied it.

I patched the tex2page source file so that it now will produce a TOC listing 
that looks like:

<div class="toc-entry" style="margin-left: 0px;"><a ...>Title</a></div>
<div class="toc-subentry" style="margin-left: 5px;"><a ...>Sub Title</a></div>
<div class="toc-subentry" style="margin-left: 10px;"><a ...>Sub Sub 
Title</a></div>

Instead of:

<b><a ...>Title</a></b><br>
&nbsp; &nbsp; <a ...>Sub Title</a><br>
&nbsp; &nbsp; &nbsp; &nbsp; <a ...>Sub Sub Title</a><br>

Which is much much cleaner imho.  Also it wraps well so a title that is 
indented will wrap like this:

   Wrapped
   title

vs

   Wrapped
title

Which is The Right Thing.

It's tex2page that is spitting out all those <p>s and it will require a patch 
to get it to suppress that i think.  I haven't really looked into it, but that 
would definitely be nice to fix.

t2p also prints attributes without quotes a lot of the time, which won't work 
for XHTML strict, which is what I would ideally like to get t2p to emit.

David