|
|
|
|
|
by jonathanpoulter
2742 days ago
|
|
Thanks for your advice, I'm currently starting down the path of writing (what I hope will become) a book. I'm at your piece of advice I). I'm working on a framework which links LaTeX and Python notebooks in a dynamic compilation setup [1], so reading your first point of advice makes me think I might have started on the wrong path. Did your setup ultimately prove useful in writing your book? Or did you give up part way through and that helped you get to the task of actually writing? [1] https://github.com/poulter7/ipynb-tex |
|
Python's main purpose was to enable thousands of cross-references across the books, and to transform a large, every-changing text database into a pleasing output, where different parts of the database had different output formats.
Perhaps a TeX wizard could have done it all in pure TeX, but I never could have. Besides, who wants to learn all the intricacies of TeX/LaTeX when the task in Python is so straightforward? To this day, I can't imagine a different approach.
Joining the Python and TeX pieces together into simple scripts was trivial. The Python code evolved as I got into the books, so I would recommend a rapid-iteration model of code development, rather than building a perfect edifice before starting.
[0] http://www.physical-lincoln.com