ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* countproblem
@ 2003-11-11 16:57 Bernd Militzer
  2003-11-11 23:17 ` countproblem Pawel Jackowski na Onet
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Militzer @ 2003-11-11 16:57 UTC (permalink / raw)


Hi all!


what is wong?
% 
%
%   ad the points of each question
    \def\getPunkte[#1]{\advance\summeP by \number#1}
%
%   show the points on the right side
    \def\showP[#1]{\inright{\hfill(#1 P.)}}
%
%   handle the points
    \def\pkt[#1]%
    {%    
    \showP[#1]%
    \getPunkte[#1]  
    }
%
Using this macro in normal text like 
TestQuestion \pkt[5]
it works!!!

But when I use this macro in combination with enumeration I run in a
problem
example:
%
\defineenumeration[question][location=inmargin,text=,width=fit]
%
\question\pkt[5] 
TestQuestion\par
nothing ist count in this case!


Thanks for any help.

Bernd

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-12  6:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-11 16:57 countproblem Bernd Militzer
2003-11-11 23:17 ` countproblem Pawel Jackowski na Onet
2003-11-12  6:52   ` countproblem Bernd Militzer

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).