4 votes

How to know for certain in expansion-contexts the moment when the result of a fully expandable expl3-function is there?

The documentation situation is by-design. There are very few (low-level) functions where the number of expansions is important, and where the team or others have needed to know/rely on it: these are ...
Joseph Wright's user avatar
  • 260k
4 votes

Memoir pagenote (endnote) id's all coming out the same

If you use datenumber, it is more straightforward to handle the expansion issues (at least for me). The downside is the lack of an out-of-the-box macro for producing short month names. Here I modify ...
cfr's user avatar
  • 199k
3 votes
Accepted

Memoir pagenote (endnote) id's all coming out the same

You can store the values inside the endnote, so the \printfdate command will pick up the right data. % pagenoteMWE.tex \documentclass[12pt]{memoir} % begin preamble * * * * * * ...
egreg's user avatar
  • 1.1m
2 votes
Accepted

def inside def gives an error when used with ref

When LaTeX processes \ref{foo} it basically looks whether the control sequence \r@foo is defined (with @ a letter) and in order to do this it performs \csname r@foo\endcsname The tokens inside \...
egreg's user avatar
  • 1.1m
2 votes

def inside def gives an error when used with ref

The argument needs to expand to a label name, so remove the assignment: \documentclass{article} \begin{document} \begin{equation} \label{eq:test-10} A=B \end{equation} \def\test#1{% test-#1} ...
David Carlisle's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible