Skip to content
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

First mention in caption confuses \mniiiauthor #10

Closed
nxg opened this issue Feb 11, 2014 · 5 comments
Closed

First mention in caption confuses \mniiiauthor #10

nxg opened this issue Feb 11, 2014 · 5 comments

Comments

@nxg
Copy link
Collaborator

nxg commented Feb 11, 2014

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.

@nxg
Copy link
Collaborator Author

nxg commented Feb 11, 2014

For example, https://gist.github.com/nxg/8946195

@timj
Copy link
Owner

timj commented Feb 11, 2014

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.

@timj
Copy link
Owner

timj commented Feb 11, 2014

PS In some sense Github does not support attachments but they probably would prefer a gist.

@nxg
Copy link
Collaborator Author

nxg commented Feb 11, 2014

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.

@nxg
Copy link
Collaborator Author

nxg commented Aug 5, 2014

Do you have a view on this, @keithtsmith?

@nxg nxg closed this as completed in 60e2fb5 Aug 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants