The map code is added to the epigraph template, so if there is an epigraph there is also a map. Maybe we will want to split these out later, but this should be fine for now.
The Latex code imports the image and splits it over two pages so that it is seen as a double spread. Like this:
We now have a nice map for the PDFs. (Don't add to HTML or EPUB, too much hassle.)
https://github.com/suttacentral/publications/tree/main/sutta_publisher/src/sutta_publisher/images
Code for adding the map was committed here:
https://github.com/suttacentral/publications/commit/36059386fbec43883fc001a378b1edd2a1378107
The map code is added to the epigraph template, so if there is an epigraph there is also a map. Maybe we will want to split these out later, but this should be fine for now.
The Latex code imports the image and splits it over two pages so that it is seen as a double spread. Like this:
Here are the pdf and tex files.
map-demo.zip
Hopefully the committed code will work, but we need to test it. Especially we need to check that the path for the image is correct: