From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49175 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?2YjZgdinINiu2YTbjNmC24w=?= Newsgroups: gmane.comp.tex.context Subject: Re: new beta Date: Wed, 8 Apr 2009 16:15:55 +1000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2097849818==" X-Trace: ger.gmane.org 1239171426 29583 80.91.229.12 (8 Apr 2009 06:17:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2009 06:17:06 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 08 08:18:21 2009 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 lo.gmane.org with esmtp (Exim 4.50) id 1LrR6u-0000sk-4l for gctc-ntg-context-518@m.gmane.org; Wed, 08 Apr 2009 08:18:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 01EEE1FB3C; Wed, 8 Apr 2009 08:16:42 +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 05687-01; Wed, 8 Apr 2009 08:16:05 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8D73A1FB14; Wed, 8 Apr 2009 08:16:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F3B1A1FB14 for ; Wed, 8 Apr 2009 08:16:04 +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 04880-02-3 for ; Wed, 8 Apr 2009 08:15:57 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 4CD9A1FADB for ; Wed, 8 Apr 2009 08:15:57 +0200 (CEST) Original-Received: from mail-qy0-f132.google.com (mail-qy0-f132.google.com [209.85.221.132]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n386Ftao014426 for ; Wed, 8 Apr 2009 08:15:56 +0200 Original-Received: by qyk38 with SMTP id 38so5416350qyk.16 for ; Tue, 07 Apr 2009 23:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=fBCXEDjNFdCkGDMiruqfm+x3+hJvQFCB+xlFv8irPdo=; b=kJe6oGaZk/tt8BpCzk71OL117l8rJfqTjwiS7NXIeazkfmoPEQbnsHDW1w0+hw91kV cBtS8yeAVmpk7mZ1OGZ9BcADwFDzAlvB0nJYQYHbWRxI2G6M323ndjtWGeGY4Y0NHs1i /dn35EnI7MWEu6ZCqa28k6QgQAw8BPvEQM9F8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kZ3++WpzUmNiWLeqX+RxuDV9seMKueSU5nCiUodpiyuDpkzOy1Rsell/xwnPGXMM7B ecUAV9GN9vcjzqQHniGiapd1bfChCZMYOEnsKN8L77OStkoO07TOma0LefmGXbBq192T byhfN3+WQ4HkF1278QtXNgO/543eTu9K3e3XI= Original-Received: by 10.220.83.194 with SMTP id g2mr1433651vcl.74.1239171355166; Tue, 07 Apr 2009 23:15:55 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.221.132; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 205558393 - f1d4a8617780 - 20090408 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:49175 Archived-At: --===============2097849818== Content-Type: multipart/alternative; boundary=0016364ece9e70d0210467051006 --0016364ece9e70d0210467051006 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Hans Thanks for the code so that we can use fonts in Plain and LaTeX. I just had two questions 1- I got the code from Khaled. How can I get the beta myself from your repository? I just joined ConTeXt mailing list. 2- Your code works fine but if in LaTeX, I compile a document like %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass{article} \pagedir TRT \bodydir TRT \pardir TRT \textdir TRT \directlua { dofile(kpse.find_file("luatex-fonts.lua","tex")) } \font\body=3Dfile:XBZar.ttf:mode=3Dnode;script=3Darab;language=3Dara;+init;= +medi;+fina;+liga;+rlig;+mark;+mkmk at 14pt \def\normalfont{\body} \AtBeginDocument{\body} \begin{document} =D8=A7=DB=8C=D9=86 =DB=8C=DA=A9 =D8=A2=D8=B2=D9=85=D8=A7=DB=8C=D8=B4 =D8=A7= =D8=B3=D8=AA =DA=A9=D9=87 =D8=AF=D8=B1 =D8=AD=D8=A7=D9=84 =D9=88=D9=82=D9= =88=D8=B9 =D8=A7=D8=B3=D8=AA. \section{=D9=85=D9=82=D8=AF=D9=85=D9=87} \end{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Then it gives this error ! LuaTeX error /home/vafa/texmf/tex/luatex-fonts/font-def.lua:337: attempt to c all field 'read_from_afm' (a nil value). relax l.16 \section{=D9=85=D9=82=D8=AF=D9=85=D9=87} ? Do you know how I can resolve this issue. The issue is when you use \sectio= n and similarly when you use \chapter, \textbf, \begin{....} \end{.....} If I can resolve this, Then I will be writting a LaTeX interface for the fonts. --0016364ece9e70d0210467051006 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Hans

Thanks for the code so that we can use font= s in Plain and LaTeX.

I just had two questions

1- I got the c= ode from Khaled. How can I get the beta myself from your repository? I just= joined ConTeXt mailing list.

2- Your code works fine but if in LaTeX, I compile a document like
%= %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%

\documentclass{article}

\pagedir TRT \bodydir TRT \pard= ir TRT \textdir TRT

\directlua {

dofile(kpse.find_file("= ;luatex-fonts.lua","tex"))

}

\font\body=3Dfile:XBZar.t= tf:mode=3Dnode;script=3Darab;language=3Dara;+init;+medi;+fina;+liga;+rlig;+= mark;+mkmk at 14pt

\def\normalfont{\body}

\AtBeginDocument{\body}

\begin{document}

=D8=A7=DB=8C=D9=86 =DB=8C=DA=A9= =D8=A2=D8=B2=D9=85=D8=A7=DB=8C=D8=B4 =D8=A7=D8=B3=D8=AA =DA=A9=D9=87 =D8= =AF=D8=B1 =D8=AD=D8=A7=D9=84 =D9=88=D9=82=D9=88=D8=B9 =D8=A7=D8=B3=D8=AA.

\section{=D9=85=D9=82=D8=AF=D9= =85=D9=87}

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


Then it gives this error

! LuaTeX error /home/vafa/= texmf/tex/luatex-fonts/font-def.lua:337: attempt to c

all field 'read_from_afm= 9; (a nil value).

<to be read again>

relax

l.16 \section{=D9=85=D9=82=D8= =AF=D9=85=D9=87}

?

Do you know how I can resolve this issue. The issue is when you us= e \section and similarly when you use \chapter, \textbf, \begin{....}=C2=A0= \end{.....}


If I can resolve this, Then I will be writting a La= TeX interface for the fonts.



--0016364ece9e70d0210467051006-- --===============2097849818== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============2097849818==--