Re: [NTG-context] old-style numerals and .

2008-02-22 Thread Idris Samawi Hamid
Hi,

On Fri, 22 Feb 2008 20:03:12 -0700, Jesse Alama <[EMAIL PROTECTED]> wrote:

> I tried switching to nice old-style numerals for a table of contents,
> and found to my chagrin that the periods in the numbers, such as the "."
> in "2.3", get typeset as triangles.  You can see the result (verified on
> the live context in the garden) with
>
>   \starttext
>   {\os 2.3}
>   \stoptext
>
> What's going on?  How can I get periods rather than triangles?

If you are using pdfTeX, you have to switch to an encoding that uses  
oldstyle numerals. This is because the knuthian font with oldstyle is a  
special, not general purpose, font, and has triangles where the period  
would be etc. You have to activate oldstyle globally for any but the most  
narrow purposes.

Something like the following

\usetypescript[modern-base][texnansi]  % a simplified latin-modern  
typescript
\usetypescript [map]   [latin-modern-os] [texnansi]
\setupbodyfont[reset]
\setupbodyfont[modern,11pt]

used to work in mkii (pdftex + context) but I don't know if it still does  
-- mkii support for oldstyle has not been a stable feature (due to the  
changes from cm to lm): I had to recalibrate every couple of years or so.  
So try and see.

If you use luatex then there are a couple of ways to activate it -- see  
this thread

http://archive.contextgarden.net/thread/20080102.025610.93a30bce.en.html#20080102.025610.93a30bce

http://archive.contextgarden.net/message/20080102.025610.93a30bce.en.html

==
% engine=luatex

\definefontfeature
[oldstyle]
[mode=node,language=dflt,script=latn,onum=yes,tnum=yes]

\setfontfeature{oldstyle}

\starttext

1234567890

\stoptext
==

Best wishes
Idris


-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] old-style numerals and .

2008-02-22 Thread Jesse Alama
I tried switching to nice old-style numerals for a table of contents,
and found to my chagrin that the periods in the numbers, such as the "."
in "2.3", get typeset as triangles.  You can see the result (verified on
the live context in the garden) with

  \starttext
  {\os 2.3}
  \stoptext

What's going on?  How can I get periods rather than triangles?

Thanks,

Jesse

-- 
Jesse Alama ([EMAIL PROTECTED])

___
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] \chemical and MKIV

2008-02-22 Thread Peter Münster
On Fri, Feb 22 2008, Wolfgang Schuster wrote:

> Replace the following lines in m-chemic
> 
> \ifx\beginpicture\undefined
>   \let\normalgrid\grid
>   \let\normalaxis\axis
>   \input pictex.tex \relax
>   \let\pictexgrid\grid
>   \let\pictexaxis\axis
>   \let\grid\normalgrid
>   \let\axis\normalaxis
> \fi
> 
> with
> 
> \ifx\beginpicture\undefined
>   \let\beginpicture\relax
> \fi
> 
> and the module works.

Thanks! I hope, there are no side-effects and the patch could be applied to
the distribution!
Cheers, Peter

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


Re: [NTG-context] ini -> C -> lua -> context -> pdf

2008-02-22 Thread Hans Hagen
Peter Münster wrote:
> On Fri, Feb 22 2008, Hans Hagen wrote:
> 
>>> - filtering, for example _ must be converted to \_ and % to \% (same
>>>   question: C, lua or ConTeXt)
>> depends, if the font has _ no conversion is needed (otf fonts have this)
> 
> Since I'm using MKIV, I think the default font should be the lm otf
> version, isn't it?
> What setup is needed, to make "_" behave like a real underscore?

\nonknuthmode


-
   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] ini -> C -> lua -> context -> pdf

2008-02-22 Thread Aditya Mahajan
Quoting Peter Münster <[EMAIL PROTECTED]>:

> On Fri, Feb 22 2008, Hans Hagen wrote:
>
>> > - filtering, for example _ must be converted to \_ and % to \% (same
>> >   question: C, lua or ConTeXt)
>>
>> depends, if the font has _ no conversion is needed (otf fonts have this)
>
> Since I'm using MKIV, I think the default font should be the lm otf
> version, isn't it?
> What setup is needed, to make "_" behave like a real underscore?

\nonknuthmode (and there is \donknuthmode to get the default behaviour)

Aditya
___
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] ini -> C -> lua -> context -> pdf

2008-02-22 Thread Peter Münster
On Fri, Feb 22 2008, Hans Hagen wrote:

> > - filtering, for example _ must be converted to \_ and % to \% (same
> >   question: C, lua or ConTeXt)
> 
> depends, if the font has _ no conversion is needed (otf fonts have this)

