Lines Matching full:roff
1 # Convert POD data to formatted *roff input.
3 # This module translates POD documentation into *roff markup using the man
60 # those settings that they are overriding. Data indicates =for roff blocks,
113 # used with roff output. It assumes that the standard preamble has already
115 # want to do something better than this when *roff actually supports other
162 return $encoding ne 'roff' && $encoding ne 'groff';
186 $self->accept_targets (qw/man MAN roff ROFF/);
203 # Degrade to the old roff encoding if Encode is not available.
284 # used to map our internal font escapes to actual *roff sequences later.
293 croak(qq(roff font should be 1 or 2 chars, not "$font"));
329 # sure that the quotes will be safe against *roff. Sets the internal hash
476 # Cleanup just tidies up a few things, telling *roff that the hyphens are
487 # Except in <Data> blocks, if groff or roff encoding is requested and
497 } elsif ($$self{ENCODING} eq 'roff') {
503 # Ensure that *roff doesn't convert literal quotes to UTF-8 single quotes,
585 # *roff gets to consider a possible break point. Make sure that a dash
589 # transformation or *roff will mangle the output in unacceptable ways.
655 # When building up the *roff code, we don't use real *roff fonts. Instead, we
767 # something that *roff would interpret as a command. This is overkill, but
768 # it's much simpler than trying to parse *roff here.
776 # level the situation. This function is needed since in *roff one has to
801 # pass in their own section. Undo some *roff formatting on headings.
1066 # deprecated and I am concerned that may break a *roff implementation that
1134 # indentations for *roff.
1179 # we'll pass to .Vb as its parameter. This tells *roff to keep that many
1180 # lines together. We don't want to tell *roff to keep huge blocks
1260 # Third level heading. *roff doesn't have this concept, so just put the
1272 # Fourth level heading. *roff doesn't have this concept, so just put the
1371 # *roff code to close the indent. This isn't *always* true, depending on the
1373 # .RE and then a new .RS to unconfuse *roff.
1385 # If we're still in an indentation, *roff will have now lost track of the
1410 # turned into spaces since *roff can't handle them embedded.
1546 # The preamble which starts all *roff output we generate. Most is static
1549 # @RQUOTE@). Accent marks are only defined if the output encoding is roff.
1605 if ($$self{ENCODING} eq 'roff') {
1692 Pod::Man - Convert POD data to formatted *roff input
1708 preferred language for documenting Perl) into *roff input using the man
1709 macro set. The resulting *roff code is suitable for display on a terminal
1719 option to C<roff> (the default in earlier Pod::Man versions). See the
1758 values C<roff> or C<groff>. The default on non-EBCDIC systems is UTF-8.
1767 set to anything other than C<roff>, Pod::Man will translate all non-ASCII
1769 of the *roff language, but are supported by B<groff> and B<mandoc> and thus by
1772 If the C<encoding> option is set to the special value C<roff>, Pod::Man will
1773 do its historic transformation of (some) ISO 8859-1 characters into *roff
1782 to anything other than C<groff> or C<roff> will be ignored and no encoding
1958 string will cause some *roff implementations to use the system default value.
1983 *roff output. This is equivalent to setting C<errors> to C<stderr> if
2071 available by setting the C<encoding> option to C<roff>. This may produce
2145 C<roff>.
2213 =item roff font should be 1 or 2 chars, not "%s"
2215 (F) You specified a *roff font (using C<fixed>, C<fixedbold>, etc.) that
2216 wasn't either one or two characters. Pod::Man doesn't support *roff fonts
2217 longer than two characters, although some *roff extensions do (the
2306 zero-width spaces (U+200B) to the C<\:> *roff escape. It also dropped
2314 fallbacks for accented characters in the C<roff> encoding. Since the point of
2327 Pod::Man copies the input spacing verbatim to the output *roff document. This
2343 or C<Ms.>. Output will also be consistent if you use the *roff style guide