From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28600 Path: news.gmane.org!not-for-mail From: "Idris Samawi Hamid" Newsgroups: gmane.comp.tex.context Subject: Re: Aleph queries Date: Thu, 15 Jun 2006 10:28:02 -0600 Organization: Colorado State University Message-ID: References: <44911A97.9090504@capdm.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150388925 18291 80.91.229.2 (15 Jun 2006 16:28:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Jun 2006 16:28:45 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 15 18:28:42 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1Fquhu-0005SO-8f for gctc-ntg-context-518@m.gmane.org; Thu, 15 Jun 2006 18:28:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 71F38127DD; Thu, 15 Jun 2006 18:28:34 +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 26521-04-3; Thu, 15 Jun 2006 18:28:26 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 46FDD1279B; Thu, 15 Jun 2006 18:28:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EA70A12792 for ; Thu, 15 Jun 2006 18:28:24 +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 26521-04-2 for ; Thu, 15 Jun 2006 18:28:21 +0200 (CEST) Original-Received: from trueband.net (trueband.net [216.163.120.10]) by ronja.ntg.nl (Postfix) with SMTP id 2F0B81279B for ; Thu, 15 Jun 2006 18:28:20 +0200 (CEST) Original-Received: (qmail 16674 invoked by uid 1006); 15 Jun 2006 16:28:18 -0000 Original-Received: from ishamid@colostate.edu by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.0. Clear:SA:0(0.0/100.0):. Processed in 0.816341 secs); 15 Jun 2006 16:28:18 -0000 Original-Received: from unknown (HELO trueband.net) (172.16.0.7) by -v with SMTP; 15 Jun 2006 16:28:17 -0000 Original-Received: (qmail 2179 invoked from network); 15 Jun 2006 16:28:08 -0000 Original-Received: from unknown (HELO walayah-main) (70.41.6.26) by -v with SMTP; 15 Jun 2006 16:28:08 -0000 Original-To: "mailing list for ConTeXt users" , "Duncan Hothersall" In-Reply-To: <44911A97.9090504@capdm.com> User-Agent: Opera M2/8.54 (Win32, build 7730) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:28600 Archived-At: Hi Duncan, On Thu, 15 Jun 2006 02:30:15 -0600, Duncan Hothersall wrote: > Using the fantastic resources from Idris' messages on this list, and the > Aleph page on the Wiki, I have managed to start producing Arabic PDF > output directly from UTF-8 sources using Aleph and dvipdfmx. This is > great, thanks so much. Glad you liked it:-) > I have just one or two queries and things I wasn't able to make work. I > hope someone can help. > > My test file is here: > http://www.capdm.com/public/context/omarab-queries1.tex > And the output it generates is here: > http://www.capdm.com/public/context/omarab-queries1.pdf > > > First question - how do I get italic text? The first three paragraphs in > the test are identical content, but the second has {\it ...} around it > and the third has {\bf ...} around it. The third para comes out > perfectly in bold, but the second para looks the same as the first. How > can I get italics? There is no italic font, only regular and bold, so \it just maps to the default regular font. > Second question - that same first para contains 5 ligatures. They don't > seem to match the rest of the font. Is this a set-up issue, or is it the > way the font is designed? If it is a set-up issue, is there a way to fix > it? Both :-) You could edit the cuni2oar otp (and recompile it) so that it ignores the ligatures you don't like, or you could put a kashidah between the two letters whose ligature you want to break. Better is to define an "empty" kashidah so that you can manually break the ligature without stretching the word. I'll look into this in the next few days (busy right now) if you remind me-) > Third and final question - I inserted a section and two subsections to > demonstrate that the numbering of subsections is left-to-right. How can > I make it right-to-left? (Explanation: the PDF shows section "1", and > then subsections "1-1" and "1-2"; reading the numbers from > right-to-left, I need it to show as section "1" and then subsections > "1-1" and "2-1". In the subsection the "1" should come first when > reading rtl.) Add \reversesectionnumberstrue to your Arabic definition: \def\ArabicUTF{\ArabicDirGlobal\usefiltersequence[UTFArabic] \reversesectionnumberstrue\switchtobodyfont[omarb]} Ideally when one selects global RL this should happen automatically. This is being planned for the future :-) Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/