Re: [NTG-context] Minimals installation problem OS X 10.6.2

2010-01-16 Thread Khaled Hosny
nly context. If you want ConTeXt MkIV then run 'context file.tex' (which can process plain tex files as well, but I don't know how far compatible is it). -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___

Re: [NTG-context] Automated Quotation/Punctuation Placement

2010-01-08 Thread Khaled Hosny
t; > > > ___ > 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

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-28 Thread Khaled Hosny
; > > A infinite loop with 100% cpu for some spaces? Well, I wasn't > expecting this. Well, that is how TeX works, not a ConTeXt issue here; your \quotebox definition tells TeX to expect a space at the end of the macro,

Re: [NTG-context] Ligatures

2009-12-26 Thread Khaled Hosny
replying to an existing thread, though you changed the subject, makes following threads harder. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Di

Re: [NTG-context] auto-sizing of nested parentheses

2009-12-01 Thread Khaled Hosny
e same size. What about: $\Bigg(\bigg(\Big(\big((..).\big)..\Big)\bigg)..\Bigg)$ Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description:

[NTG-context] Simplefonts and math fonts

2009-11-24 Thread Khaled Hosny
Though there is a \setmathfont command, it doesn't seem to work. The following example still typeset in LM. \usemodule[simplefonts] \setmathfont[Asana Math] \starttext $\sqrt{x+y}=z$ \stoptext Any idea? Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Khaled Hosny
the same … > > and what if you run > > mtxrun --script font --reload $ mtxrun --script font --reload ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil val

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Khaled Hosny
n try to update once again). I get the same error with both 0.44 and 0.45 on Linux. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature __

