You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently have \indexlibrary (just add an index entry; full LaTeX syntax support) and \indexlibrarymember{a}{b} which adds entries for a!b and b!a. The latter automatically wraps the arguments in \idxcode. The former doesn't, such that nearly all uses of (plain) \indexlibrary (except those creating entries for constructors and destructors) have a nested \idxcode. That's both error-prone and too verbose.
Suggestion: Add macro \indexlibraryitem{a} which automatically adds the \idxcode. Add macro \indexlibraryspmember{a}{b} ("special member function") which does not wrap "a" into \idxcode, but otherwise behaves like \indexlibrarymember. End result: grep -w indexlibrary should only show hits in macros.tex going forward.
The text was updated successfully, but these errors were encountered:
jensmaurer
added
big
An issue causing a large set of changes, scattered across most of the text.
decision-required
A decision of the editorial group (or the Project Editor) is required.
labels
Jun 28, 2018
Editorial meeting: \indexlibraryspmember , call \indexlibraryconstructor and destructor (or ctor and dtor), because there are the uses for that. @tkoeppe should offer an opinion.
We currently have
\indexlibrary
(just add an index entry; full LaTeX syntax support) and\indexlibrarymember{a}{b}
which adds entries for a!b and b!a. The latter automatically wraps the arguments in \idxcode. The former doesn't, such that nearly all uses of (plain)\indexlibrary
(except those creating entries for constructors and destructors) have a nested\idxcode
. That's both error-prone and too verbose.Suggestion: Add macro
\indexlibraryitem{a}
which automatically adds the\idxcode
. Add macro\indexlibraryspmember{a}{b}
("special member function") which does not wrap "a" into\idxcode
, but otherwise behaves like\indexlibrarymember
. End result:grep -w indexlibrary
should only show hits inmacros.tex
going forward.The text was updated successfully, but these errors were encountered: