GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DHTML(1) FreeBSD General Commands Manual DHTML(1)

dhtml
HTML postprocessor for troff

dhtml [-t title] < ditroff_output > html_output

dhtml is a HTML postprocessor for troff(1). It reads the ditroff output from STDIN and writes HTML5 output to STDOUT. troff must in this case be called with option -Thtml. Missing charaters can be added by changing the files charset and CHAR (see section FILES). For adding fonts the tool needs to be recompiled (currently the legacy fonts R I B BI C CW CR CI CB H HI HB S are available).

Options:

title
Set text for the HTML <title> tag.

source_dir/troff/troff.d/font/devhtml/charset
charset which is appended to each font description file at installation of the tool (run

# make install

after changes of this file).

/usr/local/share/heirloom-doctools/font/devhtml/CHAR
Character to HTML name mapping which is read at each run of dhtml.

tbl
 manpage
 | troff -Thtml -mandoc \

    | dhtml
 -t
 html_title
 >
 html_file

Convert manpage into HTML format with title html_title and save it as html_file.

troff(1), dpost(1)

For the current version no changes to the ditroff interface are done. All information for formatting the HTML page is taken from legacy ditroff commands. As a consequence the alignment cannot be as accurate as in the dpost(1) output since the character widths of HTML fonts must be supposed to be unknown.

At the moment no HTML tables are generated. tbl(1) (without options) can be used for preprocessing but mayor alingment issues may result. There is no support for equations, graphics, images, and links in this versions. These features are subject to be implemented later.

September 18, 2015

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.