Re: [NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-21 Thread Khaled Hosny
typesetting commands are windows specific (mtxrun.cmd, cmd.exe etc.) Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature

Re: [NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-19 Thread Khaled Hosny
On Thu, Nov 19, 2009 at 06:40:07PM +0100, Hans Hagen wrote: > Hans Hagen wrote: >> Khaled Hosny wrote: >>> Running it gives: >>> >>> $ mtxrun -script texworks -start >>> MTXrun | unable to locate TeXworks >>> >>> Though I've texwo

[NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-19 Thread Khaled Hosny
ble (it assumes it is a semicolon separated list, but on linux it is a colon separated list). Even after getting around this, the executable name it is looking for is 'TeXworks' while it should be 'texworks'. Regards, Khaled -- Khaled Hosny Arabic localiser and mem

Re: [NTG-context] Math setup with TimesNR

2009-11-10 Thread Khaled Hosny
On Tue, Nov 10, 2009 at 02:48:30PM -0500, Aditya Mahajan wrote: > On Tue, 10 Nov 2009, Khaled Hosny wrote: > >> You'd like to try XITS Math font[1], bug reports are welcomed, though no >> guarantee it'll be fixed. >> >> [1] http://github.com/khaledhosny/xi

Re: [NTG-context] Math setup with TimesNR

2009-11-10 Thread Khaled Hosny
e : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___

Re: [NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-09 Thread Khaled Hosny
include MATH table? I just checked 1.005 version and I see math glyphs but no MATH table. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digit

Re: [NTG-context] Luatex 0.44.0 announcement

2009-10-30 Thread Khaled Hosny
ing \synctex=1 to the preamble. SyncTeX support has been available in LuaTeX for ages :) Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature _

Re: [NTG-context] font path question

2009-09-17 Thread Khaled Hosny
e > >> myfonts > >>  |_font1.otf > >> > > (sorry an error) > > myfonts > >  |_font1.otf > >  |_font2.otf > >  |_font3.otf > > > > Is there any env. variable to set ? > > Can I do it with some kind of macro ? (better) >

Re: [NTG-context] \tfa or \bfa etc. doesn't work in math mode

2009-09-08 Thread Khaled Hosny
On Wed, Sep 09, 2009 at 12:34:46AM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> The following example, when process with mkiv, will result in math >> italic in the first two examples, where it should be roman and roman >> bold. >> >> \starttext >> $\bfb

Re: [NTG-context] Upright math

2009-09-08 Thread Khaled Hosny
ave Euler OpenType, users can use the font and switch math to upright symbols globally without altering existing math formulas. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature _

Re: [NTG-context] Upright math

2009-09-07 Thread Khaled Hosny
On Mon, Sep 07, 2009 at 05:59:33PM -0400, Aditya Mahajan wrote: > On Mon, 7 Sep 2009, Khaled Hosny wrote: > >> >> Is there a way (MkIV) to set math to use upright symbols globally, for >> Latin and Greek (I'm working on an OpenType math font that has no >>

[NTG-context] Upright math

2009-09-07 Thread Khaled Hosny
just leaving it blank. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ If your question is of interest to othe

[NTG-context] \tfa or \bfa etc. doesn't work in math mode

2009-09-01 Thread Khaled Hosny
\stoptext -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] standard focus with interaction is not working

2009-08-24 Thread Khaled Hosny
On Mon, Aug 24, 2009 at 10:29:57PM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> \setupinteraction[focus=standard] has no effect, I get the usual "fit >> page" mode instead. Works fine with MkII. >> >> Example: >> \setupinteraction[state=start,f

[NTG-context] standard focus with interaction is not working

2009-08-24 Thread Khaled Hosny
g why "standard" isn't the default mode, "fit page" is very annoying and distracts me while reading and I wonder why anyone would need that in regular documents? Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font develo

Re: [NTG-context] using overprint results in broken PDF

2009-08-22 Thread Khaled Hosny
On Tue, Aug 18, 2009 at 02:42:55PM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> On Tue, Aug 18, 2009 at 10:07:05AM +0200, Hans Hagen wrote: >>> Khaled Hosny wrote: >>>> On Mon, Aug 17, 2009 at 11:07:51AM +0200, Hans Hagen wrote: >>>>> Khaled Hos

Re: [NTG-context] Hyperlinks with MkIV

2009-08-18 Thread Khaled Hosny
On Tue, Aug 18, 2009 at 10:29:10AM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> Any idea how to get hyperlinks to work in MkIV? The following example >> works fine for MkII, but no color nor hyperlink in MkIV. >> >> \setupcolors[state=start] >> \setupin

Re: [NTG-context] using overprint results in broken PDF

2009-08-18 Thread Khaled Hosny
On Tue, Aug 18, 2009 at 10:07:05AM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> On Mon, Aug 17, 2009 at 11:07:51AM +0200, Hans Hagen wrote: >>> Khaled Hosny wrote: >>> >>>> \setupcolors[overprint=yes] >>>> \starttext >>>> Hello \

[NTG-context] Hyperlinks with MkIV

2009-08-18 Thread Khaled Hosny
-- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] using overprint results in broken PDF

2009-08-17 Thread Khaled Hosny
On Mon, Aug 17, 2009 at 11:07:51AM +0200, Hans Hagen wrote: > Khaled Hosny wrote: > >> \setupcolors[overprint=yes] >> \starttext >> Hello \TeX. >> \stoptext > > hopefully fixed in beta Still the same with 2009.08.17. Regards, Khaled -- Khaled H

Re: [NTG-context] using overprint results in broken PDF

2009-08-17 Thread Khaled Hosny
ated to the engine. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ If your question is of interest to others as w

[NTG-context] using overprint results in broken PDF

2009-08-16 Thread Khaled Hosny
the following errors in the terminal: Error: ExtGState 'GSoverprint' is unknown Error: ExtGState 'GSknockout' is unknown Rebeated several time. Sample: \setupcolors[overprint=yes] \starttext Hello \TeX. \stoptext ConTeXt version 2009.08.13 and 2009.08.16 Regards, Khale

Re: [NTG-context] Linux Libertine type

2009-07-23 Thread Khaled Hosny
ds, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry t

Re: [NTG-context] Linux Libertine type

2009-07-23 Thread Khaled Hosny
On Thu, Jul 23, 2009 at 06:07:37PM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> On Thu, Jul 23, 2009 at 04:34:37PM +0200, Hans Hagen wrote: >>> Khaled Hosny wrote: >>>> ConTeXt doesn't use fontconfig for detecting installed fonts, try to set >>>>

Re: [NTG-context] Linux Libertine type

2009-07-23 Thread Khaled Hosny
On Thu, Jul 23, 2009 at 08:05:11PM +0530, Derek CORDEIRO wrote: > de...@derek-desktop:~$ mtxrun -script fonts -list|grep Lin > > The above command gives no output > > Still clueless, Derek ConTeXt normalizes fontnames to lower case, 'grep -i'. Regards, Khaled

Re: [NTG-context] Linux Libertine type

2009-07-23 Thread Khaled Hosny
On Thu, Jul 23, 2009 at 04:34:37PM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> ConTeXt doesn't use fontconfig for detecting installed fonts, try to set >> OSFONTDIR to point where your fonts are, then run: >> mtxrun -script fonts -reload >> >> Hans, is i

Re: [NTG-context] Linux Libertine type

2009-07-23 Thread Khaled Hosny
to point where your fonts are, then run: mtxrun -script fonts -reload Hans, is it possible to read fontconfig files to detect font directories on linux, it is xml files and we would be interested in and tags only. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.

Re: [NTG-context] support for "SUBSCRIPT THREE" etc. ?

2009-07-21 Thread Khaled Hosny
b/superscripts, and there use is discouraged. Most fonts will align those subscript glyphs to the base line not bellow it, and apparently LM fonts don't have them. I think there is a way to use ConTeXt commands inside verbatim environments, but I don't recall it. Regards, Khaled -- Kh

[NTG-context] Footnotes in multiple columns broken

2009-06-28 Thread Khaled Hosny
The 'n=' option to \setupnote doesn't have any effect, more ever 'n=0' will give an "Arithmetic overflow" error. Minimal example: \setupnote[footnote][n=0] \starttext This\footnote{one} and this\footnote{two} and this\footnote{three}. \stoptext Regards,

Re: [NTG-context] formula references missing

2009-06-27 Thread Khaled Hosny
On Sat, Jun 27, 2009 at 02:21:18PM +0200, Mojca Miklavec wrote: > Hello, > > References to formulas don't work in MKIV: I think all references don't work, I can't get any references working, not only to formulas. Regards, Khaled -- Khaled Hosny Arabic localiser an

Re: [NTG-context] ConTeXt version of LaTeX's article class?

2009-06-24 Thread Khaled Hosny
Try http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt, it has many helpful tips. On Wed, Jun 24, 2009 at 11:37:53PM +0200, Gerben Wierda wrote: > Is there a ConTeXt way of doing an article a la LaTeX's article class? > > Thanks, > > G -- Khaled Hosny Arabic loc

Re: [NTG-context] On creating my own fonts

2009-06-22 Thread Khaled Hosny
er one by Yannis Haralambous) but both were of low artistic quality. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature __

Re: [NTG-context] On creating my own fonts

2009-06-20 Thread Khaled Hosny
depends on next and previous ones? You can do virtually every thing, I use FontForge mainly for Arabic fonts. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature _

Re: [NTG-context] On creating my own fonts

2009-06-19 Thread Khaled Hosny
r with the widest cover of OpenType specification, and can output many font formates plus many interesting features. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description:

Re: [NTG-context] On creating my own fonts

2009-06-19 Thread Khaled Hosny
On Fri, Jun 19, 2009 at 11:43:44AM +0200, Mojca Miklavec wrote: > > 4.) Be prepared to invest a lot of time ... Tell me about it, I started three years ago and I'm nowhere close to my original goal :) Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org

Re: [NTG-context] Bug in mark to ligature handling

2009-06-12 Thread Khaled Hosny
On Wed, Mar 04, 2009 at 12:13:38AM +0200, Khaled Hosny wrote: > > Marks don't get positioned correctly unless all marks are supplied, if > one mark is omitted, the next mark will be positioned at the first > anchor point, not in the second one etc, in some cases it'll even n

Re: [NTG-context] stand-alone ConTeXt

2009-06-11 Thread Khaled Hosny
> > > ___ > 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 &

Re: [NTG-context] finding out what font are available

2009-06-09 Thread Khaled Hosny
On Tue, Jun 09, 2009 at 09:41:04PM -0400, Ciro Soto wrote: > Hi all, > what would be the command to list all fonts available in my installation via > context? mtxrun -script fonts --list -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer sign

[NTG-context] Reset footnote numbering by chapter?

2009-06-03 Thread Khaled Hosny
rs. \starttext \setupnumber[footnote][way=bychapter] \startfrontmatter \chapter{One} \input knuth\footnote{chapter one} \chapter{Two} \input knuth\footnote{chapter two} \stopfrontmatter \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer

Re: [NTG-context] MkIV italic correction?

2009-06-01 Thread Khaled Hosny
On Wed, May 27, 2009 at 01:34:57PM +0900, Dohyun Kim wrote: > 2009/5/22 Taco Hoekwater : > > > > > > Hans Hagen wrote: > >> Taco Hoekwater wrote: > >>> > >>> Khaled Hosny wrote: > >>>> Not very helpful in this situation, but

Re: [NTG-context] Error with \placefootnotes

2009-05-31 Thread Khaled Hosny
On Tue, May 26, 2009 at 08:32:57AM +0300, Khaled Hosny wrote: > With the following sample and MkIV > > \starttext > \setupfootnotes[location=text] > This\footnote{Or that, if you prefer.} is a sentence with a footnote. > \placefootnotes > \stoptext > > I get: >

[NTG-context] References not working

2009-05-31 Thread Khaled Hosny
out[1]. \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ If your question is of interest to others as

Re: [NTG-context] How to disable page numbers in empty pages

2009-05-26 Thread Khaled Hosny
\input tufte } >    \stopbodymatter >   >  \startstandardmakeup >   \dorecurse{4}{\input tufte } >  \stopstandardmakeup >   >  \startbodymatter >   \chapter {testB} >   \dorecurse{10}{\input tufte } >    \stopbodymatter >   > \stoptext Thanks alot, this was ver

