Jürgen Spitzmüller wrote:
Jürgen Spitzmüller wrote:
A "Requires" tag, as a counterpart of the "Provides" tag.
patch attached.
I guess this needs a layout format increment, right?
Yes, it would.
Something like this will work. Just a couple thoughts.
First, I don't think we want to tie this too tightly to LaTeXFeatures,
so that we have to hardcode what packages can be Required. This will
make maintenance difficult---you didn't list endnotes.sty---and anyway
users ought to be able to Require packages in their custom layouts. So
I'd suggest we have a more flexible mechanism for keeping track of what
packages have been Required---just a vector we build---one that could be
integrated at the last minute with LaTeXFeatures.
Secondly, it seems like we ought for the same reason to have a Requires
tag in the TextClass itself.
Good work.
Richard