Closed BeastyBlacksmith closed 4 years ago
Cool!
I ran make compile CHAPTER='appendix'
and ended up with a bunch of stuff still included (title page, acknowledgements, etc.) Is it possible only compile the chapter we want?
Also, could you update the README file with this documentation.
Curiously asking, I'm wondering if there's specific reason not using sed
here. (Not familiar with both /
of vim
and sed
though.)
it only comments stuff between \mainmatter
and \backmatter
. Could be changed to check between e.g. \begin{document}
and \end{document}
.
I had sed
before, but found that it is hard to predict which of the many flavors is available on different machines. And vim
seems to be more consistent in that regard.
Changed the replace range. Give it a try and then I can update the README.
Great! Thanks.
This allows to compile only selected chapters via
note, that
/
has to be escaped as\/
. Multiple chapters are separated by space. Depends onvim
to be installed. A makefile implementation of https://github.com/sisl/tufte_algorithms_book/issues/5#issuecomment-517837084.