From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95366 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \mainlanguage[pe] Date: Thu, 07 Jul 2016 19:32:00 +0200 Message-ID: <577E9210.5020103@gmail.com> References: <577D4E30.6060608@gmail.com> <577E6100.6000009@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8316730453780602821==" X-Trace: ger.gmane.org 1467912793 9690 80.91.229.3 (7 Jul 2016 17:33:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2016 17:33:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 07 19:33:02 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bLDAb-0005EX-Ve for gctc-ntg-context-518@m.gmane.org; Thu, 07 Jul 2016 19:33:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B806911287; Thu, 7 Jul 2016 19:32:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rheA-BvyLaZG; Thu, 7 Jul 2016 19:32:15 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id B012B11289; Thu, 7 Jul 2016 19:32:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0C18F11285 for ; Thu, 7 Jul 2016 19:32:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ul1PdRi_whfP for ; Thu, 7 Jul 2016 19:32:14 +0200 (CEST) Original-Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 9403E11281 for ; Thu, 7 Jul 2016 19:32:04 +0200 (CEST) Original-Received: by mail-wm0-f42.google.com with SMTP id r190so4103220wmr.0 for ; Thu, 07 Jul 2016 10:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=lnNlpwv8/+HyGD48rfYUP433jj89zw8DSvLAalh5LtE=; b=xdf/3EgvCYGTlvdF1CyEDaL/j0I2lGl6jvVWVz9eU3iVmPPwHRgEZ01QopKRlIFmiY npgJzqbxpM8puroWytryXb7/EBPuvqCCYi52Afj8/j2DQdzmVB2MRlJjDkoXHnpl6bCD OOOiY4KMvTREg2vh4lo8Ak7m243rzZ0lKz59LLyANPyJpd/DvJqakpAiYm+AkETagnJV kbiLh9mxccU49pDz59eCc4Q4I8mRo5cqhzfj44jD0WDivPnTL31n7XeJd6Il+BOVFzAh 2WCLPTd8Qw8/HVhxiQp4bVPRjoqAiQoD+ioKIoqIZUVIfF0TjOPyfXuxz04oESEp1FRX R3NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=lnNlpwv8/+HyGD48rfYUP433jj89zw8DSvLAalh5LtE=; b=bdyaSkF8yQ3Ge5CkwKHqquWHBuGjhTrr1r2NviQc+CNkBh8moOyJsk7P1P6TBslqOS 2UMnMMjclHCbrPm+j5xLV4gvNT4/xZc1NKftgfJwz4+LWTozxNQor22U9g1FV8xyf+a9 N9EyFVxxOv0vhVDmJ2zkRjwRQaOk81zIwItS1q+RbhscUtxAepBSTZBKNI6BPtcKBCpG jqvrm2kmdWX8hfOfKnJNOnXrXDtLBVRVt5Z87y1oJeMLqxE3ORxoiufxDLHeoViDoiLy ciSBhbzJpXvd8+FFTgxR71DzxXe4SITcDybvjNabrG2BQ34TMZDIgexw4V0TKSdokFzF jM/Q== X-Gm-Message-State: ALyK8tLt94Y3zp3GlyzcTprXcPz7h4yEFTO/irtKHBV0KktHwgxF9WNI0bkbyPofpBOsaQ== X-Received: by 10.194.58.239 with SMTP id u15mr1229515wjq.73.1467912723858; Thu, 07 Jul 2016 10:32:03 -0700 (PDT) Original-Received: from keima.localdomain (x2f27240.dyn.telefonica.de. [2.242.114.64]) by smtp.gmail.com with ESMTPSA id a129sm1415559wma.2.2016.07.07.10.32.02 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jul 2016 10:32:03 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95366 Archived-At: This is a multi-part message in MIME format. --===============8316730453780602821== Content-Type: multipart/alternative; boundary="------------090508060307050504030808" This is a multi-part message in MIME format. --------------090508060307050504030808 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Mohammad Hossein Bateni > 7. Juli 2016 um 16:31 > Thanks, Wolfgang! > > BTW why doesn't the following work? it gives the 'missing number' erro= r. > > % \mainlanguage[en] > \romannumerals{\currentdate[day]} > 1. The \currentdate command isn=E2=80=99t expandable and is therefore not= =20 expanded when you use it as argument for another command. 2. The \romannumerals commands expects a number as argument but=20 \currentdate returns more than a simple number. Wolfgang --------------090508060307050504030808 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
7.= =20 Juli 2016 um 16:31
Thanks= ,=20 Wolfgang!

BTW why doesn't the following work?=20 =C2=A0it gives the 'missing number' error.

% \mainlanguage[e= n]
\romannumerals{\currentdate[day]}

1. The \currentdate command isn=E2=80=99t expandable and is therefore not= =20 expanded when you use it as argument for another command.

2. The \romannumerals commands expects a number as argument but=20 \currentdate returns more than a simple number.

Wolfgang
--------------090508060307050504030808-- --===============8316730453780602821== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============8316730453780602821==--