Re: [NTG-context] Arabic OpenType kerning

2009-08-25 Thread Hans Hagen

Khaled Hosny wrote:

Kerning doesn't seem to work with TRT direction, in the attached axample
(using the attached font), enabling kerning with TRT direction inserts
positive kern between first kern pair and nothing between the rest (it
should be negative kern). With TLT direction kerning seem to be fine.
Using \kern primitive seems to work fine too.


hm, i can get it working but it needs some carfuel checking with idris' 
test collection



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] "Overlays" with metapost

2009-08-25 Thread Hans Hagen

Erik Margraf wrote:

Hello,
is it possible to achieve an overlay effect with metapost like
in the attached picture (a photo and a pin in the upper left corner)?

I could load both images but I can't control the position where
the pin is inserted.

Is this possible by other means?

thank you!


search for 'layers' on the wiki

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] A problem with \useURL or \from

2009-08-25 Thread Hans Hagen

Eythan Weg wrote:

Hans Hagen 
Sat, 22 Aug 2009 12:45:49 +0200

   Eythan Weg wrote:
   >
   > Hi,
   >
   > With current context and luatex revision 3038 I use this sample:
   >
   > \setupinteraction[state=start]
   > \setupurl[color=blue]
   > \starttext
   > \useURL[here][http://google.com]
   > \from[here]
   > \stoptext
   >
   > It compiles with the link shown correctly but in
   > greenish color.  Pressing on it, the browser tries to visit
   > http://here/ .
   >
   > I am not sure where the source of the problem is, context or luatex.
   
   context i.e. me
   
   Hans



Thank you for the fix.  The  \setupurl for color,
however, is still not working.


ok, fixed in next beta


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Current beta says it needs luatex 0.42, but really needs 0.43

2009-08-25 Thread Matthijs Kooijman
Hi,

I just upgraded to the latest beta, and got an error saying I need luatex
0.42. I have 0.42, but a quick glance at context.mkiv shows that it really
wants luatex 0.43 (so the error message is wrong).

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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
___


Re: [NTG-context] \sl in \index

2009-08-25 Thread Hans Hagen

Xan wrote:

Hi,

If I put \index{{\sl something}} it appears in the first position of 
index. How can I solve that putting it alphabetically?


\index[something]{...}

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers

2009-08-25 Thread Matthijs Kooijman
Hi Hans,

any chance of replying to this mail? Currently, you only applied half of the
patch, so it's not usable yet at all.

Gr.

Matthijs

On Thu, Aug 13, 2009 at 12:10:54PM +0200, Matthijs Kooijman wrote:
> (I've sent this mail before, but I think the mailing list troubles might have
> eaten it).
> 
> Hi Hans,
> 
> > i uploaded a beta zip with two extra hooks
> I see the hooks, but I can't find the spot where they are called? It seems you
> missed this part of my patch?
> 
> Also, I think you didn't update the definition of \type to use the typesingle
> lua function I proposed, which means that \type{} commands won't get
> begin_of_buffer and end_of_buffer called at all.
> 
> Am I missing something, or did you? Will you fix this, or should I prepare a
> new patch?
> 
> > i also moved the pretty printers to another namespace so you need to use  
> > the buffers.newvisualizer function so that we don't get clashes with  
> > future features
> This change looks good indeed, those long function names weren't all that
> pretty.
> 
> > you need to adapt the wiki accordingly
> I will, as soon as I get things working again :-)
> 
> Gr.
> 
> Matthijs



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



signature.asc
Description: Digital signature
___
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
___


[NTG-context] \sl in \index

2009-08-25 Thread Xan

Hi,

If I put \index{{\sl something}} it appears in the first position of 
index. How can I solve that putting it alphabetically?


Thanks in advance,
Xan.
___
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
___


Re: [NTG-context] two absolutely newbie questions

2009-08-25 Thread Peter Münster
On Tue, 25 Aug 2009, Vyatcheslav Yatskovsky wrote:

> \filename{c:\\Program Files}

This should work too: \filename{c:/Program Files}

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


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