W

work.the-riddle

0ddd2c38 epub book3 · by sarah
Name Last Update
cover Loading commit data...
cover-inbetween Loading commit data...
docs Loading commit data...
epub Loading commit data...
epubtools Loading commit data...
fonts Loading commit data...
html2print Loading commit data...
iceberg Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
README Loading commit data...
boek2-suite.sla Loading commit data...
boek3-suite.sla Loading commit data...
boek3.sla Loading commit data...
carto-picto.svg Loading commit data...
cover.svg Loading commit data...
excursion-fleuve.png Loading commit data...
excursion-fleuve.svg Loading commit data...
maquettes.svg Loading commit data...
pads-example.txt Loading commit data...
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