How can I suppress the date when using pandoc to convert md to pdf? -


I would like to create a simple PDF file with a title and a markdown file with the author but no date. I can not figure out how to suppress the date without editing an intermediate tech file.

  --- Title: Test Dock Author: My Name --- # Some Titles Here Text Here  

The date always appears in the PDF when you try the command pandoc test.md -o test.pdf order. I have tried setting the date: yaml block for all types of spaces, spaces and other combinations, but it does not understand the way it is empty

< P> Thank you.

Uses Pandok. To create a PDF, by default it uses the Latex template, which you can print with pandoc -D latex . In the old pandok version, this template contains:

  $ if (date) $ \ date {$ date $} $ endif $  

Issue Because for some reason, if you leave the \ date {} command, then latex prints the date. Either upgrade your pandok version or your template manually only

  \ date {$ date $}  

or instead of context instead of Context Modify to use:

  PANDOK-S-T context context. MD-O Test. Tech & amp; Reference test.tex  

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -