On Fri, Sep 14, 2018, Bjarni Ingi Gislason wrote: > File: contrib/mom/om.tmac. > > In the macro ".MAC LIST END", a question is repeated inside the > same one, namely > > if !'\\n[.z]'LIST*DIV' > > in > > . if '\\*[pre-list-quad]'C' \{\ > . if !'\\n[.z]'LIST*DIV' \{\ > . nr #PRE_LIST_QUAD \\n[.j] > . nr #LIST_CENTER 1 > . if !'\\n[.z]'LIST*DIV' .di LIST*DIV > \!. nr #IN_LIST 1 > . ad l > . \} > > and few lines later: > > . if '\\*[pre-list-quad]'R' \{\ > . if !'\\n[.z]'LIST*DIV' \{\ > . nr #PRE_LIST_QUAD \\n[.j] > . nr #LIST_RIGHT 1 > . if !'\\n[.z]'LIST*DIV' .di LIST*DIV > \!. nr #IN_LIST 1 > . ad l > . \} > > Must the question be repeated as a diversion plays a role?
No. It's a debugging artefact. I intended to clean-up and wrap the two clauses into a single statement . if !'\\n[.z]'LIST*DIV' \{\ . if '\\*[pre-list-quad]'C' .nr #LIST_CENTER 1 . if '\\*[pre-list-quad]'R' .nr #LIST_RIGHT 1 . nr #PRE_LIST_QUAD \\n[.j] . di LIST*DIV \!. nr #IN_LIST 1 . ad l . \} I'll incorporate the change into my next commit. -- Peter Schaffter http://www.schaffter.ca