ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in startitemize[text] ?
@ 2007-02-07  1:28 Aditya Mahajan
  0 siblings, 0 replies; only message in thread
From: Aditya Mahajan @ 2007-02-07  1:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

\startitemize[text] causes a par break at the end. From the code, it 
looks like it should not. Here is an example

\starttext
Some garbage text
\startitemize[text,r]
   \item This is a test
   \item Which does not work
\stopitemize
the garbage continues
\stoptext

There is a par break after the second item. The code in core-itm tries 
hard to introduce a \par when \listitemtext is true, but somewhere a 
\par slips in. I could not find out why this happens.

Also, does it make sense to disable stopper in case of 
\startitemize[text], by

\def\dododosetupitemgroupconstant[#1][#2#3#4]% * permits [2]
   {\processaction
      [#2#3#4]
      [   \v!packed*=>\packitems,
 	.................
            \v!text*=>\settrue\textlistitem
                      \settrue\inlinelistitem
                      \settrue\joinedlistitem %
                      \setitemparameter{#1}\c!placestopper{\v!no}%
 		      ^^^^^^^^^^^ added !?
                      \packitems,
         \v!columns*=>\packitems,
           .............................
       ]}


I always find myself doing \startitemize[text,r][stopper=]

Aditya

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-07  1:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-07  1:28 Bug in startitemize[text] ? Aditya Mahajan

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