From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53190 Path: news.gmane.org!not-for-mail From: Matthijs Kooijman Newsgroups: gmane.comp.tex.context Subject: Re: Passing variables into context Date: Wed, 30 Sep 2009 13:36:34 +0200 Message-ID: <20090930113634.GU4289@katherina.student.utwente.nl> References: <20090930112727.GS4289@katherina.student.utwente.nl> <4AC34107.6050006@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0869054582==" X-Trace: ger.gmane.org 1254310613 10892 80.91.229.12 (30 Sep 2009 11:36:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Sep 2009 11:36:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 30 13:36:46 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MsxUE-0001S8-LG for gctc-ntg-context-518@m.gmane.org; Wed, 30 Sep 2009 13:36:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A137EC9AC7; Wed, 30 Sep 2009 13:36:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DbVef9+OEI3p; Wed, 30 Sep 2009 13:36:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 878DEC9AD9; Wed, 30 Sep 2009 13:36:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5E617C9AD9 for ; Wed, 30 Sep 2009 13:36:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BT3AQodmGKYn for ; Wed, 30 Sep 2009 13:36:34 +0200 (CEST) Original-Received: from katherina.student.utwente.nl (katherina.student.utwente.nl [130.89.168.160]) by balder.ntg.nl (Postfix) with ESMTP id 88030C9AC7 for ; Wed, 30 Sep 2009 13:36:34 +0200 (CEST) Original-Received: from matthijs by katherina.student.utwente.nl with local (Exim 4.69) (envelope-from ) id 1MsxU2-0006cb-FL for ntg-context@ntg.nl; Wed, 30 Sep 2009 13:36:34 +0200 Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <4AC34107.6050006@elvenkind.com> X-PGP-Fingerprint: 7F6A 9F44 2820 18E2 18DE 24AA CF49 D0E6 8A2F AFBC X-PGP-Key: http://katherina.student.utwente.nl/~matthijs/gpg_pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:53190 Archived-At: --===============0869054582== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Sh7h4lnU5nPTsIof" Content-Disposition: inline --Sh7h4lnU5nPTsIof Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Taco, > You should try \the\textwidth Thanks, that works. Could you enlighten me as to what \the does and why this helps? Does Context treat \the specially within metapost code (which seems so, since there are more \the examples in the metafun manual), or is it expanded before getting inserted into metapost? Using this in arithmetic gets slightly more complicated (0.5\the\textwidth doesn't work, but since this gets put into metapost, 0.5 * \the\textwidth does work). Gr. Matthijs --Sh7h4lnU5nPTsIof Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkrDQsIACgkQz0nQ5oovr7w/4QCgwwws3RNfjpG+nSKWLunDUeBH vYcAn3sF7UdGCdNl6MhPtwVZH8RzJqMQ =esY3 -----END PGP SIGNATURE----- --Sh7h4lnU5nPTsIof-- --===============0869054582== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0869054582==--