groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] mom bug: ALPHA list


From: Ellam ByDefault
Subject: [Groff] mom bug: ALPHA list
Date: Sat, 28 Feb 2015 17:33:16 +0700

Hello Peter,

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.

-- 

Best regards,

Ellam ByDefault



reply via email to

[Prev in Thread] Current Thread [Next in Thread]