diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-09-20 18:52:13 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-09-20 18:52:13 -0700 |
commit | 2641d4e1ac45f5405b99b07553d2b98a0a99761a (patch) | |
tree | cbe369d4e863d90bab19facfbc2f190071cd95c6 /README.md | |
parent | a0a9b84a75f34c83c1975cd0ddcfd89b0fa08542 (diff) | |
download | oso2pdf-2641d4e1ac45f5405b99b07553d2b98a0a99761a.tar.gz |
don't depend on my personal config files0.1.0
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -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 |