[NTG-context] xml and lua again
schuster.wolfgang at googlemail.com
Fri Oct 28 10:35:46 CEST 2011
Am 28.10.2011 um 08:55 schrieb Thomas A. Schmitz:
> Luigi, Patrick,
> thanks for your explanations! The point of my question was: can I feed the content of tex.dimen["textwidth"] directly back to TeX, and the answer to this appears to be "no"; you need to add some unit to it (otherwise, you get an error message). Which was a bit confusing to me at first, because the name tex.dimen implies that it holds a "real" dimension, like \newdim does.
You can get the same value in TeX when you print the value of a dimension with \number:
More information about the ntg-context