Broken indentation in russian HTML, generated from mplayer.1
I found that there are errors in russian HTML, generated from man page. At least in two places: 1. "-msglevel" option description 2. "-subfont-autoscale" option description 3. "-ffactor" option description In both cases indentation of list items is broken (there are several unnecessary "<table>" tags presents) When i run "groff -mandoc -Thtml player.1", i got correct page (with right indentation and absent above "<table"> tags) I'm afraid something wrong in man->HTML generator P.S. English page also looks fine. -- Regards, Vladimir Voroshilov mailto:voroshil@gmail.com JID: voroshil@jabber.ru ICQ: 95587719
On Thu, Nov 23, 2006 at 06:06:55PM +0600, Vladimir Voroshilov wrote:
I found that there are errors in russian HTML, generated from man page.
At least in two places: 1. "-msglevel" option description 2. "-subfont-autoscale" option description 3. "-ffactor" option description
In both cases indentation of list items is broken (there are several unnecessary "<table>" tags presents)
When i run "groff -mandoc -Thtml player.1", i got correct page (with right indentation and absent above "<table"> tags)
I'm afraid something wrong in man->HTML generator
What I do is convert the man page to UTF-8 with iconv first and then use groff-utf8 to convert it to HTML. I have no idea what causes this breakage or how to fix it. Diego
2006/11/28, Diego Biurrun <diego@biurrun.de>:
When i run "groff -mandoc -Thtml player.1", i got correct page (with right indentation and absent above "<table"> tags)
I'm afraid something wrong in man->HTML generator
What I do is convert the man page to UTF-8 with iconv first and then use groff-utf8 to convert it to HTML. I have no idea what causes this breakage or how to fix it.
Hm. In this case i don't undestand what is happens. I have made simple test: 1. Got groff-utf8 from http://www.haible.de/bruno/packages-groff-utf8.html 2. make && make install 3. iconv -f koi8-r -t utf-8 mplayer.1 | groff-utf8 -Thtml -mandoc > mplayer.html 4 Got html page with CORRECT indentation (if you wish, i can send it to this list). If you can, please make the same test and say about results. -- Regards, Vladimir Voroshilov mailto:voroshil@gmail.com JID: voroshil@jabber.ru ICQ: 95587719
On Wed, Nov 29, 2006 at 05:37:43PM +0600, Vladimir Voroshilov wrote:
2006/11/28, Diego Biurrun <diego@biurrun.de>:
When i run "groff -mandoc -Thtml player.1", i got correct page (with right indentation and absent above "<table"> tags)
I'm afraid something wrong in man->HTML generator
What I do is convert the man page to UTF-8 with iconv first and then use groff-utf8 to convert it to HTML. I have no idea what causes this breakage or how to fix it.
Hm. In this case i don't undestand what is happens. I have made simple test: 1. Got groff-utf8 from http://www.haible.de/bruno/packages-groff-utf8.html 2. make && make install 3. iconv -f koi8-r -t utf-8 mplayer.1 | groff-utf8 -Thtml -mandoc > mplayer.html 4 Got html page with CORRECT indentation (if you wish, i can send it to this list).
If you can, please make the same test and say about results.
I get incorrect indentation. Diego
2006/11/29, Diego Biurrun <diego@biurrun.de>:
I get incorrect indentation.
What is your groff version (i use 1.19.2 on Gentoo box) -- Regards, Vladimir Voroshilov mailto:voroshil@gmail.com JID: voroshil@jabber.ru ICQ: 95587719
2006/11/29, Diego Biurrun <diego@biurrun.de>:
On Wed, Nov 29, 2006 at 07:10:42PM +0600, Vladimir Voroshilov wrote: groff 1.18.1, Debian unstable
I have tested 1.18.1.1 (1.18.1 patched by gentoo team) and it really produces wrong indentation in html page. 1.19.2 also produces wrong indentation code, but only in few places (i missed them when was writing previous mail). If i not missed any of them in last check, these are only .IPs " 0" or similar sequences (e.g. only when argument of .IPs wrapped by double quotes and starts with a space character) Thus, it seems like 1.19.2 works fine. Can yout test groff 1.19.2 on your box? -- Regards, Vladimir Voroshilov mailto:voroshil@gmail.com JID: voroshil@jabber.ru ICQ: 95587719
On Wed, Nov 29, 2006 at 08:48:09PM +0600, Vladimir Voroshilov wrote:
2006/11/29, Diego Biurrun <diego@biurrun.de>:
On Wed, Nov 29, 2006 at 07:10:42PM +0600, Vladimir Voroshilov wrote: groff 1.18.1, Debian unstable
I have tested 1.18.1.1 (1.18.1 patched by gentoo team) and it really produces wrong indentation in html page.
1.19.2 also produces wrong indentation code, but only in few places (i missed them when was writing previous mail). If i not missed any of them in last check, these are only .IPs " 0" or similar sequences (e.g. only when argument of .IPs wrapped by double quotes and starts with a space character)
Thus, it seems like 1.19.2 works fine. Can yout test groff 1.19.2 on your box?
To be honest, I'm lazy to try it. It does not work on my Debian unstable system, so I have little hope for mphq, which is Debian stable. We are just stacking workarounds here, groff cannot properly handle UTF-8 input and even 1.19.2 does not seem to solve all problems ... Diego
participants (2)
-
Diego Biurrun -
Vladimir Voroshilov