Since I'm using MKIV, I think the default font should be the lm otf
version, isn't it?
What setup is needed, to make "_" behave like a real underscore?


> ini parsing ... look into string.find; loop over the lines and triugger 
> on [...] and ...=...

Thanks, I've spent some minutes today looking into the string, io and table
libraries, and indeed lua looks very powerful.
Perhaps, this will result in a module.

Cheers, Peter

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


Re: [NTG-context] \chemical and MKIV

2008-02-22 Thread Peter Münster
On Fri, Feb 22 2008, Mojca Miklavec wrote:

> Interesting - here it works, but \molecule{A_2} only produces lowered
> 2, while A is lost.
> 
> ConTeXt  ver: 2008.02.13 23:49 MKIV  fmt: 2008.2.19  int: english/english
> This is LuaTeX, Version snapshot-0.22.0-2008021722

Ok, I admit that I'm not up to date:
TeXExec | context source date: 2008.01.28 21:28
This is LuaTeX, Version snapshot-0.20.2-2008012412

Nevertheless, thanks for the hint to \molecule, it can always be useful
with MKII.

Cheers, Peter

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


Re: [NTG-context] Heros (font)

2008-02-22 Thread Mojca Miklavec
On Fri, Feb 22, 2008 at 2:09 PM, Michal Kvasnička wrote:
> Hallo to you all.
>
> I'd like to use TeXGyre fonts termes and heros. I tried something like this:
>
> \usetypescriptfile[type-gyr]
> \definetypeface[termes][rm][serif][termes][default][encoding=ec]
> \definetypeface[termes][ss][sans][heros][default][encoding=ec]
>  \definetypeface[termes][mm][math][times][default][]
> \setupbodyfont[termes,18pt]
>
> However, I found that fonts as TeXGyreHeros-Regular are not defined. So  I
> added this:
>
> \loadmapfile[qhv-ec.map]
> \definefontsynonym [TeXGyreHeros-Regular][ec-qhvr][encoding=ec]
>  \definefontsynonym [TeXGyreHeros-Italic][ec-qhvri][encoding=ec]
> \definefontsynonym [TeXGyreHeros-Bold]  [ec-qhvb][encoding=ec]
> \definefontsynonym [TeXGyreHeros-BoldItalic]  [ec-qhvbi][encoding=ec]
>
>  Now it works---I get not run-time error, and I can see some Helvetica-like
> fonts (though I'm not sure that the Czech accents are all right). However,
> the AdobeReader says I use some Quasi-Swiss fonts, not TeXGyreHeros as I
> would expect. What's wrong?

Hello,

I'm only guessing - the old "quasi" fonts had exactly the same names
as TeX Gyre (qhv  - quasi helvetica). Maybe you have two files with
the same name in your TeX tree, and kpathsea selects the old one. I
would say "delete them", but that might not be the most trivial task
(you need to delete dozens of font files in many diferent folders -
try to search for "qfonts", delete all the folders with that name and
regenerate the database).

Can you send the log?

Mojca


http://www.ctan.org/tex-archive/help/Catalogue/entries/qfonts.html
___
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] \chemical and MKIV

2008-02-22 Thread Mojca Miklavec
On Fri, Feb 22, 2008 at 9:23 AM, Peter Münster wrote:
> On Thu, Feb 21 2008, Mojca Miklavec wrote:
>
>  > On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster wrote:
>  > >
>
> > >  The following test-file produces an error:
>  > >
>  > >  % engine=luatex
>  > >  \usemodule[chemic]
>  > >  \starttext
>  > >  \chemical{CO_2}
>  > >  \stoptext
>  >
>  > The issue probably needs to be solved, but I happily use Taco's macro
>  > for that purpose (works better in titles). See \molecule on
>  > http://wiki.contextgarden.net/Chemistry.
>
>  Hello Mojca,
>
>  did you try it? Here, I get this error:

I didn't claim that it works in mkiv, I still mostly use mkii (except
for non-trivial documents).

