Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v8plus / man / man1 / pod2latex.1
CommitLineData
920dae64
AT
1.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
2.\"
3.\" Standard preamble:
4.\" ========================================================================
5.de Sh \" Subsection heading
6.br
7.if t .Sp
8.ne 5
9.PP
10\fB\\$1\fR
11.PP
12..
13.de Sp \" Vertical space (when we can't use .PP)
14.if t .sp .5v
15.if n .sp
16..
17.de Vb \" Begin verbatim text
18.ft CW
19.nf
20.ne \\$1
21..
22.de Ve \" End verbatim text
23.ft R
24.fi
25..
26.\" Set up some character translations and predefined strings. \*(-- will
27.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
28.\" double quote, and \*(R" will give a right double quote. | will give a
29.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
30.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
31.\" expand to `' in nroff, nothing in troff, for use with C<>.
32.tr \(*W-|\(bv\*(Tr
33.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
34.ie n \{\
35. ds -- \(*W-
36. ds PI pi
37. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
38. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
39. ds L" ""
40. ds R" ""
41. ds C` ""
42. ds C' ""
43'br\}
44.el\{\
45. ds -- \|\(em\|
46. ds PI \(*p
47. ds L" ``
48. ds R" ''
49'br\}
50.\"
51.\" If the F register is turned on, we'll generate index entries on stderr for
52.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
53.\" entries marked with X<> in POD. Of course, you'll have to process the
54.\" output yourself in some meaningful fashion.
55.if \nF \{\
56. de IX
57. tm Index:\\$1\t\\n%\t"\\$2"
58..
59. nr % 0
60. rr F
61.\}
62.\"
63.\" For nroff, turn off justification. Always turn off hyphenation; it makes
64.\" way too many mistakes in technical documents.
65.hy 0
66.if n .na
67.\"
68.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
69.\" Fear. Run. Save yourself. No user-serviceable parts.
70. \" fudge factors for nroff and troff
71.if n \{\
72. ds #H 0
73. ds #V .8m
74. ds #F .3m
75. ds #[ \f1
76. ds #] \fP
77.\}
78.if t \{\
79. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
80. ds #V .6m
81. ds #F 0
82. ds #[ \&
83. ds #] \&
84.\}
85. \" simple accents for nroff and troff
86.if n \{\
87. ds ' \&
88. ds ` \&
89. ds ^ \&
90. ds , \&
91. ds ~ ~
92. ds /
93.\}
94.if t \{\
95. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
96. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
97. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
98. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
99. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
100. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
101.\}
102. \" troff and (daisy-wheel) nroff accents
103.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
104.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
105.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
106.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
107.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
108.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
109.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
110.ds ae a\h'-(\w'a'u*4/10)'e
111.ds Ae A\h'-(\w'A'u*4/10)'E
112. \" corrections for vroff
113.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
114.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
115. \" for low resolution devices (crt and lpr)
116.if \n(.H>23 .if \n(.V>19 \
117\{\
118. ds : e
119. ds 8 ss
120. ds o a
121. ds d- d\h'-1'\(ga
122. ds D- D\h'-1'\(hy
123. ds th \o'bp'
124. ds Th \o'LP'
125. ds ae ae
126. ds Ae AE
127.\}
128.rm #[ #] #H #V #F C
129.\" ========================================================================
130.\"
131.IX Title "POD2LATEX 1"
132.TH POD2LATEX 1 "2007-06-19" "perl v5.8.8" "Perl Programmers Reference Guide"
133.SH "NAME"
134pod2latex \- convert pod documentation to latex format
135.SH "SYNOPSIS"
136.IX Header "SYNOPSIS"
137.Vb 1
138\& pod2latex *.pm
139.Ve
140.PP
141.Vb 1
142\& pod2latex -out mytex.tex *.pod
143.Ve
144.PP
145.Vb 1
146\& pod2latex -full -sections 'DESCRIPTION|NAME' SomeDir
147.Ve
148.PP
149.Vb 1
150\& pod2latex -prefile h.tex -postfile t.tex my.pod
151.Ve
152.SH "DESCRIPTION"
153.IX Header "DESCRIPTION"
154\&\f(CW\*(C`pod2latex\*(C'\fR is a program to convert \s-1POD\s0 format documentation
155(perlpod) into latex. It can process multiple input documents at a
156time and either generate a latex file per input document or a single
157combined output file.
158.SH "OPTIONS AND ARGUMENTS"
159.IX Header "OPTIONS AND ARGUMENTS"
160This section describes the supported command line options. Minimum
161matching is supported.
162.IP "\fB\-out\fR" 4
163.IX Item "-out"
164Name of the output file to be used. If there are multiple input pods
165it is assumed that the intention is to write all translated output
166into a single file. \f(CW\*(C`.tex\*(C'\fR is appended if not present. If the
167argument is not supplied, a single document will be created for each
168input file.
169.IP "\fB\-full\fR" 4
170.IX Item "-full"
171Creates a complete \f(CW\*(C`latex\*(C'\fR file that can be processed immediately
172(unless \f(CW\*(C`=for/=begin\*(C'\fR directives are used that rely on extra packages).
173Table of contents and index generation commands are included in the
174wrapper \f(CW\*(C`latex\*(C'\fR code.
175.IP "\fB\-sections\fR" 4
176.IX Item "-sections"
177Specify pod sections to include (or remove if negated) in the
178translation. See \*(L"\s-1SECTION\s0 \s-1SPECIFICATIONS\s0\*(R" in Pod::Select for the
179format to use for \fIsection-spec\fR. This option may be given multiple
180times on the command line.This is identical to the similar option in
181the \f(CW\*(C`podselect()\*(C'\fR command.
182.IP "\fB\-modify\fR" 4
183.IX Item "-modify"
184This option causes the output \f(CW\*(C`latex\*(C'\fR to be slightly
185modified from the input pod such that when a \f(CW\*(C`=head1 NAME\*(C'\fR
186is encountered a section is created containing the actual
187pod name (rather than \fB\s-1NAME\s0\fR) and all subsequent \f(CW\*(C`=head1\*(C'\fR
188directives are treated as subsections. This has the advantage
189that the description of a module will be in its own section
190which is helpful for including module descriptions in documentation.
191Also forces \f(CW\*(C`latex\*(C'\fR label and index entries to be prefixed by the
192name of the module.
193.IP "\fB\-h1level\fR" 4
194.IX Item "-h1level"
195Specifies the \f(CW\*(C`latex\*(C'\fR section that is equivalent to a \f(CW\*(C`H1\*(C'\fR pod
196directive. This is an integer between 0 and 5 with 0 equivalent to a
197\&\f(CW\*(C`latex\*(C'\fR chapter, 1 equivalent to a \f(CW\*(C`latex\*(C'\fR section etc. The default
198is 1 (\f(CW\*(C`H1\*(C'\fR equivalent to a latex section).
199.IP "\fB\-help\fR" 4
200.IX Item "-help"
201Print a brief help message and exit.
202.IP "\fB\-man\fR" 4
203.IX Item "-man"
204Print the manual page and exit.
205.IP "\fB\-verbose\fR" 4
206.IX Item "-verbose"
207Print information messages as each document is processed.
208.IP "\fB\-preamble\fR" 4
209.IX Item "-preamble"
210A user-supplied preamble for the LaTeX code. Multiple values
211are supported and appended in order separated by \*(L"\en\*(R".
212See \fB\-prefile\fR for reading the preamble from a file.
213.IP "\fB\-postamble\fR" 4
214.IX Item "-postamble"
215A user supplied postamble for the LaTeX code. Multiple values
216are supported and appended in order separated by \*(L"\en\*(R".
217See \fB\-postfile\fR for reading the postamble from a file.
218.IP "\fB\-prefile\fR" 4
219.IX Item "-prefile"
220A user-supplied preamble for the LaTeX code to be read from the
221named file. Multiple values are supported and appended in
222order. See \fB\-preamble\fR.
223.IP "\fB\-postfile\fR" 4
224.IX Item "-postfile"
225A user-supplied postamble for the LaTeX code to be read from the
226named file. Multiple values are supported and appended in
227order. See \fB\-postamble\fR.
228.SH "BUGS"
229.IX Header "BUGS"
230Known bugs are:
231.IP "\(bu" 4
232Cross references between documents are not resolved when multiple
233pod documents are converted into a single output \f(CW\*(C`latex\*(C'\fR file.
234.IP "\(bu" 4
235Functions and variables are not automatically recognized
236and they will therefore not be marked up in any special way
237unless instructed by an explicit pod command.
238.SH "SEE ALSO"
239.IX Header "SEE ALSO"
240Pod::LaTeX
241.SH "AUTHOR"
242.IX Header "AUTHOR"
243Tim Jenness <tjenness@cpan.org>
244.PP
245This program is free software; you can redistribute it
246and/or modify it under the same terms as Perl itself.
247.PP
248Copyright (C) 2000, 2003, 2004 Tim Jenness. All Rights Reserved.