From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63856 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: How to get \iint? Date: Tue, 23 Nov 2010 12:07:56 -0500 (EST) Message-ID: References: <20101123161845.GC5475@smoon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1290532113 24608 80.91.229.12 (23 Nov 2010 17:08:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2010 17:08:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 23 18:08:25 2010 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.69) (envelope-from ) id 1PKwLv-0007i6-UB for gctc-ntg-context-518@m.gmane.org; Tue, 23 Nov 2010 18:08:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 81DC6CA873; Tue, 23 Nov 2010 18:08:23 +0100 (CET) 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 GknojJZPEb3H; Tue, 23 Nov 2010 18:08:20 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 87922CA86C; Tue, 23 Nov 2010 18:08:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 35AF9CA86C for ; Tue, 23 Nov 2010 18:08:19 +0100 (CET) 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 8+YDh6lAkTYj for ; Tue, 23 Nov 2010 18:08:13 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 427FACA842 for ; Tue, 23 Nov 2010 18:08:13 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oANH876U025194 for ; Tue, 23 Nov 2010 18:08:12 +0100 Original-Received: FROM adi-netbook (bas3-montreal02-1096683304.dsl.bell.ca [65.94.15.40]) By tombraider.mr.itd.umich.edu ID 4CEBF4F3.CA6B3.23260 ; Authuser adityam; 23 Nov 2010 12:08:03 EST In-Reply-To: <20101123161845.GC5475@smoon> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03DyF87ba - 0baaafe125b3 - 20101123 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:63856 Archived-At: On Wed, 24 Nov 2010, Vladimir Lomov wrote: > Hi. > > The command \iint is defined in context (mkiv) but it doesn't produce > the desired sign. What I should do to make it appear? (in log file I see > that LMMath font desn't contain such symbol but I don't know much about > font mechanism of context, btw in latex I could easily get that symbol > so I think it should be in 'standard' math font). No, the symbol is not in the 'standard' math fonts, and this is trouble. Like LaTeX, we also fake the glyph in MkII. In MkIV, we check if the font contains that glyph; if not we fake it. Currently, that test is failing. A temporary workaround (for LM) is to redefine: \def\repeatintegral#1#2#3% {\let\dointlimits\donothing \let\dodointlimits\intlimits %\iffontchar\textfont\zerocount#1\relax % %\edef\dodorepeatintegral{\utfchar{#1}}% % \let\dodorepeatintegral#2% %\else \fakerepeatintegral{#3}% %\fi \futurelet\next\dorepeatintegral} and then \iint \iiint etc will work. Hans, do you know what the \textfont check is not working for LM? The ideal solution is to add esint glyphs to the LM math virtual font. I did not work on this because I was assuming that opentype LM math will be out soon. But it seems that right now, the only decent opentype math font is Cambria. Both Stix and Asansa give really horrible spacing at times. Aditya ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________