@JosephWright -- could you please "rescue" a question from being closed?
tex.stackexchange.com/q/294848 has a pointer to a question for which the answer
used to be the recommended method, but an improved method has been made available; i've updated the old answer to point to this new one, but with 4 close votes, ...