I feel that a lot of times Open-Educational Resources (OER) are linked to CreativeCommons (CC) without being actually compatible. I'll give two examples to illustrate my claim and would like to hear your comments handling the publication process in these examples.
Assume that I want to publish the LaTeX-source code of some lecture notes I wrote as an OER. I want others to reuse the code for their own lectures but also for the produced artifact (the PDF) to carry the proper attribution. What license should I choose and for what?
Idea (i): only release the PDF with a CC-BY license
It seems to me that this is the standard scenario would be to opt for a CC-BY licensing of the PDF. If someone uses a passage from the PDF, proper attribution needs to be given. However, in this case, I should not publish the TeX-source as well under an open-source license, as the user could then just copy my TeX-source, and generate an "attribution free" PDF copy of my lecture notes basically reclaiming my work as their own.
Idea (ii): only release the Source-code with the "correct" license
Based on the previous section, I think that it does not make sense to license the PDF if the source is also published under an open-source license. But which license should one then choose to assure proper attribution?
Example II with a twist