From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93321 Path: news.gmane.org!not-for-mail From: "Jan U. Hasecke" Newsgroups: gmane.comp.tex.context Subject: Re: \replaceword and \setreplacements with xml files Date: Sat, 16 Jan 2016 15:58:36 +0100 Message-ID: <569A5A9C.3080605@mailbox.org> References: <569A285B.4090800@mailbox.org> <90554673-5F43-40A6-8288-B23C9F125887@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080605030609050808080907" X-Trace: ger.gmane.org 1452956367 7710 80.91.229.3 (16 Jan 2016 14:59:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jan 2016 14:59:27 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 16 15:59:15 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aKSJu-00088n-Kg for gctc-ntg-context-518@m.gmane.org; Sat, 16 Jan 2016 15:59:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3703961C9; Sat, 16 Jan 2016 15:58:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hZ2AV9sqAQdn; Sat, 16 Jan 2016 15:58:49 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id CF93161C7; Sat, 16 Jan 2016 15:58:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C662A61C5 for ; Sat, 16 Jan 2016 15:58:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jyC07NRzXnF9 for ; Sat, 16 Jan 2016 15:58:48 +0100 (CET) Original-Received: from mx2.mailbox.org (mx2.mailbox.org [80.241.60.215]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 4DA2C61C4 for ; Sat, 16 Jan 2016 15:58:38 +0100 (CET) Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id C7A2141F61 for ; Sat, 16 Jan 2016 15:58:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-type:content-type:in-reply-to:mime-version:user-agent :date:date:message-id:from:from:references:subject:subject :received; s=mail20150812; t=1452956316; bh=H9QZI6YrAdYN/KxXxnkO wZtaARo/t1WKhhd8ZfJ09ig=; b=FGZ19REdKeBWhGRtyXiaqiQ1qEbRecayyEWf 8++X95UsPVaL0K9Dg4bMHVG8cagx5jnPLBVF08+NAlIF259XPaEhJ5BsvjK9GJAQ Pj9qRde8gfXOBzHna4GkHDnoG1r0nqN8w7L7nXWCMf59P12Yogw8ldzJwcMX4/Uu dtloNbr4m9hl+u+uLGVJ0TvdH+ndkour1rk+GoKTInW0hHISgWczEK8Hhl5pxnrP foveCa6RUdxBVQEy9frre+iUWdeyur0F3z9294GqTSG62dmxksGNohRhmbZaLLfG 0TuQT76Sg9niBrNbffdWYmmHx1NL7/g15KaawbyfI5qhrvVwvA== X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id cVRw0ZHo3IbR for ; Sat, 16 Jan 2016 15:58:36 +0100 (CET) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <90554673-5F43-40A6-8288-B23C9F125887@uni-bonn.de> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:93321 Archived-At: This is a multi-part message in MIME format. --------------080605030609050808080907 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am 16.01.2016 um 13:31 schrieb Schmitz Thomas A.: >=20 > Please provide a minimal example of your problem. It=E2=80=99s impossib= le to > help when we have no clue what you=E2=80=99re doing. Sorry, of course. After setting up a mwe I found that it is a font related issue. When I don't specify a font, it works. --> example.tex When I choose EB Garamond, it does not work. -- example-Garamond.tex I confirmed this behaviour in my real setup. juh --------------080605030609050808080907 Content-Type: text/x-tex; name="example.tex" Content-Disposition: attachment; filename="example.tex" Content-Transfer-Encoding: quoted-printable \startbuffer[demo]

aufl=C3=B6sen, flie=C3=9Fend

\stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{p}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:p \xmlflush{#1} \stopxmlsetups \setupbodyfont [mainface, 16pt] \replaceword[sellig][aufl=C3=B6sen][au{fl}=C3=B6sen] \setreplacements[sellig] \starttext \xmlprocessbuffer{main}{demo}{} \stoptext --------------080605030609050808080907 Content-Type: text/x-tex; name="example-Garamond.tex" Content-Disposition: attachment; filename="example-Garamond.tex" Content-Transfer-Encoding: quoted-printable \startbuffer[demo]

aufl=C3=B6sen, flie=C3=9Fend

\stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{p}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:p \xmlflush{#1} \stopxmlsetups \definefontfamily [mainface] [rm] [EB Garamond] \setupbodyfont [mainface, 16pt] \replaceword[sellig][aufl=C3=B6sen][au{fl}=C3=B6sen] \setreplacements[sellig] \starttext \xmlprocessbuffer{main}{demo}{} \stoptext --------------080605030609050808080907 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --------------080605030609050808080907--