Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
HTMLROFF(1)		    General Commands Manual		   HTMLROFF(1)

NAME
       htmlroff	- HTML formatting and typesetting

SYNOPSIS
       htmlroff	[ -iuv ] [ -m name ] [ -r aN ] [ file ...  ]

DESCRIPTION
       Htmlroff	 accepts  input	 in the	named files and	formats	it as HTML for
       viewing in a web	browser.

       If no file argument is given, htmlroff reads the	 standard  input.   An
       argument	 consisting  of	 a single minus	(-) is taken to	be a file name
       corresponding to	the standard input.  The options are:

       -i     Read standard input after	the input files	are exhausted.

       -mname Process the macro	file /tmac/tmac.name before the	input files.

       -raN   Set register a (one character name) to N.

       -u     Generate UTF output.   By	 default,  htmlroff  converts  Unicode
	      runes  into  the	corresponding  HTML entity sequences (α,
	       , and so on).  Htmlroff invokes for	the conversion.

       -v     Generate debugging output	and warnings about suspicious input.

       Most troff input	files, especially those	using the macros, can be  used
       unaltered.   In	general,  the macro file tmac.html should be processed
       after processing	other standard macro files, as in htmlroff -ms -mhtml.

       describes the changes to	the input language.

       describes the new macros.

EXAMPLES
       Format the Plan 9 web page:

	      cd /usr/web/plan9
	      htmlroff -mhtml index.tr >index.html

       Format a	paper:

	      cd /sys/doc
	      pic auth.ms | tbl	| eqn |	htmlroff -ms -mhtml >auth.html

FILES
       /troff/font/devutf/utfmap
	      Mapping from troff two-character	names  like  \(*a  to  Unicode
	      characters like I+-.

SOURCE
       /src/cmd/htmlroff

SEE ALSO
								   HTMLROFF(1)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | FILES | SOURCE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=htmlroff&sektion=1&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help