diff --git a/.config/shell/bin/pandoc-make b/.config/shell/bin/pandoc-make index fa6f553..8bc6a07 100755 --- a/.config/shell/bin/pandoc-make +++ b/.config/shell/bin/pandoc-make @@ -8,11 +8,14 @@ usage() { SCRIPT="${0##*/}" cat <<-EOF Usage: - $SCRIPT [output_type] [pandoc_args for file 1] [pandoc_args for file 1] [input_files] + $SCRIPT [output_type] [pandoc_args] [for] [file] [1] [file 1] [pandoc_args] [for] [file] [2] [file 2] Examples: - $SCRIPT pdf *.md - $SCRIPT .docx *.md # leading .'s are automatically removed from the output format + $SCRIPT html README.md # basic markdown to html + $SCRIPT .pdf *.tex # leading .'s are automatically removed from the output file format + $SCRIPT .pdf \\ + --pdf-engine pdflatex report.tex \\ + --pdf-engine pdflatex README.md # generates README.pdf and report.pdf with pdflatex Notes: 1) To put a file in pandoc arguments without having it be compiled to its