17.3 Cut Points

The following is for equating starred and non-starred (i.e., like) sectioning commands.

<..latex html cut points..>+
 \let\tex:cutat\:CutAt
 \def\:CutAt#1#2,#3//{%
    \chk:like #2like//%
    \ifx  \:temp\empty \expand:after{\tex:cutat#1#2,}\del:like#2,#3//%
       \else                 \tex:cutat#1#2,like#2,#3//\fi}
 \def\chk:like#1like#2//{\def\:temp{#1}}
 \def\del:like#1like{#1}
 -_-_-