[Therion] Therion Digest, Vol 126, Issue 7
Dirk Peinelt
dirk.peinelt at t-online.de
Tue Jun 7 23:09:11 CEST 2016
Ok, that works for me. I had not realised that there is also a metapost
variable.
dirk
-----Ursprüngliche Nachricht-----
Von: therion-bounces at speleo.sk [mailto:therion-bounces at speleo.sk] Im Auftrag
von therion-request at speleo.sk
Gesendet: Dienstag, 7. Juni 2016 12:00
An: therion at speleo.sk
Betreff: Therion Digest, Vol 126, Issue 7
Send Therion mailing list submissions to
therion at 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 at speleo.sk
You can reach the person managing the list at
therion-owner at speleo.sk
When replying, please edit your Subject line so it is more specific than
"Re: Contents of Therion digest..."
Today's Topics:
1. Re: MetaPost/Tex: variable \magdecl (Martin Budaj)
----------------------------------------------------------------------
Message: 1
Date: Mon, 6 Jun 2016 18:20:45 +0200
From: Martin Budaj <m.budaj at gmail.com>
Subject: Re: [Therion] MetaPost/Tex: variable \magdecl
To: List for Therion users <therion at speleo.sk>
Message-ID:
<CALPsdSu4S4xZbEyu1Q7_rcv7=1JpLgs4vmzpW1pv5iBYUkYuhA at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Hi,
TeX variables are not accessible in MetaPost. However, there is a numeric
MagDecl variable in MetaPost (see the chapter New map symbols in the
thbook).
Martin
On Sat, Jun 4, 2016 at 1:05 PM, Dirk Peinelt <dirk.peinelt at t-online.de>
wrote:
> 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
>
>
>
>
>
>
>
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>
------------------------------
_______________________________________________
Therion mailing list
Therion at speleo.sk
http://mailman.speleo.sk/mailman/listinfo/therion
End of Therion Digest, Vol 126, Issue 7
***************************************
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compassrose.txt
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160607/73fbc51d/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: northarrow.jpg
Type: image/jpeg
Size: 18438 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160607/73fbc51d/attachment.jpg>
More information about the Therion
mailing list