On Sat, Feb 28, 2015, Ellam ByDefault wrote:
> Given simple input as follows,
> 
> .PRINTSTYLE TYPESET
> .START
> .PP
> Lorem ipsum.
> .LIST ALPHA
> .ITEM
> one
> .ITEM
> two
> .ITEM
> three
> .LIST END
> 
> mom unexpectedly typeset
> 
> nr #LIST_INDENT1 21600
> 
> appended at the paragraph.
> 
> I dug in the om.tmac of mom 2.1 and found out there's missing period
> before nr request at line 15243:
> 
> .       if '\\*[$LIST_ARG_1]'ALPHA' nr #LIST_INDENT\\n[#DEPTH] \
> 
> While in mom 2.0-a it's at line 11133:
> 
> .if '\\*[$LIST_ARG_1]'ALPHA' nr #LIST_INDENT\\n[#DEPTH] \
> 
> Putting a period before the nr cures the bug.
> 
> Tested on groff 1.22.2 with mom 2.0-a and 2.1.

Fixed in the repo.  Thanks.

-- 
Peter Schaffter
http://www.schaffter.ca

Reply via email to