Hi, there had been a question on the list from Vyatcheslav Yatskovsky how to get indented text inside of itemize and after i spent a few hours on this problem the answer is it's not possible. His example (simplified from me) was: \setupindenting[yes,big] \starttext text text text text text text text text text text text text text text text text text text text text text text text text \startitemize[text][indenting={yes,first,big}] \item text text text text text text text text text text text text text text text text text text text text text text text text \item text text text text text text text text text text text text text text text text text text text text text text text text \item text text text text text text text text text text text text text text text text text text text text text text text text \stopitemize text text text text text text text text text text text text text text text text text text text text text text text text \stoptext and as you can see the second and all following items are indented but this has nothing to do with indenting and is a side effect of the 'text' option which is meant for inline items where no blank line is expected between the '\item'’s because the should be all in the same paragraph as in: \setupindenting[yes,big] \starttext text text text text text text text text text text text text text text text text text text text text text text text text \startitemize[text] \item text text text text text text text text text text text text text text text text text text text text text text text text \item text text text text text text text text text text text text text text text text text text text text text text text text \item text text text text text text text text text text text text text text text text text text text text text text text text \stopitemize text text text text text text text text text text text text text text text text text text text text text text text text \stoptext Even tough the 'text' option is wrong here (because 'joinedup' gives the same output but without indentation) we should take care of this and insert the distance between the items only in horizontal mode. To do so change in the definition for \complexdoitemgroupitem the following line: \else \ifconditional\textlistitem % was bugged: \inlinelistitem \removeunwantedspaces\hskip\emwidth\!!plus\interwordstretch\!!minus\interwordshrink\relax % new per 2006/10/20 \else \iteminbetweencommand \fi \fi to \else \ifconditional\textlistitem % was bugged: \inlinelistitem \ifhmode \removeunwantedspaces\hskip\emwidth\!!plus\interwordstretch\!!minus\interwordshrink\relax % new per 2006/10/20 \fi \else \iteminbetweencommand \fi \fi and while we already change this make the space between the items changeable, e.g. with (old feature request in the list archive) \else \ifconditional\textlistitem % was bugged: \inlinelistitem \ifhmode \processaction [\getitemparameter\currentitemlevel\c!space] [ \v!none=>\let\textitemdistance\zeropoint, \s!unknown=>\assignvalue\commalistelement\textitemdistance{.5\interwordspace\!!plus.5\emwidth}{\interwordspace\!!plus\emwidth}{\emwidth\!!plus\interwordstretch\!!minus\interwordshrink}]% \removeunwantedspaces\hskip\textitemdistance\relax \fi % new per 2006/10/20 \else \iteminbetweencommand \fi \fi The next point is to enable the indenting parameter which isn't functioning at all because at the start of each item command (\dolistitem) a \noindent command prevents it from working. One way to fix is to replace \noitem with \checkindentation\ifindentation\indent\else\noindent\fi and \indentationfalse to startitemgroup. When these changes are done one could indent the text in itemize with: \setupindenting[yes,big] \starttext text text text text text text text text text text text text text text text text text text text text text text text text \startitemize[joinedup,intext][indenting={yes,first,big}] \item text text text text text text text text text text text text text text text text text text text text text text text text \item text text text text text text text text text text text text text text text text text text text text text text text text \stopitemize text text text text text text text text text text text text text text text text text text text text text text text text \stoptext Wolfgang
participants (1)
-
Wolfgang Schuster