I have to type many books in Latex, where some chapters are quite similar to each other. My idea was to do one chapter in a directory and outsource the differences in a subdirectory where the main file is.
CONTENT | | |---Book1 |---differences | |---Book1 |---differences |
The several book files would include the content file, while the content file includes the differences file.
My question now is: is it possible to NOT include the whole differences file? so I could say in the contents file:
...some text... \include code-fragment 1 from differences ...some other common text \include code-fragment 2 from differences
so I would not have to make plenty differences files for everything that is not common.
I hope my question is clear :) Many thanks