From 2641d4e1ac45f5405b99b07553d2b98a0a99761a Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 20 Sep 2015 18:52:13 -0700 Subject: don't depend on my personal config files --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1c682e8..7bf8bb9 100644 --- a/README.md +++ b/README.md @@ -29,16 +29,24 @@ conversion; the default setting is $ oso2pdf --font="Liberation Serif" my_chapter.html +You may pass additional arguments to pandoc like this: + + $ oso2pdf --font="Times New Roman" my_chapter.html -- -V documentclass=pessay -V classoption=onehalf --template=pessay + +In this example Pandoc is instructed to make use of the files +[~/.pandoc/templates/pessay.latex](https://github.com/spwhitton/dotfiles/blob/master/.pandoc/templates/pessay.latex) +and +[~/texmf/tex/latex/pessay/pessay.cls](https://github.com/spwhitton/dotfiles/blob/master/texmf/tex/latex/pessay/pessay.cls). +Indeed, any arguments passed after `--` will be ignored by oso2pdf and +handed on to invocations of Pandoc. + ## Installation Runtime dependencies: -- a working installation of pandoc +- a working installation of Pandoc - a working LaTeX installation, including XeLaTeX - some XeLaTeX-compatible font, such as Liberation Serif -- my - [~/.pandoc/templates/pessay.latex](https://github.com/spwhitton/dotfiles/blob/master/.pandoc/templates/pessay.latex) -- my [~/texmf/tex/latex/pessay/pessay.cls](https://github.com/spwhitton/dotfiles/blob/master/texmf/tex/latex/pessay/pessay.cls) To build and install, first [install stack](https://github.com/commercialhaskell/stack), and then -- cgit v1.2.3