[Therion] MetaPost/Tex: variable \magdecl
Dirk Peinelt
dirk.peinelt at t-online.de
Sat Jun 4 13:05:12 CEST 2016
Is there a way to handle the content of the \magdecl TEX-variable in
METAPOST? (Therion V5.3.16)
In a string or numeric? - I think, i've an syntax problem.
1.) string handling:
string dec;
%dec:="3.022"; % FINE!
dec:=\magdecl; % ERROR
p_label.top(thTEX(dec),(0,0),0,8); % >> string output
2.) numeric handling:
numeric dec;
%dec:=3.022; % FINE!
dec:=\magdecl; % ERROR
p_label.top(thTEX(decimal dec),(0,0),0,8); % >> numeric to string output
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160604/5fc4d84b/attachment.htm>
More information about the Therion
mailing list