Download raw (927 bytes)
Create proxy vitualtenvironment && install requirements ------------------------------------------------------- virtualenv proxy/venv . proxy/venv/bin/activate pip install -r proxy/requirements.txt run proxy --------- ./start-proxy run html2print -------------- ./start pandoc file.docx -r docx -t markdown -s -o file.md Convert docx files to markdown using tools/process_docx.sh: bash tools/process_docx.sh docx/book-1 The-Riddle/book1 bash tools/process_docx.sh docx/book-2 The-Riddle/book2 bash tools/process_docx.sh docx/book-3 The-Riddle/book3 Replace figure references with paths & captions python tools/replace_images.py The-Riddle/ To convert the md files into our html2print kit → from the html2print -------------------------------------------------------- bash tools/fetch_stories.sh ../The-Riddle/ stories/ bash tools/make_chapters.sh stories/ chapters/ bash tools/build_src.sh chapters/ js/src.js