From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14519 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: \enableregime, \setupbodyfont and the amsl module Date: Tue, 13 Jan 2004 17:15:46 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <949706400.20040113171546@iol.it> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1074010625 2561 80.91.224.253 (13 Jan 2004 16:17:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2004 16:17:05 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Jan 13 17:17:02 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AgRDy-0005Bu-00 for ; Tue, 13 Jan 2004 17:17:02 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id A5C0610B3B; Tue, 13 Jan 2004 17:16:19 +0100 (MET) Original-Received: from mbox.dmi.unict.it (mbox.dmi.unict.it [151.97.252.66]) by ref.ntg.nl (Postfix) with ESMTP id 82D6510B2C for ; Tue, 13 Jan 2004 17:15:25 +0100 (MET) Original-Received: from oblomov.dipmat.unict.it (oblomov.dipmat.unict.it [151.97.252.27]) by mbox.dmi.unict.it (Postfix) with ESMTP id 98057C6EA7 for ; Tue, 13 Jan 2004 17:25:23 +0100 (CET) X-Priority: 3 (Normal) Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14519 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14519 Hi Hans and all, a user on it.comp.software.tex just noticed a funny interaction between the amsl module and an appropriate choice of fonts and encodings. The following minimal test file shows the problem: \setupbodyfont[ber,pos] \usemodule[nath] \enableregime[il1] \starttext \`e =E8 un'attivit=E0 \stoptext=20 Notice that accented letters come out like letters with two commas below. The amsl module has to resort to this trick: %D Font Stuff %D %D First of all, we need Fraktur to be loaded correctly, something %D which ConTeXt doesn't do by default (at least by now) %D Can't find a better, faster, cleaner way to do it; %D it should probably be added to ConTeXt default for AMS, anyway \definebodyfont [12pt,11pt,10pt,9pt] [mm] [mc=3Deufm10 sa 1] \definebodyfont [8pt,7pt,6pt] [mm] [mc=3Deufm7 sa 1] \definebodyfont [5pt] [mm] [mc=3Deufm5] %D to make sure they get loaded, we make a font change %D we restore rm afterwards, not having a way to decide which one %D was active (anyway, rm is a pretty safe bet when loading %D a module \dots) \switchtobodyfont[mm] \switchtobodyfont[rm] So I *know* where the problem comes form, but I don't know how to fix this. Can anybody come up with a sensible solution? --=20 Giuseppe "Oblomov" Bilotta