Hi Bruce, what i mean is to use the values of the Therion Tex-variables in a MetaPost symbol definition. To calculate some or to print it out. I don't no if there is a special syntax to get them. dirk -----Ursprüngliche Nachricht----- Von: therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] Im Auftrag von therion-request@speleo.sk Gesendet: Sonntag, 5. Juni 2016 00:42 An: therion@speleo.sk Betreff: Therion Digest, Vol 126, Issue 5 Send Therion mailing list submissions to therion@speleo.sk To subscribe or unsubscribe via the World Wide Web, visit http://mailman.speleo.sk/mailman/listinfo/therion or, via email, send a message with subject or body 'help' to therion-request@speleo.sk You can reach the person managing the list at therion-owner@speleo.sk When replying, please edit your Subject line so it is more specific than "Re: Contents of Therion digest..." Today's Topics: 1. MetaPost/Tex: variable \magdecl (Dirk Peinelt) 2. Re: MetaPost/Tex: variable \magdecl (Bruce) ---------------------------------------------------------------------- Message: 1 Date: Sat, 4 Jun 2016 13:05:12 +0200 From: "Dirk Peinelt" <dirk.peinelt@t-online.de> Subject: [Therion] MetaPost/Tex: variable \magdecl To: <therion@speleo.sk> Message-ID: <003b01d1be50$f7c6b130$e7541390$@t-online.de> Content-Type: text/plain; charset="us-ascii" 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