I am writing a book in LaTeX. I am using a LaTeX template that has a Creative Commons NonCommercial ShareALike license (CC BY-NC-SA 3.0).
I would like my ebook (pdf and epub formats) to have the Creative Commons NonCommercial NonDerivatives (CC BY-NC-ND 4.0).
If the license transfers itself from the template to the compiled pdf, this change of license seems incompatible.
But, I presume this is possible, because my ebook is an original work that only uses the template mentionate above. I am not redistributing the template.
Is this assumption correct?