Inlined enumerations and bullets.

This commit is contained in:
Karchnu 2021-10-29 04:51:39 +02:00
parent 8148046a17
commit 01e711ba4d
2 changed files with 14 additions and 24 deletions

View File

@ -185,42 +185,30 @@ These horizontal lines are produced by
.HORIZONTALLINE .HORIZONTALLINE
Listing stuff Listing stuff
.BULLET .BULLET with
with .BULLET bullet
.BULLET .BULLET points
bullet
.BULLET
points
.ENDBULLET .ENDBULLET
.METAINFO1 .METAINFO1
.BULLET .BULLET with
with .BULLET bullet
.BULLET .BULLET points
bullet
.BULLET
points
.ENDBULLET .ENDBULLET
.METAINFO2 .METAINFO2
.HORIZONTALLINE .HORIZONTALLINE
Numbered lists Numbered lists
.ENUM .ENUM Orange
Orange .ENUM Apple
.ENUM .ENUM Pear
Apple
.ENUM
Pear
.ENDENUM .ENDENUM
.METAINFO1 .METAINFO1
.ENUM .ENUM Orange
Orange .ENUM Apple
.ENUM .ENUM Pear
Apple
.ENUM
Pear
.ENDENUM .ENDENUM
.METAINFO2 .METAINFO2

View File

@ -37,6 +37,7 @@ accumulate
. .
.de BULLET \" Bullet points .de BULLET \" Bullet points
.IP \(bu 2 .IP \(bu 2
\\$*
.. ..
.de ENDBULLET .de ENDBULLET
.in -2 \" indent .in -2 \" indent
@ -45,6 +46,7 @@ accumulate
.de ENUM \" Numbered list .de ENUM \" Numbered list
.nr LIST_NUMBER +1 .nr LIST_NUMBER +1
.IP \\n[LIST_NUMBER] 2 .IP \\n[LIST_NUMBER] 2
\\$*
.. ..
.de ENDENUM .de ENDENUM
.nr LIST_NUMBER 0 .nr LIST_NUMBER 0