-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document .dtx vs. .cls #108
Comments
If we stick to the dtx-approach, this should be the file to be edited. The |
Sure, we can do a merge. And then manually "backporting" to .dtx? |
Well, no. I thought of getting contributors to only modify the dtx file :-) |
Discussion notes: Maybe, we should move away from
We currently just concatenate files in the I think, it is easier for contributors to modify |
Another alternative would be to not have the .cls files in the repository but generated them, e.g. in a CI job, and offer those as releases... What do other tx packages do? The process should not be over-engineered.... |
Well, as said before dtx is the classical way of doing it. However, I agree, that it makes things more complicated at some points. Many contributors don't know about using a dtx file. As it remains standard for CTAN as well, I prefer your last suggestions, i.e. having only a .dtx file and and .ins file in the repo and generating everything else for the packaging. |
Yes. My gut feeling is follows:
If we switch to dtx, we will not have the .tex example files in this repository and more. They will only be on github pages. Making contributions to authors templates (e.g., fixing typos, adding some notes) cumbersome. Question: Will we loose any contributor if we use DTX? Is there anyone wanting to support but being pushed back by seeing DTX? If I remember my old TeX times, I would have been pushed back. But maybe, I am a unicorn and all others either do no code contribution or are OK by updating DTX. We just need to decdie. And since martin votes for .dtx, I will change the whole workflow accordingly. |
This template uses the .dtx procedure to generate the files such as lni.cls. PRs, however, touch the files directly (e.g., #104). In case such a PR is merged, the template distribution process undoes the changes.
Example:
We should document explain how the whole system works (https://tex.stackexchange.com/q/344530/9075; https://www.texdev.net/tags/#dtx), put make it optional to contributors. After a PR, the maintainers have to adapt the .dtx.
Alternatively, we could remove the generated files from the .dtx. This, however, would make the whole package inconsistent with "typical" .dtx usage.
CC @csware
The text was updated successfully, but these errors were encountered: