From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34191 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: xetext-pdftex differences Date: Wed, 11 Apr 2007 17:44:18 +0200 Message-ID: <6faad9f00704110844x377d61dao3f5cad8d433707cb@mail.gmail.com> References: <20070408221618732639.581a6a4d@st.estfiles.de> <6faad9f00704101227u1fd43e52wf55050e5cc918374@mail.gmail.com> <20070411110917406329.47c0f948@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1176306284 8936 80.91.229.12 (11 Apr 2007 15:44:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2007 15:44:44 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 11 17:44:34 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 1Hbezq-0003W2-55 for gctc-ntg-context-518@m.gmane.org; Wed, 11 Apr 2007 17:44:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B6DAC1FD76; Wed, 11 Apr 2007 17:44:31 +0200 (CEST) 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 04907-03; Wed, 11 Apr 2007 17:44:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 556901FD4A; Wed, 11 Apr 2007 17:44:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C25361FD4A for ; Wed, 11 Apr 2007 17:44:22 +0200 (CEST) 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 04308-05-3 for ; Wed, 11 Apr 2007 17:44:19 +0200 (CEST) Original-Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.179]) by ronja.ntg.nl (Postfix) with ESMTP id 7C10E1FD47 for ; Wed, 11 Apr 2007 17:44:19 +0200 (CEST) Original-Received: by ik-out-1112.google.com with SMTP id c28so220858ika for ; Wed, 11 Apr 2007 08:44:19 -0700 (PDT) Original-Received: by 10.78.158.11 with SMTP id g11mr152151hue.1176306258835; Wed, 11 Apr 2007 08:44:18 -0700 (PDT) Original-Received: by 10.78.155.2 with HTTP; Wed, 11 Apr 2007 08:44:18 -0700 (PDT) In-Reply-To: <20070411110917406329.47c0f948@st.estfiles.de> 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:34191 Archived-At: On 4/11/07, Steffen Wolfrum wrote: > Moica, thanks for your detailed support! > > On Tue, 10 Apr 2007 21:27:47 +0200, Mojca Miklavec wrote: > >> Where do I go when I experience differences between context/pdftext > >> and context/xetex? > > > > What do you mean? > > these: > > >> For example with context/xetex I get ... > >> > >> ! Undefined control sequence. > >> \stopframedtext ->\dostopframedtext > > > ... > >> ... and I do get "SS" instead of eszett ("=DF") with the following: > > > > Interesting effect ... (as if the encoding was unknown) > > > I have to admit that it I never understood which encoding to use when.... Me neither. Until I figured out that some of my letters were missing in texnansi. texnansi & ec are 8-bit encodings used by "old" TeX (pdfTeX) and only support 256 different characters. (you need to use a different encodings for greek, cyrillic, vietnamese, ...) The main problem is that XeTeX is not really backward compatible in that respect: old fonts don't work since XeTeX thinks that the glyphs are unicode-encoded, but they're in ec/texnansi/whatever other encoding. If it nevertheless works, that is by a pure coincidence (when you only need English letters ...). In case that you would want to get the old fonts working with XeTeX, you need to ask Jonathan. He said that it might be implemented, but it's not really high on the priority list (it's just a problem during transition state when 8'bit fonts still dominate in the TeX world). LuaTeX will probably support those old encodings, but you would want to use "uc" (unicode) encoding for both engines, otherwise it makes no sense to use XeTeX instead of pdfTeX at all. > if, for example, I just write english/german/french then I could also use= texnansi, this works perfect : > > \usetypescriptfile[type-gyr] > \usetypescript[times][texnansi] > \mainlanguage[de] > \enableregime[utf] > > \setupbodyfont[times,9pt] That's because texnansi is based on "ansi" in the upper half of the table and unicode is "by accident" the same in that area. So it's really "coincedence" that it works. You should not use it that way unless you have no better choice. > > Which version of ConTeXt? It works OK here with 2007.03.22, but I need > > to try the new beta. In principle this should not happen, it's > > probably a bug or some other local problem. > > it is version 2007.01.12 (didn't you recommend to stay with the january v= ersion?) It depends on what you want to do. The current version is indeed not stable in that respect. > > >> Whom to tell this? > > > > Mailing list is the perfect place. > > > I was wondering whether the xetex or the context list is better as it is = a mixed xetex/context-topic > and for Adam is in "paternity leave" I had no idea on which list someone = continues. All of your questions mentioned here belong to the ConTeXt mailing list (XeTeX mailing list is mostly for XeLaTeX and low-level XeTeX discussions) since it's really about the ConTeXt user-interface. The only thing you could ask for on the XeTeX list is the question of supporting ec/texnansi-encoded fonts (I prefer to wait for luaTeX than to bother about those "soon-to-become-obsolete" additions). > > > At the beginning I had problems with XeTeX as well since Times > > resolved to 'Times Roman:mapping=3Dtex-text', which resolved to the name > > 'mapping=3Dtex-text' (a side effect of recent that should probably be > > fixed somehow in the near future), but that problem disappeared later. > > I had to temporary fix this (leftovers before TeXGyre family managed > > to overload everything perhaps?): > > > right, "Times Roman:mapping=3Dtex-text": This also happened to me when us= ing ... > > \usetypescriptfile[type-gyr] > \usetypescript[times][uc] > > ... that's why I used ... > > \usetypescriptfile[type-gyr] > \usetypescript[times][ec] > > > ... but probably I should have used "texnansi" (see above). You should try to get "uc" working if possible, but you need to add some definitions from my previous mail. If you want to stick with texnansi, you should better use pdfTeX. Mojca