[NTG-context] Error with \placefootnotes

2009-05-25 Thread Khaled Hosny
\fi \stoptext l.5 \stoptext I think \everysetupnotes in strc-not.tex, line 913 should be \everysetupnote, but after fixing it the output isn't correct, any ideas? Regards, Khaled -- Khaled Hosny Arabic localiser and memb

Re: [NTG-context] How to disable page numbers in empty pages

2009-05-25 Thread Khaled Hosny
On Fri, May 22, 2009 at 12:04:08PM +0200, Alan Stone wrote: > On Fri, May 22, 2009 at 11:42 AM, Khaled Hosny wrote: > > How can I disable page numbers (or header/footer) in empty pages, as > page 2 in the following example: > > \setuppagenumbering[alter

[NTG-context] How to disable page numbers in empty pages

2009-05-22 Thread Khaled Hosny
How can I disable page numbers (or header/footer) in empty pages, as page 2 in the following example: \setuppagenumbering[alternative=doublesided] \starttext \chapter{one} \input tufte \chapter{two} \input tufte \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member of

Re: [NTG-context] MkIV italic correction?

2009-05-21 Thread Khaled Hosny
t;> \stoptext > > open type fonts have no italic correction info (except in math) Not very helpful in this situation, but FontForge has a non-standard italic correction (ITLC) table[1], may be TeX related OpenTyp font projects like Latin Modern and Gyre fonts can use it? [1]http://fontforg

[NTG-context] Interaction not working?

2009-05-16 Thread Khaled Hosny
. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an

[NTG-context] tlig doesn't work with mode=node

2009-05-15 Thread Khaled Hosny
when it was broken, but it has been working few betas ago. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___

Re: [NTG-context] replacement of "\...@." ?

2009-05-14 Thread Khaled Hosny
ations etc; and, the french have > spacing before and after : ; . , (it has always been a selling point for > tex to be able to deal with it) Not only French, it is also the case for traditional Arabic typesetting, though people tend to

Re: [NTG-context] MKIV, fonts, confusion

2009-05-14 Thread Khaled Hosny
ame thing in mkiv. Not only OOo, InDesign does that too, moreover, someone said even if LuaTeX (XeTeX too) output looked OK in Adobe reader 7, the print isn't OK. -- Khaled Hosny Arabic localiser and member of Arabeyes.org t

[NTG-context] Footnotes inside section title

2009-04-27 Thread Khaled Hosny
With the latest minimals, in the following example footnote text don't show up. \starttext \section{hello\footnote{world}} \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital sign

Re: [NTG-context] Producing EPDF

2009-04-19 Thread Khaled Hosny
\startTEXpage \stopTEXpage -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ If your question is of interest to others as well, please

Re: [NTG-context] new structure code

2009-04-10 Thread Khaled Hosny
On Fri, Apr 10, 2009 at 10:28:25PM +0200, Wolfgang Schuster wrote: > > Am 10.04.2009 um 22:24 schrieb Khaled Hosny: > >> I think this might be related as well, heads without numbers don't >> appear in the table of content: >> >> \starttext >> \set

[NTG-context] 'mtxrun --script fonts' not working

2009-04-10 Thread Khaled Hosny
I get this error: ...text/tex/texmf-context/tex/context/base/font-syn.lua:12: attempt to index global 'tex' (a nil value) I just commented out this line, and it seems to be working OK so fare. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team

Re: [NTG-context] new structure code

2009-04-10 Thread Khaled Hosny
C. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add a

Re: [NTG-context] Weird interline spacing

2009-04-10 Thread Khaled Hosny
On Thu, Apr 09, 2009 at 01:55:46PM +0200, Wolfgang Schuster wrote: > > Am 09.04.2009 um 13:00 schrieb Khaled Hosny: > >> On Thu, Apr 09, 2009 at 12:14:28PM +0200, Hans Hagen wrote: >>> Khaled Hosny wrote: >>>> In the attached file, loading the font with \setupbo

[NTG-context] Weird interline spacing

2009-04-09 Thread Khaled Hosny
h two different fonts. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer \starttypescript [serif][arabic] \usetypescript [serif][fallback] \definefontsynonym [Serif][name:arabictypesetting] [features=arabic] \stoptypes

Re: [NTG-context] new beta

2009-04-08 Thread Khaled Hosny
ents extensively. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ If your question is of interest to others as wel

Re: [NTG-context] Arabic protrosion

2009-04-06 Thread Khaled Hosny
On Mon, Apr 06, 2009 at 07:30:33AM -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: > On Mon, 06 Apr 2009 00:40:12 -0600, Khaled Hosny > wrote: > >> The attached patch adds Arabic coma, semicolon, full stop (used in Urdu) >> and question mark to font-ext.lua for protrus

[NTG-context] Arabic protrosion

2009-04-05 Thread Khaled Hosny
The attached patch adds Arabic coma, semicolon, full stop (used in Urdu) and question mark to font-ext.lua for protrusion. Now, combined with glyph expansion, I don't get any overfull boxes. Regards, Khaked -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free

Re: [NTG-context] Bug with "Adobe Arabic" font kerning

2009-04-05 Thread Khaled Hosny
On Sun, Apr 05, 2009 at 11:24:36PM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> The font seems to have a buggy (too big) GPOS kerning table (it does cause >> fontforge to hang writing the font). If 'kern' is set to 'yes', I get this >> error: >>

[NTG-context] Bug with "Adobe Arabic" font kerning

2009-04-05 Thread Khaled Hosny
ad to put if..then around that line to suppress the error, may be some checks are needed for such broken fonts. P.S. The font is freely available as adobe reader font pack http://www.adobe.com/products/acrobat/acrrasianfontpack.html Regards, Khaled -- Khaled Hosny Arabic localiser and member o

Re: [NTG-context] Arabic shaping

2009-04-05 Thread Khaled Hosny
On Sun, Apr 05, 2009 at 11:16:55AM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> Currently 'font-ota.lua' hard codes the Arabic shaping properties,and it >> doesn't seem to be complete (e.g. the ڤ as in أڤاست is not joined), I >> think such information be

[NTG-context] Arabic shaping

2009-04-04 Thread Khaled Hosny
;, covering Arabic, Syriac and N'Ko scripts which all need the same shaping as Arabic. [1]http://unicode.org/Public/5.1.0/ucd/ArabicShaping.txt Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer sign

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-04 Thread Khaled Hosny
On Sat, Apr 04, 2009 at 12:35:30PM +0200, Hans Hagen wrote: > Khaled Hosny wrote: > indeed, so we're looking into it now (an dlet's forget about the > page/bodydir for the moment) > > since textdir and pardir go hand-in-hand i suggest the following > > \setup

Re: [NTG-context] Background for current page only

2009-04-04 Thread Khaled Hosny
On Sat, Apr 04, 2009 at 10:45:09AM +0200, Wolfgang Schuster wrote: > > Am 03.04.2009 um 22:54 schrieb Khaled Hosny: > >> How to set a background for the current page only? \setupbackgrounds >> sets backgrounds for all pages, I don't seem to find a way to turn it &

Re: [NTG-context] Background for current page only

2009-04-03 Thread Khaled Hosny
On Fri, Apr 03, 2009 at 11:19:07PM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> How to set a background for the current page only? \setupbackgrounds >> sets backgrounds for all pages, I don't seem to find a way to turn it >> on/off for certain pages (\setupbackground

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Khaled Hosny
the example, I think I got your point. From my understanding, I think text and paragraph direction should be only controlled by \textdir and \pardir respectively, whatever \pagedir or \bodydir are. Indeed, I don't see why \bodydir would influence the text direction inside boxes. Regards, Khaled

[NTG-context] Background for current page only

2009-04-03 Thread Khaled Hosny
How to set a background for the current page only? \setupbackgrounds sets backgrounds for all pages, I don't seem to find a way to turn it on/off for certain pages (\setupbackgrounds[state=start/stop] has no effect). Regards, Khaled -- Khaled Hosny Arabic localiser and memb

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Khaled Hosny
On Fri, Apr 03, 2009 at 02:55:56PM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> framed, framedtext, TEXpage (and may be others), no longer honor >> directional switches. I'm sure TEXpage at least was OK a month ago. >> >> \pagedir TRT\bodydir TRT\pard

[NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Khaled Hosny
tufte \stopframedtext \startbackground \input tufte \stopbackground \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature _

Re: [NTG-context] right/left only background offset?

2009-04-03 Thread Khaled Hosny
On Thu, Apr 02, 2009 at 07:05:04PM +0200, Wolfgang Schuster wrote: > > Am 02.04.2009 um 18:55 schrieb Khaled Hosny: > >> Is there a way to typeset a paragraph with background extending only >> in >> the margin? >> >> I used the following setup, but I don

[NTG-context] right/left only background offset?

2009-04-02 Thread Khaled Hosny
color=green, frame=on, backgroundoffset=.5cm]%, %leftoffset=0cm,rightoffset=0cm] \starttext \startbackground \input tufte \stopbackground \input tufte \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signatur

Re: [NTG-context] request for testing linux binaries

2009-03-30 Thread Khaled Hosny
minimals. > (I did not update luatex, metapost or xetex, so only pdftex binary > should be affected.) I compiled a simple tex file, on Ubuntu 8.10, and I think it is working :) Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer sign

Re: [NTG-context] substitutions: can i send this?

2009-03-29 Thread Khaled Hosny
On Sat, Mar 28, 2009 at 07:27:07PM -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: > On Fri, 27 Mar 2009 06:05:03 -0600, Khaled Hosny > wrote: > If it's not so complex, have you considered overloading font features with > fea files? Now that Adobe has (finally!) completed a

[NTG-context] the \definedfont in last beta

2009-03-27 Thread Khaled Hosny
The following doesn't work using the latest minimals: \starttext test{\definedfont[Serif sa 5]test} \stoptext I'm getting normal text size. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital

Re: [NTG-context] MetaPost graphics with TRT direction

2009-03-27 Thread Khaled Hosny
On Thu, Mar 26, 2009 at 11:31:48PM +0100, Hans Hagen wrote: > Khaled Hosny wrote: >> MPost graphics inside TRT direction are placed incorrectly overlapping >> the text on the right, similar to what we had with \pdfximage (see the >> attached PDF). >> >> This seem

Re: [NTG-context] substitutions

2009-03-27 Thread Khaled Hosny
s in a similar way to OTPs, so one can use regular expressions to pre-process the text without messing with node list, think in code that replaces 2nd with 2\high{nd} etc. which would be very complex to be done at node list level. Regards, Khaled -- Khaled Hosny Arab

[NTG-context] MetaPost graphics with TRT direction

2009-03-25 Thread Khaled Hosny
issue, but I'm guessing the later. Changing the \startMPLIBtoPDF so that the \hbox where the graphics is placed is fixed to TLT direction fixes this, but I'm not sure if it is safe to do so. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free

Re: [NTG-context] Bug in mark to ligature handling

