[NTG-context] module-parameters Was: Context replacement for bibitem

2007-08-31 Thread Peter Schorsch
Thanks Wolfgang,

you were totally right. I made a typewriting error - I discovered it with
help of your examples. 

I also updated the module in the wiki - and I will make it multilingual as
soon I will find a good doc about multilingual-commands.

I tried to add colors over module-parameter - but it didn't work out. I
changed in t-bibitem.tex:

\setupmodule[itemspace=12,color=red]
...
\def\bibref[#1]#2{\doifemptyelse{#2}
   {\color[\currentmoduleparameter{color}]{[\in[#1]]}}
   {\color[red]{[\in[#1], #2]}}}

and in the biblist-test-files only following line has to be added:
 
\setupcolors[state=start]

The direct command \color[red]{...} is working, but the
\color[\currentmoduleparamter{color}]{...} not - wether I add an \expanded
or not. texexec gives following comments:

color   : empty is not defined

I have the feeling that the module-parameter and the expand-commands are
still a mysterious to me. Can you / anyone explain me, what I am doing
wrong?

Ciao

___
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] module-parameters Was: Context replacement for bibitem

2007-08-31 Thread Aditya Mahajan
On Fri, 31 Aug 2007, Peter Schorsch wrote:

 Thanks Wolfgang,

 you were totally right. I made a typewriting error - I discovered it with
 help of your examples.

 I also updated the module in the wiki - and I will make it multilingual as
 soon I will find a good doc about multilingual-commands.

Aren't you doing exactly what the bib module does? The only difference 
is that the bib module uses registers, so that you can also sort the 
publication list. And you can format different types of references 
differently. But the basic idea is the same.

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] module-parameters Was: Context replacement for bibitem

2007-08-31 Thread Peter Schorsch
Hi Aditya,

 Aren't you doing exactly what the bib module does? The only difference
 is that the bib module uses registers, so that you can also sort the
 publication list. And you can format different types of references
 differently. But the basic idea is the same.

The main issue for me was, that (right now) it seems to be impossible to get
with the bib-module a per-chapter bibliography at the end of the document .

Ciao

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