Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
pandoc v2 has deprecated some options and extensions so manuskript is giving error. #304
The newer version of pandoc has deprecated many extensions, so there is need to make manuskript compatible to both version.
This was the error popped up when I ran manuskript with pandoc v2.05
changed the title
pandoc v2 has deprecated some options and extensions so it is giving error.
Jan 16, 2018
In his announcement John MacFarlane enlisted them in pandoc-discuss google group.
I would also like to add additional information list of newly added options.
I've been looking into this issue and don't have a solution, but wanted to capture some of my findings.
First, the pandoc options can be found in the GUI when the File -> Compile F6 window is open and one of the Export to Pandoc options is chosen. The list of options is on the left-hand side under the Pandoc heading as shown in the following screen shot:
The source code that mentions the --normalize and --smart command line options is manuskript/exporter/pandoc/abstractPlainText.py.
Secondly when testing with pandoc v2.1.1 on Ubuntu 17.10 I can choose not to enable either the --normalize or --smart option, but still encounter other issues. For example when using Pandoc HTML export, the following error message is displayed:
More work is needed to fix this issue so that both Pandoc v1.x and v2.x will function properly.
I've been hacking on this a little to see if I can get it to work. In
I also added some more PDF/LaTeX options to make my PDFs prettier ;-)
By the way, great work! I looked at a number of other open source book writing apps, and Manuskript is by far the best.
referenced this issue
Nov 17, 2018
Thank you @rsnyman for the tip about the
In my testing this PR successfully adds support for pandoc version 2. Additionally pandoc version 1 continued to work properly and I did not observe any regressions.
I would appreciate if someone would also test this PR and provide feedback.