From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37754 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: showfont with xetex (syntax changed?) Date: Thu, 6 Dec 2007 17:30:14 +0100 Message-ID: <6faad9f00712060830r4ce8142dr5389c4aa81d21981@mail.gmail.com> References: <91844FC2-0148-4347-A206-4B22915EBDE3@st.estfiles.de> <6faad9f00712060332s32be7922yf9b7e7788b4197f4@mail.gmail.com> <4757FDC7.5050103@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196958656 20939 80.91.229.12 (6 Dec 2007 16:30:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2007 16:30:56 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 06 17:31:05 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J0Jcv-0001EI-84 for gctc-ntg-context-518@m.gmane.org; Thu, 06 Dec 2007 17:31:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5E1731FB71; Thu, 6 Dec 2007 17:30:30 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19834-04-2; Thu, 6 Dec 2007 17:30:21 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6F3801FB30; Thu, 6 Dec 2007 17:30:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 287EF1FB6D for ; Thu, 6 Dec 2007 17:30:20 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21763-02-5 for ; Thu, 6 Dec 2007 17:30:16 +0100 (CET) Original-Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.226]) by ronja.ntg.nl (Postfix) with ESMTP id 224071FB30 for ; Thu, 6 Dec 2007 17:30:15 +0100 (CET) Original-Received: by nz-out-0506.google.com with SMTP id m7so109772nzf for ; Thu, 06 Dec 2007 08:30:14 -0800 (PST) Original-Received: by 10.143.160.1 with SMTP id m1mr1715205wfo.1196958614038; Thu, 06 Dec 2007 08:30:14 -0800 (PST) Original-Received: by 10.143.40.7 with HTTP; Thu, 6 Dec 2007 08:30:14 -0800 (PST) In-Reply-To: <4757FDC7.5050103@wxs.nl> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37754 Archived-At: On Dec 6, 2007 2:48 PM, Hans Hagen wrote: > Mojca Miklavec wrote: > > > But generally, LuaTeX is much more suitable for such previews (only > > that there might be no "newshowfont" available yet - writing one is > > doable if you know what you're interested in). > > > > My two cents: ConTeXt currenty uses > > smcp=yes,script=latn,onum=yes,liga=yes... > > while fontspec uses either > > Letters=SmallCaps > > Script=Latin > > Numbers=OldStyle > > Ligatures=Common > > or the same raw names as above. I would prefer the "human-readable" > > names as in fontspec, but ... well, the font calling mechanisms really > > need to improve in my opinion. > > > What fontspec achieves in one line like (copying from XeTeX list): > > \setmainfont[Script=Devanagari]{Sanskrit 2003} > > needs dozens of lines in ConTeXt (definefontfeature, define > > typescripts in two steps, ... brrrr) > > > > So in case that some more features in XeTeX/LuaTeX change, do not be > > surprised too much ... > > keep in mind that xetex and mkiv support will not be the same in all > those aspects; Well, to be honest, I wanted to ask you to do something similar to what you did with enco-utf :) once you finish the mkiv interface. That is, to auto-generate the list of feature mappings, so that the interface may remain the same in XeTeX as it is in LuaTeX, like \defineotflanguagesynonym[slovenian][slv] \defineotfscriptsynonym[latin][latn] then, language=dutch can switch on the ij ligature in LM in XeTeX as well :) (At least someone needs to fight for the rights of XeTeX users :) :) :) :) > i more or less expect users to use one or the other > engine and then become familiar with its specific interfaces That's true when people use LaTeX :) That fame of ConTeXt (write once, use everywhere) should not be dropped at once :( > anyhow, a next version of mkiv will support more verbose options, > > script=slovenian > smallcaps=true Great :) > basically anything in the script, language and feature hashes > (lowercased and de-spaced when compared) What about ['fin2'] = 'Terminal Forms #2', ['fin3'] = 'Terminal Forms #3', ['ccmp'] = 'Glyph Composition/Decomposition', ? :) :) :) (Not to be considered a serious question of course :) > something numbers=oldstyle could be supported but i see no real reason > for it since then we end up in endless lists of possibilities (given all > kind of combinations) Some examples: numbers=monospaced (+tnum) numbers=proportional (+pnum) numbers=lowercase/oldstyle (+onum) numbers=uppercase/lining (+lnum) numbers=[no]slashedzero (+zero) letters=normal letters=uppercase (+case) ___________________________________________________________________________________ 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 ___________________________________________________________________________________