Unity Graphics Programming
vol. 1-4 (by IndieVisualLab
)coudn’t get npm run pdf
to work, so I’m rolling my own conversion, using pandoc
and calibre
.
# install dependencies
chmod +x setup.sh ; ./setup.sh
# convert to html
REVIEW_PREFIX='/usr/local/lib/ruby/gems/2.7.0/bin/' npx grunt html \
# creates articles/index.html
node process.js
# collect generated html files and images
mkdir html ; \
mv articles/*.html html/ ; \
cp -R articles/images html/images
node ../../bake-translation.js "http://localhost:5000/Preface.html" "Preface.html"
make-epubs.sh
calibre
↓ original readme:
https://github.com/IndieVisualLab/UnityGraphicsProgramming