jdh schrieb am 16.01.19 um 08:18:
Here is my small sample ConTeXt sample:  I want to be able to control the blank 
gap between the end of an item and the next item.  It has to be fine tuned at 
times.  Any advice would be appreciated.


NOTE: Two cases with inbetween attempting use use two variations of the \blank  
command which
       causes 'context' run to hang.  The comment escape on them has to be 
removed to test them.


The rightmost column contains result comments.

Note that inbetween=\blank[.5mm]  and \blank[small] cause context to hang .
But, underbar'd command with a text string works as advertised.

Regards
      dh

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% start of contxt source

\definesymbol[5][$\diamond$]

\starttext
     \setupitemgroup[itemize][each][packed][before=\underbar{mae-da 
},after=\underbar{ato-da}] % WORKS
     \setupitemgroup[itemize][each][      ][symbol=5]                        % 
WORKS

Don’t use empty arguments when they aren’t necessary, skipping the argument is enough in most cases.

\setupitemgroup[itemize][each][symbol=5]

     \setupitemgroup[itemize][each][      ][left=\underbar{lefttxt}]        % 
NO EFFECT
     \setupitemgroup[itemize][each][      ][right=\underbar{rhttxt}]        % 
NO EFFECT
The left and right keys are only used for numbered items.
     \setupitemgroup[itemize][each][      ][inbetween=\underbar{inbetween} ] % 
WORKS
     %\setupitemgroup[itemize][each][     ][inbetween=\blank[small]]        % 
!!! HANGS WONT COMPILE !!!
     %\setupitemgroup[itemize][each][     ][inbetween=\blank[2mm]]          % 
!!! HANGS WONT COMPILE !!!
You needs braces around the blank setting, e.g. \setupitemgroup [itemize] [each] [inbetween={\blank[...]}|
     \setupitemgroup[itemize][each][      ][beforehead=\underbar{befhead}]   % 
NO EFFECT
     \setupitemgroup[itemize][each][      ][afterhead=\underbar{AHEAD}]      % 
NO EFFECT
The beforehead and afterhead keys are only used when you use \head or \starthead.
     \setupitemgroup[itemize][each][      ][itemalign=right]                % 
NO EFFECT
This works only when you use a fixed width for the item symbol.
     \setupitemgroup[itemize][each][      ][textdistance=3cm]               % 
NO EFFECT
The textdistance keys controls the horizontal space between inline items (all items appears in single paragraph).

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