Giter Site home page Giter Site logo

Comments (4)

tajmone avatar tajmone commented on August 16, 2024

Hi @j1elo,

The template will only work with pandoc v2 or above — to be safe, you should use at least v2.1.1, as indicated in the template header. For each asset, the project indicates which version of pandoc and PP the asset was designed for and tested with. The idea is to try to stick to the latest version and use new features of both pandoc and PP.

The above error seems due to the pandoc template comment symbol $--, which was introduced in later versions of pandoc, and is not recognized by pandoc 1.16.

The pandoc goodies repository originally contained assets for pandoc v1, and when I migrated the repository to pandoc v2 I kept copy of the v1 assets in a pandoc_v1/ subfolder; but it looks like there isn't a stored version of the GitHub template for with pandoc 1.

You can look at the blame history of the template and, if you really need to use pandoc v1, you could try and use the template from a older commit:

The earliest version of the template mentions in the comments that it works with pandoc v1.19.2:

If you can confirm to me if (and which) version of the GitHub template works fine with pandoc v1, I'll add a copy to a pandoc_v1/ subfolder, so that anyone who needs to use pandoc v1 can use it.

But I strongly advise you to use an updated version of pandoc 2.x — you're using pandoc 1.16.0.2, which is very old indeed.

from pandoc-goodies.

tajmone avatar tajmone commented on August 16, 2024

@j1elo I'm closing this issue. If you have further questions, or feedback, feel free to reopen it.

from pandoc-goodies.

j1elo avatar j1elo commented on August 16, 2024

Hi, thanks for the detailed reply, I'll investigate the commits, following your advice.

The issue with this is that the official packages are rendered unusable (for at least one year and a half more, when 20.04 gets released) :-(

This was meant to be part of a small documentation I wanted to share with people, where the build instructions should be no more than apt-get installing a couple dependencies (I cannot expect anyone to install custom software downloaded from wherever). So I'll probably have to end up just using some Github-like CSS without the extra goodies of this template, for the sake of backwards compatibility.

Thanks anyway for sharing this!

from pandoc-goodies.

tajmone avatar tajmone commented on August 16, 2024

The issue with this is that the official packages are rendered unusable (for at least one year and a half more, when 20.04 gets released) :-(

But pandoc v2.0 has been around for quite a while now — v1 being obsolete. I would have though that v2 was the official package on most Linux distros:

https://pandoc.org/releases.html

from pandoc-goodies.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.