1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-11 04:01:31 +00:00

cosmetics: Reformat section.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20584 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-11-01 17:33:45 +00:00
parent 2c0bf0e806
commit a474c8fbcd

View File

@ -53,29 +53,30 @@ Additionally, the SS variable should be set to either very low or very high
values to produce a better groff HTML output (Due to a bug of groff2html?). values to produce a better groff HTML output (Due to a bug of groff2html?).
A setting of 4 should look readable. Here's an overview again: A setting of 4 should look readable. Here's an overview again:
- groff: groff is the "official" tool to convert man pages. - groff:
To get good results you need a recent version (1.18.2). groff is the "official" tool to convert man pages. To get good results you
groff -mman -Thtml mplayer.1 > mplayer.1.html need a recent version (1.18.2).
groff -mman -Tlatin1 -rLL=78n mplayer.1 | col -bx > mplayer.1.txt groff -mman -Thtml mplayer.1 > mplayer.1.html
The groff man page lists other output formats to use with -T. groff -mman -Tlatin1 -rLL=78n mplayer.1 | col -bx > mplayer.1.txt
The groff man page lists other output formats to use with -T.
Unfortunately groff is not able to handle UTF-8 input as of Unfortunately groff is not able to handle UTF-8 input as of version 1.19.2.
version 1.19.2. groff-utf8 is a wrapper that works around these groff-utf8 is a wrapper that works around these deficiencies:
deficiencies: http://www.haible.de/bruno/packages-groff-utf8.html
http://www.haible.de/bruno/packages-groff-utf8.html
- man2html: You can view it through a CGI script: - man2html:
http://localhost/cgi-bin/man2html?mplayer You can view it through a CGI script:
The output is unusable as the script doesn't seem to support http://localhost/cgi-bin/man2html?mplayer
the macro definitions. Maybe manually changing all leads to The output is unusable as the script doesn't seem to support the macro
acceptable results. definitions. Maybe manually changing all leads to acceptable results.
- rman: rman -f html mplayer.1 > man_page.rman.html - rman:
The output is ugly as rman doesn't understand many of the rman -f html mplayer.1 > man_page.rman.html
macros used. The output is ugly as rman doesn't understand many of the macros used.
- troffcvt: troff2html -man mplayer.1 > man_page.tcvt.html - troffcvt:
The (good) output is similar to groff but simplified... troff2html -man mplayer.1 > man_page.tcvt.html
The (good) output is similar to groff but simplified...