<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 2014-04-19 04:55, Wolfgang Schuster
      wrote:<br>
    </div>
    <blockquote
      cite="mid:158630D1-490E-4485-A2D5-DBE3D24C575B@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div>
        <div>\setuphead</div>
        <div>  [section]</div>
        <div>  [alternative=text,</div>
        <div>   command=\SectionCommand,</div>
        <div>   distance=0pt,</div>
        <div>   insidesection={\blank[overlay]}]</div>
        <div><br>
        </div>
        <div>\define[2]\SectionCommand</div>
        <div>  {\inmargin{#1 – #2}}</div>
        <div><br>
        </div>
        <div>\setuplayout[backspace=4cm]</div>
        <div><br>
        </div>
        <div>\starttext</div>
        <div><br>
        </div>
        <div>\startsection[title={First}]</div>
        <div><br>
        </div>
        <div>\input ward</div>
        <div><br>
        </div>
        <div>\stopsection</div>
        <div><br>
        </div>
        <div>\startsection[title={Second}]</div>
        <div><br>
        </div>
        <div>\startitemize</div>
        <div>\item One</div>
        <div>\item Two</div>
        <div>\stopitemize</div>
        <div><br>
        </div>
        <div>\stopsection</div>
        <div><br>
        </div>
        <div>\startsection[title={Third}]</div>
        <div><br>
        </div>
        <div>\starttabulate</div>
        <div>\NC Knuth \NC \input{knuth} \NC\NR</div>
        <div>\NC Tufte \NC \input{tufte} \NC\NR</div>
        <div>\stoptabulate</div>
        <div><br>
        </div>
        <div>\stopsection</div>
        <div><br>
        </div>
        <div>\stoptext</div>
      </div>
      <div><br>
      </div>
      <div>Wolfgang</div>
    </blockquote>
    <br>
    Thank you, Wolfgang. This works mostly, but not completely, for
    start/stop sectioning (not for classic sectioning).<br>
    <br>
    I do notice that there is still a problem with tabulations if you
    add a horizontal line (\HL or \FL) to the beginning of the table.
    New example, building on yours:<br>
    <blockquote>
      <div>
        <div><tt>\setuphead</tt></div>
        <div><tt>  [section]</tt></div>
        <div><tt>  [alternative=text,</tt></div>
        <div><tt>   command=\SectionCommand,</tt></div>
        <div><tt>   distance=0pt,</tt></div>
        <div><tt>   insidesection={\blank[overlay]}]</tt></div>
        <div><tt><br>
          </tt></div>
        <div><tt>\define[2]\SectionCommand</tt></div>
        <div><tt>  {\inmargin{#1 – #2}}</tt></div>
        <div><tt><br>
          </tt></div>
        <div><tt>\setuplayout[backspace=4cm]</tt></div>
        <div><tt><br>
          </tt></div>
        <div><tt>\starttext</tt></div>
        <div><tt><br>
          </tt></div>
        <tt>\startsection[title={Okay with text here}]</tt>
        <div><tt><br>
            Text here<br>
          </tt></div>
        <div><tt>\starttabulate</tt></div>
        <div><tt>\FL \NC Knuth \NC \input{knuth} \NC\NR</tt></div>
        <div><tt>\NC Tufte \NC \input{tufte} \NC\NR</tt></div>
        <div><tt>\stoptabulate</tt></div>
        <div><tt><br>
          </tt></div>
        <div><tt>\stopsection</tt></div>
        <div><tt><br>
          </tt></div>
        <div><tt>\startsection[title={Fails with no text}]</tt></div>
        <div><tt><br>
          </tt></div>
        <div><tt>\starttabulate</tt></div>
        <div><tt>\FL \NC Knuth \NC \input{knuth} \NC\NR</tt></div>
        <div><tt>\NC Tufte \NC \input{tufte} \NC\NR</tt></div>
        <div><tt>\stoptabulate</tt></div>
        <div><tt><br>
          </tt></div>
        <div><tt>\stopsection</tt></div>
        <div><tt><br>
          </tt></div>
        <div><tt>\stoptext</tt></div>
      </div>
    </blockquote>
    <br>
    -- <br>
    RIk Kabel<br>
    <br>
  </body>
</html>