Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    HTML::FormatNroff 0.11

    Download button

    No screenshots available
    Downloads: 350  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Frederick Hirsch | More programs
    Perl Artistic License / FREE
    August 11th, 2007, 15:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    HTML::FormatNroff description

    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 | col

    If 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 | lpr

    Meta 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.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    format HTML | nroff man page | Perl module | HTML | formatter | nroff

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM