Re: [NTG-context] How to adjust the sistance between a letter and subscript

2018-11-22 Thread Jeong Dal
Dear Huseyin,

Thank you. It works well.
And, I didn’t see any side effect either.

Thanks again.

Best regards,

Dalyoung

___
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
___

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-22 Thread Wolfgang Schuster

Hi Huseyin,

I can’t reproduce your problem with the table of contents with the 
current beta.


BTW: What if your goal with the \chapter in the table because this 
creates a wrong value for the chapter counter. If your goal is to put a 
frame around the chapter you can use the framedtext environment which 
doesn’t lead to a wrong chapter number.


Wolfgang


Huseyin Özoguz schrieb am 22.11.18 um 14:37:

Hello together,

I have this min-example:

\starttext

\completecontent[criterium=all]

\chapter{craigs}

{\bTABLE
\bTR\bTD
\chapter{whatever}
\eTD \eTR
\eTABLE}

\chapter{gooff}

\completecontent[criterium=previous]

\stoptext

As you see, the \completecontent[criterium=previous] works fine, it 
lists all chapters. But the \completecontent[criterium=all] does not, 
only lists the first chapter. How to fix this?


Thank you!
Huseyin

___
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
___

Re: [NTG-context] PDF/A output fails validation

2018-11-22 Thread rik

 Original message From: luigi scarso  
Date: 11/22/18  14:38  (GMT-05:00) To: mailing list for ConTeXt users 
 Subject: Re: [NTG-context] PDF/A output fails validation 
On Thu, Nov 22, 2018 at 8:23 PM Rik Kabel  wrote:
  

  
  
Still fails here, using the code you posted, with:

  yes, the beta is not yet landed in the garden , still some issues with 
colored fonts-- luigiVery good. I can wait. I thought that you were reporting a 
could-not-reproduce situation.-- Rik
___
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
___

Re: [NTG-context] PDF/A output fails validation

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 8:23 PM Rik Kabel 
wrote:

> Still fails here, using the code you posted, with:
>
>
> yes, the beta is not yet landed in the garden , still some issues with
colored fonts

-- 
luigi
___
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
___

Re: [NTG-context] PDF/A output fails validation

2018-11-22 Thread Rik Kabel

On 11/22/2018 12:43, luigi scarso wrote:



On Thu, Nov 22, 2018 at 12:45 AM luigi scarso > wrote:




On Thu, Nov 22, 2018 at 12:38 AM Rik Kabel
mailto:cont...@rik.users.panix.com>>
wrote:

With the latest beta, PDF/A fails validation in a new way.

Using the example document in the wiki
, PDF/A-1a validation
fails the online validator
 [2] with:

The key MarkInfo is required but missing.
The key StructTreeRoot is required but missing.
The key CIDSet is required but missing.
The document does not conform to the requested standard.
The document contains fonts without embedded font programs
or encoding information (CMAPs).
The document doesn't provide appropriate logical structure
information.
The document does not conform to the PDF/A-1a standard.

while with PDF/A-1b requested, the MarkInfo and StructTreeRoot
issues are not reported. (A-2a and A-3a fail in the same was
as A-1a.)

[1] https://wiki.contextgarden.net/PDF/A

[2] https://www.pdf-online.com/osa/validate.aspx



Thank you for the report, I will check asap.


these look ok now

\nopdfcompression
\setupinteraction
  [title=TITLE,
   subtitle=SUBTITLE,
   author=AUTHOR,
   keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}]

%% For PDF/A
\setupbackend[
%format={pdf/a-1b:2005}, % OK
%format={pdf/a-1a:2005}, % OK
%format={pdf/a-2a},      % OK
format={pdf/a-3a},       % OK
profile={srgb.icc,default_gray.icc},
intent=ISO coated v2 300\letterpercent\space (ECI)]

%% Tagged PDF
%% method=auto ==> default tags by Adobe
\setupbackend[export=yes]
\setupstructure[state=start,method=auto]

\starttext

\chapter[chap:testing]{Testing}

\input knuth

\input tufte

\input knuth

\placefigure[middle][fig:foo]
  {This is an image}
  {\externalfigure[cow.jpg]}

\input tufte

\input knuth

\input tufte

\stoptext

--
luigi


___
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
___


Still fails here, using the code you posted, with:

   Validating file "pdfa.pdf" for conformance level pdfa-3a
   The key MarkInfo is required but missing.
   The key StructTreeRoot is required but missing.
   The document does not conform to the requested standard.
   The document doesn't provide appropriate logical structure information.
   The document does not conform to the PDF/A-3a standard.

I am running on W10-64 with:

  the local LuaTeX version is   1.09.0 6998 on Lua 5.3.5,
  the local ConTeXt timestamp is    2018-11-18 13:15 UTC

--
Rik



___
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
___

Re: [NTG-context] PDF/A output fails validation

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 12:45 AM luigi scarso 
wrote:

>
>
> On Thu, Nov 22, 2018 at 12:38 AM Rik Kabel 
> wrote:
>
>> With the latest beta, PDF/A fails validation in a new way.
>>
>> Using the example document in the wiki
>> , PDF/A-1a validation fails the
>> online validator  [2] with:
>>
>> The key MarkInfo is required but missing.
>> The key StructTreeRoot is required but missing.
>> The key CIDSet is required but missing.
>> The document does not conform to the requested standard.
>> The document contains fonts without embedded font programs or encoding
>> information (CMAPs).
>> The document doesn't provide appropriate logical structure information.
>> The document does not conform to the PDF/A-1a standard.
>>
>> while with PDF/A-1b requested, the MarkInfo and StructTreeRoot issues are
>> not reported. (A-2a and A-3a fail in the same was as A-1a.)
>>
>> [1] https://wiki.contextgarden.net/PDF/A
>>
>> [2] https://www.pdf-online.com/osa/validate.aspx
>>
>>
>>
> Thank you for the report, I will check asap.
>
>
these look ok now

\nopdfcompression
\setupinteraction
  [title=TITLE,
   subtitle=SUBTITLE,
   author=AUTHOR,
   keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}]

%% For PDF/A
\setupbackend[
%format={pdf/a-1b:2005}, % OK
%format={pdf/a-1a:2005}, % OK
%format={pdf/a-2a},  % OK
format={pdf/a-3a},   % OK
profile={srgb.icc,default_gray.icc},
intent=ISO coated v2 300\letterpercent\space (ECI)]

%% Tagged PDF
%% method=auto ==> default tags by Adobe
\setupbackend[export=yes]
\setupstructure[state=start,method=auto]

\starttext

\chapter[chap:testing]{Testing}

\input knuth

\input tufte

\input knuth

\placefigure[middle][fig:foo]
  {This is an image}
  {\externalfigure[cow.jpg]}

\input tufte

\input knuth

\input tufte

\stoptext

-- 
luigi
___
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
___

Re: [NTG-context] A ConTeXt Guide in Italian

2018-11-22 Thread Wolfgang Schuster



Tommaso Gordini schrieb am 22.11.18 um 06:57:

Thank you, Wolfgang.

I tried to change your solution slightly (the code is pasted below).

Is there any way to have the text of the output justified on the right 
and on the left? I looked through the command options you used, but I 
think I did not find anything.
You can change the alignment of the text in the table with the 
align-key, e.g. \startxrow [align=normal].
One last question: could you have space before and after the frames? 
Something like that


before = ...
after = ...


To get a blank line before and after the table you have to add \blank to 
the setups block e.g.


\startsetups [userdata:purecode]
  \blank
  \startembeddedxtable
   ...
  \stopembeddedxtable
  \blank
\stopsetups

Wolfgang

___
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
___

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 4:15 PM Ulrike Fischer  wrote:

> Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso:
>
> >> 
> >> A palette entry index value of 0x is a special case indicating
> >> that the text foreground color (defined by a higher-level client)
> >> should be used and shall not be treated as actual index into CPAL
> >> ColorRecord array.
> >> 
> >>
>
>
> > " the text foreground color (defined by a higher-level client)
> > should be used" doesn't mean   "you  MUST take the current color
> > text" or even "you MUST use black" In fact "defined by a
> > higher-level client" means that  I could define  a palette  such
> > that each glyph marked with 0x has its own color based on my
> > palette ---  not necessarily the *same* color.
>
> Sounds as if there is some room for interpretation ;-). But assume
> that I want in my example the 0x to be interpretated as "the
> current text color", so the currently blue glyphs should be black,
> and if I add \color[red] before the text they should be red. Can and
> if yes how this be setup? (Both in context and in generic)
>

no, at this moment is fixed,  but we are discussing just now how to
implement this.


-- 
luigi
___
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
___

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Ulrike Fischer
Am Thu, 22 Nov 2018 14:46:57 +0100 schrieb luigi scarso:

>> 
>> A palette entry index value of 0x is a special case indicating
>> that the text foreground color (defined by a higher-level client)
>> should be used and shall not be treated as actual index into CPAL
>> ColorRecord array.
>> 
>>


> " the text foreground color (defined by a higher-level client)
> should be used" doesn't mean   "you  MUST take the current color
> text" or even "you MUST use black" In fact "defined by a
> higher-level client" means that  I could define  a palette  such 
> that each glyph marked with 0x has its own color based on my
> palette ---  not necessarily the *same* color.

Sounds as if there is some room for interpretation ;-). But assume
that I want in my example the 0x to be interpretated as "the
current text color", so the currently blue glyphs should be black,
and if I add \color[red] before the text they should be red. Can and
if yes how this be setup? (Both in context and in generic)

 

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___
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
___

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Hans Hagen

On 11/22/2018 2:12 PM, Ulrike Fischer wrote:



A palette entry index value of 0x is a special case indicating
that the text foreground color (defined by a higher-level client)
should be used and shall not be treated as actual index into CPAL
ColorRecord array.

unrelated ... 0x is intercepted and dealt with elsewhere ... default 
relates to what we like as default (which is an arbitrary choice from 
the palette but as said: that can be an option)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___

Re: [NTG-context] debug.getinfo

2018-11-22 Thread Hans Hagen

On 11/22/2018 2:05 PM, Procházka Lukáš Ing. wrote:

Hello,

the function 'debug.getinfo' was removed?

The following code:


\startluacode
   print(debug.getinfo)
\stopluacode

\starttext
   A \cldcontext{tostring(debug.getinfo)}
\stoptext


gives/prints 'nil'.

IIRC, the function was non-nil some weeks ago...
indeed, but as it exposes too much the debug library is largely disabled 
by default


you can run with --debug to keep it

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___

[NTG-context] How to adjust the sistance between a letter and subscript

2018-11-22 Thread Huseyin Özoguz

Hi Jeong,

you can always adjust the space between characters like this:

\startformula
T_X    \quad {\cal T}{\hskip-1mm}_X    \quad      T_Y    \quad {\cal 
T}{\hskip-1mm}_Y

\stopformula

I am not sure about side effects, but seems to work fine at least in 
this example.


Huseyin


--
Huseyin Özoguz

E-Mail: h.oezo...@mmnetz.de

___
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
___

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 2:13 PM Ulrike Fischer  wrote:

> Am Thu, 22 Nov 2018 13:50:08 +0100 schrieb Hans Hagen:
>
> >> When I use this definitions I still get partly blue glyphs with this
> >> preamble. Don't you get them?
>
> > well, i don't know what to expect
>
> Khaled mentioned this link which shows how (harfbuzz-based) browsers
> like firefox interpret the font
> https://www.amirifont.org/fatiha-colored.html
>
> Also the spec
> https://docs.microsoft.com/en-us/typography/opentype/spec/colr#layer-record
> says
>
> 
> A palette entry index value of 0x is a special case indicating
> that the text foreground color (defined by a higher-level client)
> should be used and shall not be treated as actual index into CPAL
> ColorRecord array.
> 
>
>
sure, in font-dsp.lua
 2953 -- The special value 0x is foreground (but we index from
1). It
   2954 -- more looks like indices into a palette so 'class' is a
better name
   2955 -- than 'palette'.

" the text foreground color (defined by a higher-level client) should be
used"
doesn't mean   "you  MUST take the current color text" or even "you MUST
use black"
In fact "defined by a higher-level client" means
that  I could define  a palette  such  that each glyph marked with 0x
has its own color based on my palette ---  not necessarily the *same* color.
(this is the meaning  in font-ocl.lua of
 247 local default   = colorvalues[#colorvalues] -- or 1 or
... maybe make it an option
)
So..in this situation  black makes sense as blue -- I guess that 0x  is
mapped as "cuirrent text color" in harfbuzz-browsers,
so, sure,  it has a bit  more functionality.


-- 
luigi
___
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
___

[NTG-context] Completecontent has problems with chapter in table

2018-11-22 Thread Huseyin Özoguz

Hello together,

I have this min-example:

\starttext

\completecontent[criterium=all]

\chapter{craigs}

{\bTABLE
\bTR\bTD
\chapter{whatever}
\eTD \eTR
\eTABLE}

\chapter{gooff}

\completecontent[criterium=previous]

\stoptext

As you see, the \completecontent[criterium=previous] works fine, it 
lists all chapters. But the \completecontent[criterium=all] does not, 
only lists the first chapter. How to fix this?


Thank you!
Huseyin


--
Huseyin Özoguz

E-Mail: h.oezo...@mmnetz.de

___
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
___

[NTG-context] How to adjust the sistance between a letter and subscript

2018-11-22 Thread Jeong Dal
Hi,

In the following example, the distance between a letter ${\cal T}$ and its 
subscript is too big.
It is not an error, but it looks a little bit strange.

How to reduce  it for a good looking?

Thank you.

Best regards,

Dalyoung

*
\starttext

Compare the distance between a letter and its subscript of the following 
example.

\startformula
T_X \quad {\cal T}_X\quad   T_Y \quad {\cal T}_Y
\stopformula

\stoptext
*

___
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
___

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Ulrike Fischer
Am Thu, 22 Nov 2018 13:50:08 +0100 schrieb Hans Hagen:

>> When I use this definitions I still get partly blue glyphs with this
>> preamble. Don't you get them?

> well, i don't know what to expect 

Khaled mentioned this link which shows how (harfbuzz-based) browsers
like firefox interpret the font 
https://www.amirifont.org/fatiha-colored.html

Also the spec
https://docs.microsoft.com/en-us/typography/opentype/spec/colr#layer-record
says


A palette entry index value of 0x is a special case indicating
that the text foreground color (defined by a higher-level client)
should be used and shall not be treated as actual index into CPAL
ColorRecord array.



-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___
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
___

Re: [NTG-context] debug.getinfo

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 2:02 PM Procházka Lukáš Ing.  wrote:

> Hello,
>
> the function 'debug.getinfo' was removed?
>
> The following code:
>
> 
> \startluacode
>print(debug.getinfo)
> \stopluacode
>
> \starttext
>A \cldcontext{tostring(debug.getinfo)}
> \stoptext
> 
>
> gives/prints 'nil'.
>
> IIRC, the function was non-nil some weeks ago...
>
> Best regards,
>
> Lukas
>
> are you running in "security mode" ?
In this case, yes, it should be nil.
-- 
luigi
___
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
___

[NTG-context] debug.getinfo

2018-11-22 Thread Procházka Lukáš Ing .

Hello,

the function 'debug.getinfo' was removed?

The following code:


\startluacode
  print(debug.getinfo)
\stopluacode

\starttext
  A \cldcontext{tostring(debug.getinfo)}
\stoptext


gives/prints 'nil'.

IIRC, the function was non-nil some weeks ago...

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS: 
nrpt3sn | IČO: 40763439
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

T~.mkiv
Description: Binary data


T~.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] font-ocl.lua:76: attempt to call a nil value (field 'register')

2018-11-22 Thread Hans Hagen

On 11/21/2018 9:04 PM, Ulrike Fischer wrote:

Am Wed, 21 Nov 2018 20:37:29 +0100 schrieb luigi scarso:



\definefontfeature[quran][mode=node,language=dflt,script=arab,
init=yes,medi=yes,fina=yes,isol=yes,
ccmp=yes,locl=yes,calt=yes,
liga=yes,clig=yes,dlig=yes,rlig=yes,
mark=yes,mkmk=yes,kern=yes,curs=yes,
   colr=yes]
\definefont[quran][AmiriQuranColored*quran @ 18pt]

I have just copied-and- pasted an example around, but
at least the "black-and-white" typography match.


When I use this definitions I still get partly blue glyphs with this
preamble. Don't you get them?

well, i don't know what to expect ... anyway:

\definefontfeature[quran][arabic][script=arab,colr=yes]

helps to get better arabic, also use \righttoleft instead of the dir 
commands; the ^^ can be avoided with \Uchar"FDFD


in font-ocl you can change this

local default   = false -- colorvalues[#colorvalues] -- 
or 1 or ... maybe make it an option


so, no default (i used the default as in emoji it was better that way 
and those were the only fonts i had) .. when i have time i'll make it an 
option


Hans






-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___