Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Wed, 11 Nov 2009 01:46:40 +0100 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id nAB0kdBJ004244 for ; Wed, 11 Nov 2009 01:46:39 +0100 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 nAB0hKqX011005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Nov 2009 01:43:20 +0100 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id nAAN1pew026172; Wed, 11 Nov 2009 01:43:12 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 349807 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 11 Nov 2009 01:43:11 +0100 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id nAB0hBvL002494 for ; Wed, 11 Nov 2009 01:43:11 +0100 Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.210.172]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id nAB0h4B8012539 for ; Wed, 11 Nov 2009 01:43:09 +0100 Received: by yxe2 with SMTP id 2so540268yxe.18 for ; Tue, 10 Nov 2009 16:43:04 -0800 (PST) Received: by 10.150.39.9 with SMTP id m9mr1556250ybm.35.1257900184206; Tue, 10 Nov 2009 16:43:04 -0800 (PST) Received: from ?129.127.15.244? ([129.127.15.244]) by mx.google.com with ESMTPS id 5sm467169ywd.53.2009.11.10.16.43.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 10 Nov 2009 16:43:03 -0800 (PST) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) References: <19189.17593.814557.704925@morse.mittelbach-online.de> <4AF5A79B.9040003@residenset.net> <19189.49743.74826.581704@morse.mittelbach-online.de> <004001ca6051$e9e35e10$bdaa1a30$@de> <19192.38156.431785.622764@morse.mittelbach-online.de> <002101ca61d4$f322ddf0$d96899d0$@de>, <20C53106-7650-4EAC-82C1-BEF0EFA17816@gmail.com> <200911102144.nAALiX8D024641@edinburgh.nag.co.uk> <200911102238.nAAMc9WM026307@edinburgh.nag.co.uk> X-Mailer: Apple Mail (2.936) X-Spam-Whitelist: Message-ID: <42D1831D-D62C-4D86-AE6A-96EEDC0488F9@gmail.com> Date: Wed, 11 Nov 2009 11:12:58 +1030 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: mathml (was: an object type for heading commands) To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <200911102238.nAAMc9WM026307@edinburgh.nag.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -6.599 () BAYES_00,RCVD_IN_DNSWL_MED X-Scanned-By: MIMEDefang 2.65 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 11 Nov 2009 00:46:40.0675 (UTC) FILETIME=[6EB1D730:01CA6268] Status: R X-Status: X-Keywords: X-UID: 6166 On 11/11/2009, at 9:08 AM, David Carlisle wrote: >> How do you access the unicode range of symbols in pmml2tex? I mean, >> obviously they can be translated to TeX names via bb's STIX table, > > actually older data than the stix table > > http://www.w3.org/2003/entities/2007xml/unicode.xml > > which began life in Sebastian's jadetex distribution a lifetime ago. > Although I sync up with barbara from time to time... Aditya working with the ConTeXt guys is interested in putting together a "master copy" for defining unicode math csnames in both ConTeXt & LaTeX. But for now my canonical reference is bb. Your unicode.xml file defines math alphabets with names \mathsfbfsl and so on which is similar to what I have in unicode-math but not identical. Do they come from anywhere or are they essentially arbitrary? > But actually coverage in pmml2tex at the character level isn't that > great > I was sort of hoping "someone" would sort that out automatically if I > dropped in (say) xetex and the stix fonts at the back end instead:-) If you're happy to experiment, then my unicode-math package should help you out there: It's not yet on CTAN because I keep adding things (and perhaps not quite finishing others) but it's become a lot more stable/useful recently. (It sort of works in LuaTeX at the moment as far as accessing glyphs go, but I believe that OpenType math support is non- existent. Gotta replicate what Hans et Taco have done for ConTeXt MkIV, as far as I know.) It's not exactly set up to use the STIX fonts out of the box because it expects (by default) all math symbols/chars/glyphs to exist within a single font. E.g., it works best with \usepackage{unicode-math} \setmathfont{Cambria Math} Having said that, in theory this is supposed to work: (assuming there are no bugs at the moment!) \setmathfont{STIXGeneral} \setmathfont[range={\mathit,\mathsfit,\mathscr}]{STIXGeneral- Italic} \setmathfont[range={\mathbfup,\mathbffrak,\mathbfscr,\mathbfsfup}] {STIXGeneral-Bold} \setmathfont[range={\mathbfit,\mathbfsfit}]{STIXGeneral-BoldItalic} But I haven't actually tested this properly yet...oops. Let me know if you're interested and I'll scurry away and do my groundwork properly. -- Will