Moved from https://github.com/pgf-tikz/pgf/issues/790
Brief outline of the bug
Pgfplots uses \AtBeginDocument
to display a message unless it’s disabled.
Despite setting \pgfplotsset{compat=1.14,compat/show suggested version=false}
, I still see:
Package pgfplots notification 'compat/show suggested version=true': document has been generated with the most recent feature set (\pgfplotsset{compat=\mostrecent})
(note that I really do see \mostrecent
, it’s not being expanded)
This is the result of the stub implementation of \AtBeginDocument
in this project:
I think there might be hints to a proper implementation here, something using \appendtoks...\to\everystarttext
and maybe some \expandafter
magic.
Minimal working example (MWE)
\usemodule[pgfplots] % now \pgfplots@show@suggested@compat@value is already expanded and the message displayed \pgfplotsset{compat=1.14,compat/show suggested version=false} \starttext % the contents of \AtBeginDocument{...} should be expanded here \stoptext
I was too hasty. This is actually a problem in PGF. However, I can't seem to close the issue, there is no button.
Please close this for me.