Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pandoc install in common repo's is too old. #79

Closed
seamustuohy opened this issue Jan 12, 2015 · 3 comments
Closed

Pandoc install in common repo's is too old. #79

seamustuohy opened this issue Jan 12, 2015 · 3 comments

Comments

@seamustuohy
Copy link

The pandoc version distributed with kali-linux, & debian wheezy is too-old to do the things we need of it.

pandoc: unrecognized option '--toc-depth=2'
root@kali: pandoc --version
pandoc 1.9.4.2

Temporary work around is to remove --toc-depth=2 from all documents. It creates too long of an index. But, it created the documents.

Another work around is to remove the TOC entirely. It will still have the sidebar navigation so it is not too much of a loss.

seamustuohy pushed a commit that referenced this issue Jan 12, 2015
Without the title variable the index page will not show. Since the header info messes up formatting with the older versions of pandoc we are adding it through the command line. We also removed the table of contents which fixes issue 79 #79.
@seamustuohy
Copy link
Author

Fixed by removing the table of contents entirely. Unless we want to force people to install pandoc from scratch (which was horrible and why we moved to this current system) we will have to make due with the sidebar. See commit bbba6e3 through commit d6a0fa1 for changes made.

@seamustuohy
Copy link
Author

It seems that Ubuntu is running 1.12 with ---toc-depth support. We should add pandoc version checking to produce different outputs in the future. See: #81

@seamustuohy
Copy link
Author

Closed as fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant