2006-11-01 07:32:52 +01:00
|
|
|
.TH PANDOC 1 "November 1, 2006" Linux "User Manuals"
|
2006-10-17 16:22:29 +02:00
|
|
|
.SH NAME
|
|
|
|
markdown2pdf \- converts markdown-formatted text to PDF, using pdflatex
|
|
|
|
.SH SYNOPSIS
|
2006-11-12 02:50:56 +01:00
|
|
|
\fBmarkdown2pdf\fR [ \fB-o|--output\fR \fIoutput-file\fR ]
|
|
|
|
[ \fIinput-file\fR ]
|
2006-11-01 07:32:52 +01:00
|
|
|
.SH DESCRIPTION
|
2006-11-12 02:50:56 +01:00
|
|
|
\fBmarkdown2pdf\fR converts \fIinput-file\fR (or text from STDIN) from
|
|
|
|
markdown-formatted plain text to PDF, using \fBpdflatex\fR. If no output
|
|
|
|
filename is specified, the name of the output file is derived from the
|
|
|
|
input file; thus, for example, if the input file is \fIhello.txt\fR,
|
|
|
|
the output file will be \fIhello.pdf\fR. If the input is read from STDIN
|
|
|
|
and no output filename is specified, the output file will be named
|
|
|
|
\fIstdin.pdf\fR.
|
2006-11-14 08:06:14 +01:00
|
|
|
.PP
|
|
|
|
\fBmarkdown2pdf\fR is a wrapper for \fBpandoc\fR.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
.B \-o FILENAME, \-\-output=FILENAME
|
|
|
|
Specify name of output (PDF) file.
|
|
|
|
.TP
|
|
|
|
.B \-h, \-\-help
|
|
|
|
Show usage message.
|
|
|
|
.TP
|
|
|
|
.B \-\-
|
|
|
|
Any options appearing after ` \-\- ' on the command line will be passed
|
|
|
|
directly to \fBpandoc\fR. See \fBpandoc\fR(1) for a list of options
|
|
|
|
that may be used. Options specified in this way will override
|
|
|
|
PANDOC_OPTS (see below). Example:
|
|
|
|
.IP
|
|
|
|
markdown2pdf input.txt -- --custom-header=letterhead.tex
|
2006-11-12 02:50:56 +01:00
|
|
|
.SH ENVIRONMENT
|
|
|
|
Any command-line options contained in the PANDOC_OPTS environment variable
|
2006-11-14 08:06:14 +01:00
|
|
|
will be passed directly to \fBpandoc\fR. See \fBpandoc\fR(1)
|
2006-11-12 02:50:56 +01:00
|
|
|
for a list of options that may be used.
|
2006-11-03 08:08:47 +01:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
\fBpandoc\fR(1),
|
|
|
|
\fBmarkdown2html\fR(1),
|
|
|
|
\fBhtml2markdown\fR(1),
|
|
|
|
\fBmarkdown2latex\fR(1),
|
|
|
|
\fBlatex2markdown\fR(1),
|
|
|
|
\fBpdflatex\fR(1)
|
2006-10-17 16:22:29 +02:00
|
|
|
.SH AUTHOR
|
2006-11-01 07:32:52 +01:00
|
|
|
John MacFarlane
|