HTML::FormatNroff

HTML::FormatNroff is a Perl module that can format HTML as nroff man page.
Download

HTML::FormatNroff Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Frederick Hirsch
  • Publisher web site:
  • http://search.cpan.org/~fjh/FormatNroff-0.11/Testing.pm

HTML::FormatNroff Tags


HTML::FormatNroff Description

HTML::FormatNroff is a Perl module that can format HTML as nroff man page. HTML::FormatNroff is a Perl module that can format HTML as nroff man page.SYNOPSIS require HTML::FormatNroff; $html = parse_htmlfile("test.html"); $format_nroff = new HTML::FormatNroff(name => 'trial', project => 'MyProject'); print $formatter->format($html);The HTML::FormatNroff is a formatter that outputs nroff source for the nroff text processor, using man macros, and tbl commands for table processing.The result of using the formatter must be processed as follows, when directing output to the screen (assume output is in the file "text.nroff"): tbl -TX text.nroff | nroff -man | colIf the output is to be printed, on an laser printer for example, a command similar to the following must be used: tbl -TX text.nroff | nroff -man -Tlj | lprMeta tags may be placed in the HTML so that portions of the HTML will be ignored and not processed. Content between the tags < META NAME="nroff-control" CONTENT="ignore_start" > < META NAME="nroff-control" CONTENT="ignore_end" >will be ignored. In the BODY META is not supported, but DIV may be used as follows: < DIV TYPE="NROFF_IGNORE" > < /DIV >In both the META and DIV uses, case is ignored. Requirements: · Perl


HTML::FormatNroff Related Software