diff --git a/default.mobi.do b/default.mobi.do index 12c4bcc..3c44ddb 100644 --- a/default.mobi.do +++ b/default.mobi.do @@ -2,4 +2,4 @@ exec >&2 redo-ifchange ./out/$2.epub -ebook-convert ./out/$2.epub ./out/$2.mobi \ No newline at end of file +ebook-convert ./out/$2.epub ./out/$2.mobi >/dev/null \ No newline at end of file diff --git a/src/wordcount.lua b/src/wordcount.lua index 517e4ac..74b87a2 100644 --- a/src/wordcount.lua +++ b/src/wordcount.lua @@ -25,6 +25,6 @@ wordcount = { function Pandoc(el) -- skip metadata, just count body: pandoc.walk_block(pandoc.Div(el.blocks), wordcount) - print(words .. " words in body") + print(" " .. words .. " words in body") os.exit(0) end