2009-03-04 Thread Khaled Hosny
On Wed, Mar 04, 2009 at 03:14:17PM +0100, Hans Hagen wrote: > Khaled Hosny wrote: >> On Wed, Mar 04, 2009 at 12:48:36PM +0100, Hans Hagen wrote: >>> Khaled Hosny wrote: >>>> Marks don't get positioned correctly unless all marks are supplied, if >>>

Re: [NTG-context] Bug in mark to ligature handling

2009-03-04 Thread Khaled Hosny
On Wed, Mar 04, 2009 at 12:48:36PM +0100, Hans Hagen wrote: > Khaled Hosny wrote: >> Marks don't get positioned correctly unless all marks are supplied, if >> one mark is omitted, the next mark will be positioned at the first >> anchor point, not in the second one etc, in

Re: [NTG-context] Bug in mark to ligature handling

2009-03-04 Thread Khaled Hosny
On Wed, Mar 04, 2009 at 09:37:26AM +0100, Hans Hagen wrote: > Khaled Hosny wrote: >> Marks don't get positioned correctly unless all marks are supplied, if >> one mark is omitted, the next mark will be positioned at the first >> anchor point, not in the second one etc, in

[NTG-context] Bug in mark to ligature handling

2009-03-03 Thread Khaled Hosny
ord in the line is correct, subsequent ones aren't. (The font used: http://raqm.googlecode.com/svn/trunk/fonts/simplenaskhi/SimpleNaskhi.ttf) Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer \pagedir TRT\bodydir TRT\pardir

Re: [NTG-context] \char"xxxx not working as I expected

2009-02-25 Thread Khaled Hosny
On Wed, Feb 25, 2009 at 4:31 PM, Maurí­cio wrote: > Hi, > > I'm trying this small test on unicode characters, and > the result I get is this: > > http://173.45.227.76/test3.pdf > > I did check the font in 'gucharmap' and it does contain > all codes I'm using (U+2019, U+2610, U+226b, U+2115). But >

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-24 Thread Khaled Hosny
; > 2. I can try to put in some time in the coming weeks to develop this into > a default setup for ConTeXt-mkiv -- per recent discussions -- or I can > leave that to you/Otared and just review the results. Just let me know > how you would like to proceed. Of course you are welco

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-23 Thread Khaled Hosny
hosny.org/files/simplenaskhi.zip Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ If your question is of interest to

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-23 Thread Khaled Hosny
rabic technical documentation where Arabic and non Arabic text are mixed very often. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-23 Thread Khaled Hosny
On Mon, Feb 23, 2009 at 08:34:54AM -0700, Idris Samawi Hamid ادريس سماوي حامد wrote: > On Mon, 23 Feb 2009 05:02:39 -0700, Khaled Hosny > wrote: > >> I'm not very fond if Scheherazade as it has many wrong glyphs (most of >> the Quranic glyphs are completely wrong) a

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-23 Thread Khaled Hosny
On Mon, Feb 23, 2009 at 01:28:23PM +0100, Hans Hagen wrote: > Thomas A. Schmitz wrote: >> >> On Feb 23, 2009, at 1:09 PM, Khaled Hosny wrote: >> >>> For scaling, we can specify a size, some thing like: >>> >>> \setupbodyfont[arabic=foo,20pt,latin=ba

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-23 Thread Khaled Hosny
On Mon, Feb 23, 2009 at 02:25:15PM +0200, Khaled Hosny wrote: > > so, it seems to depend on calt but turning on calt by default is *not* > > what the ms spec recommends for arabtype > > > > you see the problem? > > I think is is arabtype's problem if they su

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-23 Thread Khaled Hosny
On Mon, Feb 23, 2009 at 01:17:42PM +0100, Thomas A. Schmitz wrote: > > On Feb 23, 2009, at 1:09 PM, Khaled Hosny wrote: > >> For scaling, we can specify a size, some thing like: >> >> \setupbodyfont[arabic=foo,20pt,latin=bar,18pt] >> >> or so. > > I do

<    1   2   3   4   5   6   >