Meer, Hans van der
H.vanderMeer at uva.nl
Sat May 14 21:13:41 CEST 2016
I think I did not state the problem clear enough.
The solution given here supposes that the fontsize is known beforehand.
However, what I am doing is calculating a font size based on the current one and than switch to that size.
It is part of a fontsize changing mechanism inside an xmlsetup. In short what I am doing is:
\advance\scratchdimen 'somevalue' \relax
% must keep the change local
The commented out \definebodyfontenvironment kills a lot of the font messages but I fear that each the time the same work is done as without it. The only benefit being the suppression of the font messages in the log ;-)
It might be impossible to accomplish this efficiently -- that is execute the font calculations once only for the given size. But at least I would like to give it a try.
Hans van der Meer
On 14 May 2016, at 20:00, Wolfgang Schuster <schuster.wolfgang at gmail.com<mailto:schuster.wolfgang at gmail.com>> wrote:
Meer, Hans van der<mailto:H.vanderMeer at uva.nl>
14. Mai 2016 um 17:55
I like to execute this statement
in order to avoid lots of error messages as such:
fonts > bodyfont '8.0pt' is defined (can better be done global
Is this definebodyfontenvironment macro fully executed each time it is called or does ConTeXt remember and execute it once only?
Just put it at the begin of the document.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ntg-context