Giter Club home page Giter Club logo

Comments (6)

rusik69 avatar rusik69 commented on July 28, 2024 1

i've hacked a working solution together, #32 . you can use it as an inspiration for a real fix :)

from google-sre-ebook.

davic80 avatar davic80 commented on July 28, 2024

Same issue, login into the container and pandoc version is:

pandoc --version

pandoc 1.19.2.4
Compiled with pandoc-types 1.17.0.5, texmath 0.9.4.4, skylighting 0.3.3.1
Default user data directory: /root/.pandoc
Copyright (C) 2006-2016 John MacFarlane
Web: http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.

from google-sre-ebook.

rusik69 avatar rusik69 commented on July 28, 2024

+1 in docker image

from google-sre-ebook.

diegolmoreno avatar diegolmoreno commented on July 28, 2024

It happens on Ubuntu bionic because the pandoc's repo version is 1.19. pdf-engine was introduced on pandoc 1.20. Possible workarounds:

  • If the pdf file is not needed then comment the pandoc command to generate pdf from html on file generate.sh and rebuild the container: docker build -t <new_image_tag> .

or alternatively:

  • Set a different repo on Ubuntu for pandoc so the pandoc version has that option (not tried)

from google-sre-ebook.

captn3m0 avatar captn3m0 commented on July 28, 2024

I'd put the generated PDF version on releases: https://github.com/captn3m0/google-sre-ebook/releases for issues like these.

The pandoc PDF is so much more better in typesetting that I really want to keep this, will see if I can get the Docker image functional again (and add tests)

from google-sre-ebook.

captn3m0 avatar captn3m0 commented on July 28, 2024

Thanks a lot everyone, managed to fix this by switching to debian packages and installing a few extra deps. 💯

It's still not perfect (cover images are missing, tables aren't formatted well etc - but its wayy better than the previous versions)

from google-sre-ebook.

Related Issues (16)

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.