Closed nxg closed 10 years ago
For example, https://gist.github.com/nxg/8946195
Isn't it a bit difficult to work out where the first occurrence might be? The caption could be first in the tex document but appear on the page after the text in the body that references it. Captions should probably always use one form.
PS In some sense Github does not support attachments but they probably would prefer a gist.
True. I think, on reflection, that the 'first occurrence' of a citation in caption is probably, effectively, in the \begin{document}
, when the .aux
file is read in. This of course is not helpful. The \mniiiauthor
macro probably needs to detect that it's in a caption (I think I know how to do that) and (i) always use one form or another (possibly just the short form), and (ii) not do its 'seen once' trick in that context.
Do you have a view on this, @keithtsmith?
If the first use of
\mniiiauthor
is in a\caption
, then it is expanded to its 'second-use' form (the '...et al' version), and never expanded to its 'first-use' form. See attachment.