msprev / panzer

pandoc + styles
BSD 3-Clause "New" or "Revised" License
160 stars 13 forks source link

Pandoc 2.0 #31

Closed kbro237 closed 7 years ago

kbro237 commented 7 years ago

Pandoc has been updated to 2.0 status. I'm sure it will take some time to go through all the changes, but right away I notice that the --smart/-S option has been deprecated which panzer tries to use when making pdf's. I tried to get around it with no-tex-ligatures but that's been deprecated, too. The latex-engine command line option has also changed to pdf-engine which panzer is not aware of.

msprev commented 7 years ago

Thanks -- yes, I saw the release today. I need to go through the 2.0 release notes carefully and update panzer. I'm planning to release a new version of panzer within a week that supports pandoc 2.0.

aalldridge commented 7 years ago

One can call panzer with the option "-t latex+smart" (or similar) to circumvent the issue that -S is deprecated. However, this has the side effect of setting the writer name to "latex+smart". This cause all kinds of issues. For instances, filters get are passed this incorrect writer name as an argument and may then not work properly.

msprev commented 7 years ago

I'm not surprised that there will be issues with this. I need to carefully look at the pandoc 2.0 changes to make panzer compatible. Don't worry, I'll do this, but for the moment it's safest to assume pandoc 2.0 will not work.

msprev commented 7 years ago

I've updated panzer and it should work with pandoc 2.0 now and bumped the version to 1.3. Let me know if there are any issues. Some things to note:

kbro237 commented 7 years ago

Thank you so much for keeping panzer up to date with pandoc. panzer works the way my brain works and I found I couldn't update pandoc until panzer was ready. As long as panzer exists, I am unwilling to use pandoc any other way!

msprev commented 7 years ago

Thanks for the kind words! It works well form my brain too. Let me know if there are any issues.