Commit ef35fd98 authored by Armin Bernstetter's avatar Armin Bernstetter

changed description for decker pdf commands

parent f06d516f
......@@ -13,6 +13,7 @@ import Control.Exception
import Control.Lens ((^.))
import Control.Monad (when)
import Control.Monad.Extra
import Dachdecker
import Data.Aeson
import Data.IORef ()
import Data.List
......@@ -32,7 +33,6 @@ import Text.Pandoc
import Text.Pandoc.Definition
import Text.Printf (printf)
import Utilities
import Dachdecker
main :: IO ()
main = do
......@@ -53,7 +53,8 @@ main = do
let cruft = ["index.md.generated", "log", "//.shake", "generated", "code"]
let pdfMsg =
"\n# To use 'decker pdf' or 'decker pdf-decks', Google Chrome has to be installed.\n" ++
"# Windows: Follow the Google Chrome installer instructions.\n" ++
"# Windows: Currently 'decker pdf' does not work on Windows.\n" ++
"\tPlease add 'print: true' or 'menu: true' to your slide deck and use the print button on the title slide.\n" ++
"# MacOS: Follow the Google Chrome installer instructions.\n" ++
"\tGoogle Chrome.app has to be located in either /Applications/Google Chrome.app or /Users/<username>/Applications/Google Chrome.app\n" ++
"\tAlternatively you can add 'chrome' to $PATH.\n" ++
......
......@@ -108,7 +108,7 @@ Exchange the `html` at the end of the command with your *decker* command of choi
Builds PDF versions of all slide decks.
To use `decker pdf` or `decker pdf-decks`, Google Chrome has to be installed.
**Windows:** Follow the Google Chrome installer instructions.
**Windows:** Currently `decker pdf` does not work on Windows. Please add `print: true` or `menu: true` to your slide deck and use the print button on the title slide.
**MacOS:** Follow the Google Chrome installer instructions. **Google Chrome.app** has to be located in either `/Applications/Google Chrome.app` or `/Users/username/Applications/Google Chrome.app`
Alternatively you can add `chrome` to `$PATH`.
**Linux:** `chrome` has to be on `$PATH`.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment