| From | Sent On | Attachments |
|---|---|---|
| Warren Block | Jan 18, 2012 2:49 pm | |
| Hiroki Sato | Jan 18, 2012 3:44 pm | |
| Warren Block | Jan 18, 2012 5:13 pm | |
| Hiroki Sato | Jan 18, 2012 10:57 pm | |
| Warren Block | Jan 20, 2012 12:05 pm | .c |
| Gabor Kovesdan | Jan 21, 2012 3:16 pm | |
| Warren Block | Jan 21, 2012 4:29 pm | |
| Gabor Kovesdan | Jan 23, 2012 9:07 am | |
| Warren Block | Jan 23, 2012 11:38 am | .py |
| Hiroki Sato | Jan 24, 2012 5:23 pm | |
| Gabor Kovesdan | Jan 24, 2012 6:15 pm | |
| Hiroki Sato | Jan 24, 2012 6:18 pm | |
| Warren Block | Jan 26, 2012 10:20 am | |
| Warren Block | Jan 26, 2012 10:22 am | .diff |
| Hiroki Sato | Jan 26, 2012 7:45 pm | |
| Warren Block | Jan 26, 2012 9:46 pm | .diff |
| Hiroki Sato | Jan 26, 2012 10:50 pm | .diff |
| Hiroki Sato | Jan 27, 2012 5:24 am | .diff |
| Warren Block | Jan 27, 2012 7:53 am | .diff |
| Hiroki Sato | Jan 27, 2012 8:58 am | .diff |
| Warren Block | Jan 27, 2012 11:43 am | |
| Hiroki Sato | Jan 28, 2012 12:57 am | |
| Warren Block | Jan 28, 2012 2:47 pm | |
| Hiroki Sato | Jan 28, 2012 10:24 pm |
| Subject: | Re: Tidy and HTML tab spacing | |
|---|---|---|
| From: | Hiroki Sato (hr...@FreeBSD.org) | |
| Date: | Jan 24, 2012 5:23:53 pm | |
| List: | org.freebsd.freebsd-doc | |
Warren Block <wbl...@wonkity.com> wrote in <alpi...@wonkity.com>:
wb> On Sun, 22 Jan 2012, Gabor Kovesdan wrote: wb> wb> > On 2012.01.18. 23:49, Warren Block wrote: wb> >> 5. Don't tidy HTML files at all (suggested as an option by Benedict wb> >> Reuschling). The unprocessed HTML is ugly, but few people are going wb> >> to look at it directly. Files that haven't been through tidy are a wb> >> little larger, about 4% in the case of the Porter's Handbook. wb> > I also think tidy should be removed. As hrs wrote, new standards wb> > should be evaluated and probably they are much better. (I think they wb> > are.) If there are some nits, then we should process it with a custom wb> > script or something, instead of this crapware. wb> wb> Tidy does a lot; it would be a lot of work to recreate. wb> wb> There's a default choice I didn't mention earlier: wb> wb> 0. Leave it alone. wb> wb> (Maybe this will all change with the DocBook XML changeover. I don't wb> know when that is supposed to happen, but if it's not too long, this wb> could be the right way to go.) wb> wb> Finally, there's one last choice: wb> wb> 6. A pretty good case could be made for using 	 instead of tabs in wb> the source <programlisting> blocks. The more I think about it, the wb> more technically-correct that seems. In that case, tidy should be wb> fine as it is now.
Hmm, I suggest to disable tab expansion or do 	 replacement in Tidy based on your patch for the meantime. One thing I concerned about is how 	 outside elements like <pre> works. If it is harmless in major www browsers (this should be treated as a whitespace) and it can mitigate the issue, I think there is no problem with it.
I agree with migrating our documents to newer XML standards will solve this in more consistent manner as Gabor said. I said it (and SVN repo migration) would happen within last October but I could not handle that nicely. Sorry for that, but it is now in progress. I believe Tidy can be removed after that.
-- Hiroki






.c