mf schrieb am 12.12.2019 um 15:56:
I wrote a better version. I still have a couple of questions.
In the lines:

\iffirstargument
  \getparameters[PIT!][test=off,margin=1em,distance=1em,minwidth=1em,#1]
\else
  \getparameters[PIT!][test=off,margin=1em,distance=1em,minwidth=1em,]
\fi

i would avoid writing the default values twice; i tried something like:

\getparameters[PIT!][test=off,margin=1em,distance=1em,minwidth=1em,\iffirstargument#1\fi]

but it doesn't work.
Skip the argument check and use just this:

\getparameters[PIT!][test=off,margin=1em,distance=1em,minwidth=1em,#1]

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
___________________________________________________________________________________

Reply via email to