>  ! LuaTeX error ...TeX-live/texmf-context/tex/context/base/syst-con.lua:21:
>  bad argument #1 to 'char' (invalid value).
>  \rawcharacter ...verters.rawcharacter(\number #1)}
>
>   ...awcharacter {\recurselevel }
>   }
>  \@@ar@@1 ...hchem \rawcharacter {\recurselevel }}}
>
>  \redostepwiserecurse ->\expandrecursecontent
>  \dodostepwiserecurse
>  
>{
>  
> 66
>  ...
>  l.39 \molecule
>   {HSO_4^{-}}
>  ?

Interesting - here it works, but \molecule{A_2} only produces lowered
2, while A is lost.

ConTeXt  ver: 2008.02.13 23:49 MKIV  fmt: 2008.2.19  int: english/english
This is LuaTeX, Version snapshot-0.22.0-2008021722

Mojca


--


\newbox\chemlowbox
\def\chemlow#1%
  {\setbox\chemlowbox\hbox{{\switchtobodyfont[small]#1}}}

\def\chemhigh#1%
  {\ifvoid\chemlowbox \high{{\switchtobodyfont[small]#1}}%
   \else \/\lohi{\box\chemlowbox}{{\switchtobodyfont[small]#1}}\fi }

\def\finishchem%
   {\ifvoid\chemlowbox \else
 \iffluor \fluorfalse \kern-.1em \fi\low{\box\chemlowbox}\fi}

% for "kerning" after F
\newif\iffluor

\unexpanded\def\molecule%
  {\bgroup
   \catcode`\_=\active \uccode`\~=`\_ \uppercase{\let~\chemlow}%
   \catcode`\^=\active \uccode`\~=`\^ \uppercase{\let~\chemhigh}%
   \dostepwiserecurse {65}{90}{1}
  {\catcode \recurselevel = \active
   \uccode`\~=\recurselevel
   \uppercase{\edef~{\noexpand\finishchem
 \rawcharacter{\recurselevel%
   \uccode `\~=`\F \uppercase{\def~{\finishchem F\fluortrue}}%
   \catcode`\-=\active \uccode`\~=`\- \uppercase{\def~{--}}%
   \loggingall
   \domolecule }%

\def\domolecule#1%
  {\expandafter\scantokens\expandafter
{\detokenize{#1\finishchem}}\egroup}

\starttext
\molecule{CO_2}\molecule{HSO_4^{-}}
\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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Heros (font)

2008-02-22 Thread Hans Hagen
Michal Kvasnička wrote:
> Hallo to you all.
> 
> I'd like to use TeXGyre fonts termes and heros. I tried something like this:

\usetypescriptfile[type-gyr]

this will overload the regular fonts, so

\usetypescript[postscript][texnansi]

\setupbodyfont[postscript,ss]

should then give you heros

Hans

-
   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] Heros (font)

2008-02-22 Thread Michal Kvasnička
Hallo to you all.

I'd like to use TeXGyre fonts termes and heros. I tried something like this:

\usetypescriptfile[type-gyr]
\definetypeface[termes][rm][serif][termes][default][encoding=ec]
\definetypeface[termes][ss][sans][heros][default][encoding=ec]
\definetypeface[termes][mm][math][times][default][]
\setupbodyfont[termes,18pt]

However, I found that fonts as TeXGyreHeros-Regular are not defined. So  I
added this:

\loadmapfile[qhv-ec.map]
\definefontsynonym [TeXGyreHeros-Regular][ec-qhvr][encoding=ec]
\definefontsynonym [TeXGyreHeros-Italic][ec-qhvri][encoding=ec]
\definefontsynonym [TeXGyreHeros-Bold]  [ec-qhvb][encoding=ec]
\definefontsynonym [TeXGyreHeros-BoldItalic]  [ec-qhvbi][encoding=ec]

Now it works---I get not run-time error, and I can see some Helvetica-like
fonts (though I'm not sure that the Czech accents are all right). However,
the AdobeReader says I use some Quasi-Swiss fonts, not TeXGyreHeros as I
would expect. What's wrong?

I've got ConTeXt  ver: 2008.01.28 21:28 MKII. I installed manually TeXGyre
fonts from the TeXGyre page some days ago.

Many thanks for your kind help. And greeting to all of you.
Michal
___
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] \chemical and MKIV

2008-02-22 Thread Wolfgang Schuster
On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster <[EMAIL PROTECTED]> wrote:
> Hello,
>
>  The following test-file produces an error:
>
>  % engine=luatex
>  \usemodule[chemic]
>  \starttext
>  \chemical{CO_2}
>  \stoptext

This is tooo long.

\usemodule[chemic] is enough to produce the error with mkiv.

Replace the following lines in m-chemic

\ifx\beginpicture\undefined
  \let\normalgrid\grid
  \let\normalaxis\axis
  \input pictex.tex \relax
  \let\pictexgrid\grid
  \let\pictexaxis\axis
  \let\grid\normalgrid
  \let\axis\normalaxis
\fi

with

\ifx\beginpicture\undefined
  \let\beginpicture\relax
\fi

and the module works.

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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] cite-specific question

2008-02-22 Thread Trond Lossius
Thanks, Taco!

That's exactly what I've been looking for.

Best,
Trond


Taco Hoekwater wrote:
>> But I'm wondering if it is possible to get something similar to 
>> \citeN{key}, \citeNP{key}, etc. in LaTeX:
> 
> The bib module manual (bibmod-doc.pdf) should be on your harddisk
> already, likely in /doc/context/bib/. Otherwise, you can
> download it from:
> 
> http://dl.contextgarden.net/modules/t-bib/doc/context/bib/bibmod-doc.pdf
___
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] ini -> C -> lua -> context -> pdf

2008-02-22 Thread Hans Hagen
Peter Münster wrote:

> - put theses entries into a structured table (easy to do in C and the
>   iniparser library http://ndevilla.free.fr/iniparser/ but it could be nice
>   to do it in lua)

this kind of parsing is rather trival in lua

> - sorting (several PDF-documents with different sorting: by name, size,
>   channel or other values)

sorting is also easy

> - filtering, for example _ must be converted to \_ and % to \% (same
>   question: C, lua or ConTeXt)

depends, if the font has _ no conversion is needed (otf fonts have this)

> - formatting with nice layout (certainly with ConTeXt)

ini parsing ... look into string.find; loop over the lines and triugger 
on [...] and ...=...

Hans

-
   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] ini -> C -> lua -> context -> pdf

2008-02-22 Thread Peter Münster
Hello,

I have to convert an "ini"-file to pdf. On the one hand, it's easy for me
to do most things in C, on the other hand, I would like to enlarge my
experience with lua and ConTeXt.

So here my question to the experts: what languages would you use for the
different tasks?

In fact, I believe lua could do a good job for some tasks, but I'm not
really sure.

Here the details:

Example "ini"-file with 2 entries (the real file has about 200 entries):

[temp_room]
comment = the room temperature in °C
description = This value must be sent at least once per 15 minutes, \
but only if a local sensor is connected to the device.
size = 16
channel = master
fb = RTS
dpt = 2.009
dir = o

[power]
comment = the actual power available in %
description = This value is only used to calculate the energy \
consumption.
size = 8
channel = slave
fb = HVA
dpt = 4.307
dir = i


The tasks:
- put theses entries into a structured table (easy to do in C and the
  iniparser library http://ndevilla.free.fr/iniparser/ but it could be nice
  to do it in lua)
- sorting (several PDF-documents with different sorting: by name, size,
  channel or other values)
- filtering, for example _ must be converted to \_ and % to \% (same
  question: C, lua or ConTeXt)
- formatting with nice layout (certainly with ConTeXt)

For example, the first entry could become:

1.) temp_room, the room temperature in °C
-
__
|   Master  |   RTS   |  Output with datapoint type 2.009 (16 bits)  |
|___|_|__|

This value must be sent at least once per 15 minutes, but only if a
local sensor is connected to the device.


(Until now, I've coded just one line of lua-code in my life...)

Perhaps, with your help, the subject line could become:
ini -> MKIV -> pdf

Thanks in advance for any hints and encouragements!
Cheers, Peter

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


Re: [NTG-context] \chemical and MKIV

2008-02-22 Thread Peter Münster
On Thu, Feb 21 2008, Mojca Miklavec wrote:

> On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster wrote:
> >
> >  The following test-file produces an error:
> >
> >  % engine=luatex
> >  \usemodule[chemic]
> >  \starttext
> >  \chemical{CO_2}
> >  \stoptext
> 
> The issue probably needs to be solved, but I happily use Taco's macro
> for that purpose (works better in titles). See \molecule on
> http://wiki.contextgarden.net/Chemistry.

Hello Mojca,

did you try it? Here, I get this error:

! LuaTeX error ...TeX-live/texmf-context/tex/context/base/syst-con.lua:21:
bad argument #1 to 'char' (invalid value).
\rawcharacter ...verters.rawcharacter(\number #1)}
  
 ...awcharacter {\recurselevel }
  }
\@@ar@@1 ...hchem \rawcharacter {\recurselevel }}}
  
\redostepwiserecurse ->\expandrecursecontent 
 \dodostepwiserecurse 
 
   {
 
66
...
l.39 \molecule
  {HSO_4^{-}}
? 

Cheers, Peter

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


Re: [NTG-context] cite-specific question

2008-02-22 Thread Taco Hoekwater


Trond Lossius wrote:


> But I'm wondering if it is possible to get something similar to 
> \citeN{key}, \citeNP{key}, etc. in LaTeX:

The bib module manual (bibmod-doc.pdf) should be on your harddisk
already, likely in /doc/context/bib/. Otherwise, you can
download it from:

http://dl.contextgarden.net/modules/t-bib/doc/context/bib/bibmod-doc.pdf

Best wishes,
Taco
___
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
___