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
[xtemplate] Use of instance-type keys not clearly documented #656
Comments
Reading through the code of xgalley and its example file, I’ve found that the name of the instance is what should be passed to the parameter key, that the appropriate variable is a function name with the correct signature, and that the assigned instance is then used like any other function. That is, the next step would be
and
|
It's pretty clear that |
Meaning? |
meaning that most of us (all? I?) think that xtemplate was a good prototype with good ideas but not necessarily the best or the most appropriate ones in the end and that by the end of the days the final interface will look different even though it will probably incoprporate several of the ideas in xtemplate in one way or the other. And that's what Joseph referred to. |
Ok, so just the interfaces will not 'go forward'. Much relief. |
Considering this information and considering how heavily my experimental class relies on xtemplate, it sounds like it might be best to shelve the class, for the time being, and spend my time on other LaTeX-related development. |
@tail-reversion |
In that case, I’ll continue developing the class, using xtemplate. When a better solution is ready, then I’ll replace the old code. |
Template parameters can include instances of other templates, however, the documentation does not say what type of variable the instances should be assigned to, nor does it say how to use an instance-type parameter in template code.
That is, given
it is unclear how to proceed at the next step:
The text was updated successfully, but these errors were encountered: