LaTeX forum ⇒ General ⇒ expl3 for dummies Topic is solved
LaTeX specific issues not fitting into one of the other forums of this category.
- Stefan Kottwitz
- Site Admin
- Posts: 8733
- Joined: Mon Mar 10, 2008 9:44 pm
- Location: Hamburg, Germany
erwann wrote:I would need, if possible, some clarification as to what the intended purposes of local public, local internal, global public, and public function are.
I take it the difference between function and variable is clear? (This is mostly a semantic difference here as in TeX everything is a macro in the end.)
internal means variables and functions only to be used in the package and by the package author; the code can be changed or deleted or whatever from release to release, it is not to be relied upon by others.
public means available for every user of the package, ideally with a documented meaning and stable from one release to the next so that users can rely upon them.
local/global means local/global with respect to TeX's groups – in traditional TeX (the concept is the same in expl3):
Who is online
Users browsing this forum: No registered users and 3 guests