![](https://secure.gravatar.com/avatar/331902f4bde5e73f4eeac8719040822f.jpg?s=120&d=mm&r=g)
Tuesday, March 11, 2003 Hans Hagen wrote: HH> What patch? Yesterday around 10 i was deparately trying to figure out why HH> our (linux) mail server was infected by a spammer (some kind of sendmail HH> bug combined with pop3 things) and in the process (took me the whole HH> morning) probably lost some mails. Ok, here it is: """ Anyway, I built a "quick and dirty" patch which seems to work for most environments which, I think, require it: itemgroups, definitions, formulas, verbatim. You can put it in your cont-loc between \unprotect ... \protect pairs: === BEGIN PATCH === \startvariables all auto: auto \stopvariables \def\@@stopdefinitie#1% {\par \dostopattributes \endgroup \getvalue{\??dd#1\c!na}% \egroup % temporary hack \doifvalue{\??dd#1\c!springvolgendein}\v!nee\noindentation \doifvalue{\??dd#1\c!springvolgendein}\v!auto\noindent} \def\stopitemgroup {\iftextitems \removeunwantedspaces\space\ignorespaces \else \par \fi \ifnum\itemcolumndepth=\zerocount \dolistreference \fi % beware ! \iffirstlist \else \endgroup \fi % toegevoegd, eerste \som opent groep \ifnum\itemcolumndepth=\itemlevel\relax \stopkolommen \doglobal\newcounter\itemcolumndepth \getitemparameter\itemlevel\c!na \else \ifnum\itemlevel=\plusone \doitembreak\allowbreak % toegevoegd \getitemparameter1\c!na \doif\@@oospringvolgendein\v!nee\noindentation \doif\@@oospringvolgendein\v!auto\noindent \fi \fi \endgroup \doglobal\decrement(\itemlevel,\itemincrement)% \egroup} \def\dostopformula {\doplaceformulanumber \getvalue{\e!stop\getvalue{\??fm\currentformula\c!variant}\e!formule}% \resetlastlinewidth \nonoindentation \doifvalue{\??fm\currentformula\c!springvolgendein}\v!nee\noindentation \doifvalue{\??fm\currentformula\c!springvolgendein}\v!auto\noindent \egroup} \def\dostoptyping#1% {\stopverbatimcolor \stopopelkaar % includes \egroup \getvalue{\??tp#1\c!na}% \doifvalue{\??tp#1\c!springvolgendein}\v!nee\noindentation \doifvalue{\??tp#1\c!springvolgendein}\v!auto\noindent} === END PATCH === Remember to issue the following instructions: \setupformulas[indentnext=auto] \setupitemgroups[indentnext=auto] to make it work. No need to regenerate the formats (you may need to refresh the filename database if you didn't have a cont-loc.tex before that). Hans, can we hope for this to go into the core for the next beta? Note: while I think it should be done for quotations as well, this seems to be a feature "in development" so I won't touch it for now. -- Giuseppe "Oblomov" Bilotta