I have a repository with a package which I am satisfied with. It is laid out like so,
.
├── README.md
├── examples
│ ├── command1.tex
│ └── command2.tex
├── package.sty
├── command1.tex
└── command2.tex
Where ./command1.tex is the implementation for \command1. Same goes for ./command2.tex. examples/ has examples for running the respective commands. package.sty simply \inputs the other implementation files.
I would like to upload this package to CTAN, or at least generate .dtx and .ins files.
I have found this question but am looking for a more specific answer?
Should I be reorganize my files into a single dtx? Should I make a build tool do that? If a build tool does it what build tool should I use? sty2dtx doesn't seem to like \inputs. What exactly should my repository look like and what steps do I need to take to create the desired CTAN package format:
my-package.zip:
my-package/
README.md
my-package.dtx
my-package.ins
my-package.pdf
\__⟨package prefix⟩_scattered everywhere in the .sty file gets tiring.) – user202729 May 14 '23 at 16:36package.sty,package-command1.tex,package-command2.tex, – David Carlisle May 14 '23 at 17:09.dts+.ins? – Logan May 14 '23 at 17:24l3build. Are there any packages I should reference in particular? – Logan May 14 '23 at 17:28