From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111044 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jbf Newsgroups: gmane.comp.tex.context Subject: Arabic place names Date: Sat, 10 Apr 2021 09:05:37 +1000 Message-ID: <04237323-dfa8-e0a1-8550-288cb52e2d56@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1727667740556335660==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17649"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 10 01:06:11 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lV0CY-0004T1-4y for gctc-ntg-context-518@m.gmane-mx.org; Sat, 10 Apr 2021 01:06:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 06EF12824BD; Sat, 10 Apr 2021 01:05:46 +0200 (CEST) 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 pxe1rlmMpjmc; Sat, 10 Apr 2021 01:05:44 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 864812824E7; Sat, 10 Apr 2021 01:05:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6B3F52824E5 for ; Sat, 10 Apr 2021 01:05:44 +0200 (CEST) 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 u7caRDwH5qfi for ; Sat, 10 Apr 2021 01:05:43 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.215.171; helo=mail-pg1-f171.google.com; envelope-from=roma83537@gmail.com; receiver= Original-Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 728152824BD for ; Sat, 10 Apr 2021 01:05:43 +0200 (CEST) Original-Received: by mail-pg1-f171.google.com with SMTP id y32so4987776pga.11 for ; Fri, 09 Apr 2021 16:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=CUE8cb/UNl1FnUqlSnxxRoEYJXMPe/y3nk2avQ6WnuM=; b=cDKcMueTkqM5XioP72+Ujs/O8lMk/K/VeZXeqqnpAAtbp5DA8cn8WLY+Wmt1YjWs+i i8p+L8NLwvNT6AG08m9oVUd8Ixo7zZudWXvuWazgByjYVdHYT9qjccI2wG+1ksGWkCZy 4T6MxkwA2HbDY9siQoGiJu6bLs0fl1n/J1c643wSjjENWtCjtCS8eUlGda0TYjT4L6dz JVvdcg7ceZJbkIqHqdFCgAxtRmyhp/OImtvObGEo4jc3iAp9PPbMXJYcEOHHM0H3WtN7 jJqCgVhPE77g8OzHphs3uORmkuvYahzCpQPhvlSaYmBI/n8TaF0SuLmqRPUaOSCvY6Ur 80xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=CUE8cb/UNl1FnUqlSnxxRoEYJXMPe/y3nk2avQ6WnuM=; b=XPoK8F0TFUYbdg4kTPFTVpkHORqql2G7NwZgekCH8YalP++tXKdREOBgsCaPOfpX4e 55EWLq38ViPTDB6jbA76hSoNpJSEMsYqMB21ZW3l4rMrSbjkDq8yLfBlsNIwO8lX20BG Uhi+fc5EsnFn12vyszLCcqg7Dr3JtW6vEySjcXDYYgKlj2sNr/4gIaZWdEhhVu27tDlA AUoy9Scj+oUOOPavfWXCANCCft9O31hVB4N9/AFoorwTiR8ADa/jTHjnOOPvG34nqsNc IOvwcmsE9bB35FHHW1E9a17u3yJtG+HWJMmbJYJZS1l1+c0utKotz09YlG2/pnkTLLW7 myyg== X-Gm-Message-State: AOAM530pPJDjbdyXDZqNSFEonUqrkiQLk2TJIYFfh9O46ib+ihxbyHZB ceXKVx/Eyc7xCjownLm+w2XjZcVpyAm5mA== X-Google-Smtp-Source: ABdhPJypa5hNarnEpwstBTRtiLaxmY3MuBckc7il1EJAYByxZAH0Bm5K+Aw8Ln3VA2cIaJNV9AoaNA== X-Received: by 2002:a62:1757:0:b029:23e:9917:7496 with SMTP id 84-20020a6217570000b029023e99177496mr14532526pfx.51.1618009541188; Fri, 09 Apr 2021 16:05:41 -0700 (PDT) Original-Received: from [192.168.0.100] ([120.21.210.32]) by smtp.gmail.com with ESMTPSA id v8sm3035761pfm.128.2021.04.09.16.05.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Apr 2021 16:05:40 -0700 (PDT) Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:111044 Archived-At: This is a multi-part message in MIME format. --===============1727667740556335660== Content-Type: multipart/alternative; boundary="------------203430543248328DDA828572" Content-Language: en-US This is a multi-part message in MIME format. --------------203430543248328DDA828572 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit I have a lengthy text in English which occasionally uses Arabic place names in brackets, e.g. Khàbab ( خبب )is a Syrian town 50 km south of Damascus The text is copy-pasted from a Word file, so I do not have to type the Arabic as such, and would not know how to do that anyway. Since I never usually have to work with Arabic script (though I do have a font installed and recognised by ConTeXt (with the usual mtxrun commands) I am not sure how to achieve this. There might be just half a dozen of these place names involved in a text of some 300 pages worth. The font, BTW is Arslan Wessam A.ttf My humble attempt: I did the following in my preamble: \definefallbackfamily [mainface] [sans] [aarslanwessama] [range=arabic] The rest of the [mainface] setups are obviously western fonts. But the fallbackfamily approach did nothing to help. I also tried: Khàbab {\switchtobodyfont[aarslanwessama](خبب)} is a Syrian town 50 km south of Damascus...  but that did nothing either. Am quite out of my depth with this one so any help would be appreciated. Julian --------------203430543248328DDA828572 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

I have a lengthy text in English which occasionally uses Arabic place names in brackets, e.g.

Khàbab ( خبب )is a Syrian town 50 km south of Damascus

The text is copy-pasted from a Word file, so I do not have to type the Arabic as such, and would not know how to do that anyway.

Since I never usually have to work with Arabic script (though I do have a font installed and recognised by ConTeXt (with the usual mtxrun commands) I am not sure how to achieve this. There might be just half a dozen of these place names involved in a text of some 300 pages worth. The font, BTW is Arslan Wessam A.ttf

My humble attempt: I did the following in my preamble:

\definefallbackfamily [mainface] [sans] [aarslanwessama] [range=arabic]

The rest of the [mainface] setups are obviously western fonts. But the fallbackfamily approach did nothing to help. I also tried:

Khàbab {\switchtobodyfont[aarslanwessama](خبب)} is a Syrian town 50 km south of Damascus...  but that did nothing either.

Am quite out of my depth with this one so any help would be appreciated.

Julian

--------------203430543248328DDA828572-- --===============1727667740556335660== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1727667740556335660==--