ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Arabic place names
@ 2021-04-09 23:05 jbf
  2021-04-10 12:39 ` Arthur Rosendahl
  0 siblings, 1 reply; 4+ messages in thread
From: jbf @ 2021-04-09 23:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1082 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 2915 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-11  9:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 23:05 Arabic place names jbf
2021-04-10 12:39 ` Arthur Rosendahl
2021-04-10 22:47   ` jbf
2021-04-11  9:21     ` Arthur Rosendahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).