[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix groff_www TTY output to preserve indent for .ULS/.OLS/.D
From: |
Werner LEMBERG |
Subject: |
Re: [PATCH] fix groff_www TTY output to preserve indent for .ULS/.OLS/.DLS |
Date: |
Fri, 31 Aug 2012 13:17:04 +0200 (CEST) |
> I guess groff's www.tmac should preserve better indentation, here is
> a small patch I wrote for that: [...]
Applied to the CVS, thanks.
> By the way, the XHTML output suffers a problem too:
>
> % groffer --mode www -Txhtml -Kutf8 -mdoc \
> -M /tmp/new/groff/1.21/tmac \
> -mwww test/t.1 | xmllint - 2>&1 | grep mismatch
>
> -:55: parser error : Opening and ending tag mismatch: li line 55 and p
> -:58: parser error : Opening and ending tag mismatch: p line 57 and dl
> -:58: parser error : Opening and ending tag mismatch: dl line 55 and li
> -:58: parser error : Opening and ending tag mismatch: p line 55 and ol
> -:58: parser error : Opening and ending tag mismatch: ol line 53 and p
>
> Looks like a problem due to the handling of \X^html</p>: by
> grohtml(1). And fist of all there seems to be an inconsistency
> between .ULE and .OLE where .HTML</p> is used for the former but
> .HTML for the latter.
Can you provide fixes? These days I'm very short of time to take care
of groff.
Werner