Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id s6FE5VY6011697 for ; Tue, 15 Jul 2014 16:05:32 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx011) with ESMTPS (Nemesis) id 0LhC8V-1WkJSE0C2B-00oZGb for ; Tue, 15 Jul 2014 16:05:25 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s6FE10Kq021743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Jul 2014 16:01:00 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s6FBX0Yl001267; Tue, 15 Jul 2014 16:00:59 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 11203053 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 15 Jul 2014 16:00:59 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s6FE0x9R024055 for ; Tue, 15 Jul 2014 16:00:59 +0200 Received: from mail-qg0-f54.google.com (mail-qg0-f54.google.com [209.85.192.54]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s6FE07JA021357 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Tue, 15 Jul 2014 16:00:10 +0200 Received: by mail-qg0-f54.google.com with SMTP id z60so3294334qgd.41 for ; Tue, 15 Jul 2014 07:00:07 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.224.163.11 with SMTP id y11mr34052282qax.43.1405432807543; Tue, 15 Jul 2014 07:00:07 -0700 (PDT) Received: by 10.96.131.78 with HTTP; Tue, 15 Jul 2014 07:00:07 -0700 (PDT) References: <539432A6.7030205@clear.net.nz> <5395A7A3.7040106@residenset.net> <5395AA02.8040704@morningstar2.co.uk> <53BF8686.2060201@morningstar2.co.uk> <53C0131F.2030404@morningstar2.co.uk> <53C09731.6080004@clear.net.nz> <53C0BDC3.9010007@clear.net.nz> Content-Type: text/plain; charset=UTF-8 Message-ID: Date: Tue, 15 Jul 2014 10:00:07 -0400 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Bruno Le Floch Subject: Re: Juxtaposition in l3fp To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <53C0BDC3.9010007@clear.net.nz> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:W2dwqeTlVj8=:h6hiPh/sDJsRzoMMqrio/WlUlJ I91F5h4/ELpBvelXLCEBcJpPYbK9iFZlmLRMJYeUiG51qk6VHQN7mvLOTyf9ynHWbKjqLOeqi bBQmIDLNAwkFLUnH2Y7ZnKhINFmR0Oa4m7XP94KH/fst5zZfzaBacUnDNgleRFkowyH/uP1m5 o5aOOFmjLLfF+HUKAjwVc2CJFI16eTTuuSOWhFItCVhKlRObY8C5f40AN37jqdgMd7u7gXv9b o6S+oFMNG+bDZfdcn8xfwXPAoXi7ibzqyEzn+2QR7fBW53rFusDJuXBJZDDsE9xoUUlN4oqe4 Sf+ALq3EmfJkhWSBIBa0KwtHprGA1uvq54Syz1NqLJSdL9pxOC1f2KR6O4miX9NV+mKFN1aOI MUup8ZOhx1iR4rbOli0UkP8CCVLB5o7d1i73SsZOTHpwRSBxCA8dThMaEJVDsfyTE/XVMtboQ nKf5TA885UyjaDPRk+ngsYibSEBJ6jYjCovuMnFqfXfg+1qjFkm8P6D9b5F8LBbP+wkZk+z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59haB9G482SpbVdNmBmNDezRdPmD9Jzne62M= Status: R X-Status: X-Keywords: X-UID: 7551 On 7/12/14, aparsloe wrote: > On 12/07/2014 3:13 p.m., Bruno Le Floch wrote: >> Can you expand on that one exception? I don't see what it is. > I found myself on occasion wanting to substitute a number in expressions > where pi is followed by other terms. For instance the fine structure > constant is 2pi e^2/hc (where e is the electronic charge in this case) > but direct substitution of values for e etc. simply provokes an > "Undefined control sequence" message. Since numbers are not (as far as I > understand) elements of control sequences, this felt like an unnecessary > limitation. (But I'm not familiar with the underlying constraints. Hence > the "perhaps".) Not sure what you mean here. Doing \fp_show:n { 2pi e^2/hc } gives two errors: \LaTeX3 error: Unknown fp word pie. \LaTeX3 error: Unknown fp word hc. Doing \fp_const:Nn \c_aparsloe_e_fp { 1.60217657e-19 } \fp_const:Nn \c_aparsloe_h_fp { 6.62606957e-34 } \fp_const:Nn \c_aparsloe_c_fp { 299 792 458 } \fp_show:n { 2pi \c_aparsloe_e_fp ^2 / ( \c_aparsloe_h_fp \c_aparsloe_c_fp ) } works (except that since I've used values in SI units for e, h, c, the formula for the fine structure constant is missing a factor of sqrt(4pi*epsilon0)). > As I've tried to indicate, I've come to realise that what matters is > clarity in what the rules are and the rigour of their application. My > concern was with people who might, at present, use a (clunky?) package > like calc, or fp, coming across l3fp, being seduced (like me) and coming > a cropper (as I did). The proposed change will certainly reduce that > possibility. I'm not sure what change you propose (besides the precedence of juxtaposition, which will change soonish), and it will be helpful if you clarify. Regards, Bruno