ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Schorsch <tralalas@freenet.de>
To: ntg-context@ntg.nl
Subject: module-parameters Was: Context replacement for bibitem
Date: Fri, 31 Aug 2007 17:18:11 +0200	[thread overview]
Message-ID: <fb9bhk$jaj$1@sea.gmane.org> (raw)
In-Reply-To: <115224fb0708302343k5b62707mc1bd3b0e9c9a5b3a@mail.gmail.com>

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
___________________________________________________________________________________


  reply	other threads:[~2007-08-31 15:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fb2aud$umi$1@sea.gmane.org>
     [not found] ` <alpine.WNT.0.999.0708282127200.3072@nqvgln>
2007-08-29  7:23   ` Wolfgang Schuster
2007-08-29 22:22     ` Peter Schorsch
2007-08-30  6:22       ` Wolfgang Schuster
2007-08-30 17:03         ` Peter Schorsch
2007-08-31  6:43           ` Wolfgang Schuster
2007-08-31 15:18             ` Peter Schorsch [this message]
2007-08-31 18:02               ` module-parameters Was: " Aditya Mahajan
2007-08-31 18:16                 ` Peter Schorsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fb9bhk$jaj$1@sea.gmane.org' \
    --to=tralalas@freenet.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).