On 08/01/2012 10:32, Frank Mittelbach wrote:
> I just had a look into the following question on TeX.sx:
> http://tex.stackexchange.com/questions/40330/centered-captions-containing-vref-may-not-always-appear-as-expected

> Anybody some good ideas how to address topic this in a general fashion?

Not really, but tabularx has to play this game a lot

% Added at v1.05: dissable "\write"s during a trial run.
% Since v1.05 reset all \LaTeX\ counters, by executing "\TX@ckpt".

Not entirely successful as I recall, but it hasn't had too many 
complaints in practice.