Comments (6)
i've hacked a working solution together, #32 . you can use it as an inspiration for a real fix :)
from google-sre-ebook.
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.
+1 in docker image
from google-sre-ebook.
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.
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.
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)
- Using virtual environment HOT 1
- generate.rb:14:in `initialize': No such file or directory @ rb_sysopen
- can we use alpine or smaller instance HOT 7
- SRE Workbook Availability (now) HOT 4
- Typesetting Issues HOT 1
- No such file or directory @ rb_sysopen - html/../sre-book/chapters/foreword (Errno::ENOENT) HOT 6
- Trying to download the SRW book will always download the SRE book HOT 4
- Table in Appendix A of sre_book malformed
- Table malformation in Appendix A of Site Reliability Engineering book HOT 2
- pandoc error
- SRE workbook link points to SRE Book instead HOT 1
- for macs, need to 'brew install wget' HOT 1
- Configurable font size in PDF HOT 2
- Unable to build docker image
- Resolving landing.google.com (landing.google.com)... failed: Temporary failure in name resolution. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-sre-ebook.