.TH PANDOC 1 "November 1, 2006" Linux "User Manuals" .SH NAME markdown2pdf \- converts markdown-formatted text to PDF, using pdflatex .SH SYNOPSIS \fBmarkdown2pdf\fR [ \fB-o|--output\fR \fIoutput-file\fR ] [ \fIinput-file\fR ] .SH DESCRIPTION \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. .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 .SH ENVIRONMENT Any command-line options contained in the PANDOC_OPTS environment variable will be passed directly to \fBpandoc\fR. See \fBpandoc\fR(1) for a list of options that may be used. .SH "SEE ALSO" \fBpandoc\fR(1), \fBmarkdown2html\fR(1), \fBhtml2markdown\fR(1), \fBmarkdown2latex\fR(1), \fBlatex2markdown\fR(1), \fBpdflatex\fR(1) .SH AUTHOR John MacFarlane