Tinderbox documentation

Chris Rees utisoft at gmail.com
Sat Jan 1 10:13:01 EST 2011


On 1 January 2011 00:48, Chris Rees <utisoft at gmail.com> wrote:
> On 1 Jan 2011 00:19, "Rob Farmer" <rfarmer at predatorlabs.net> wrote:
>> On Fri, Dec 31, 2010 at 05:06, Chris Rees <utisoft at gmail.com> wrote:
>>> On 31 December 2010 09:26, Chris Rees <utisoft at gmail.com> wrote:
>>>> After running through tidy (tidy -im --drop-empty-paras false
>>>> ${OUTPUT}/*.html) it seems to put weird extra <br>s in, making massive
>>>> gaps in certain places[1].
>>>
>>> I've tidied up the SGML source and removed some extraneous <para>s,
>>> changed the --drop-empty-paras to true (d'oh) and removed all <br>s
>>> with sed.... Seems to look great!
>>>
>>> Chris
>>>
>>
>> I didn't actually test it, but it looks like you want:
>> tidy -wrap 90 -m -raw -preserve -f /dev/null -asxml file.html
>>
>> http://www.freebsd.org/cgi/cvsweb.cgi/doc/share/mk/doc.html.mk?rev=1.21
>>
>> http://pointyhat.freebsd.org/errorlogs/amd64-9-full-logs/en-freebsd-doc-20100926.log.bz2
>>
> Thanks, I'll try that when I'm in a better condition tomorrow.

Unfortunately it still does the stupid <br>s. It looks fine with them
sed'd out; the only formatting should be done with <p> anyway, so I
think I'll leave it like that for now.

Cheers though!

Chris


More information about the tinderbox-list mailing list