Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

troff2html(1) [linux man page]

TROFF2HTML(1)						      General Commands Manual						     TROFF2HTML(1)

NAME
troff2html - convert troff documents to Hypertext Markup Language SYNTAX
troff2html [ options ] file ... ] DESCRIPTION
troff2html converts files written in the troff input language and converts them to Hypertext Markup Language (HTML). It works by running the input files through troffcvt and then through tc2html and tc2html-toc. troff2html understands the usual troffcvt options. It also understands the additional options listed below: -D Enable debugging output. -E Cause tc2html to echo token information to stderr as tokens are read from troffcvt. -n No execution. Just show the commands that troff2html would execute to process the document. -p Don't run the postprocessors (tc2html and tc2html-toc). The output from troff2html will be in the troffcvt output language. -T title Specify a title for the document. This can be used for documents that do not contain any recognizable title. If the document does contain a title, it is overridden. SEE ALSO
troffcvt(1), tc2html(1) WHO-TO-BLAME Paul DuBois, dubois@primate.wisc.edu. BUGS
troff2html uses a set of special macros that tell troffcvt how to generate tc2html-specific output that tc2html uses to recognize HTML structural elements. These macros do not work in compatibility mode. TROFF2HTML(1)

Check Out this Related Man Page

TBLCVT(1)						      General Commands Manual							 TBLCVT(1)

NAME
tblcvt - troffcvt preprocessor to convert tbl-format tables SYNTAX
tblcvt [ file ] ... DESCRIPTION
tblcvt examines troff input for tables that would normally be processed by the tbl program, i.e., for lines bracketed by the .TS table start and .TE table end requests. tblcvt parses table specifications and data and converts it to a form that troffcvt can more easily han- dle. This is useful for document processing commands that use troffcvt, since troffcvt has knowledge only of the troff input language, and knows nothing of the tbl input language. tblcvt is a direct replacement for tbl. Suppose you would normally process a document using tbl and troff (or groff, etc.) like this: % tbl file ... | troff ... To format the document using tblcvt and troffcvt, use a command like this: % tblcvt file ... | troffcvt ... Actually, it's more likely that you'll be using one of the troffcvt front ends such as troff2html than that you'll be using troffcvt directly. troffcvt in the preceding command may be replaced by the name of the front end: % tblcvt file ... | troff2html ... If it seems that troffcvt or a front end are not reading the output from tblcvt , specify - after the option list to explicitly tell them to read the standard input after processing their other options: % tblcvt file ... | troffcvt ... - % tblcvt file ... | troff2html ... - DIAGNOSTICS
Diagnostic messages are written in this format: tblcvt:line l (table t, section s): message... This indicates that a problem was detected at line number l, and that tblcvt considers the line to be part of table number t and section s within the table. Section numbers start at one and are incremented for each .T& request that occurs within a table specification. SEE ALSO
troffcvt(1) tblcvt - A troffcvt Preprocessor WHO-TO-BLAME Paul DuBois, dubois@primate.wisc.edu. BUGS
For the most part, tblcvt assumes your tables make sense, i.e., are legal according to the tbl input language. tblcvt may complain about malformed table constructs (if it detects them), but it may also get confused by them and generate garbage output. tblcvt generates troff output that uses long request names, so you can't use compatibility mode -C ( option) with troffcvt or a troffcvt front end. tblcvt doesn't support vertically-spanned lines. It prints a warning when it detects one, but the table output won't be correct. TBLCVT(1)
Man Page