From 01e711ba4d6e128d7c1c329f815428b8ed5882ff Mon Sep 17 00:00:00 2001 From: Karchnu Date: Fri, 29 Oct 2021 04:51:39 +0200 Subject: [PATCH] Inlined enumerations and bullets. --- grofftut.ms | 36 ++++++++++++------------------------ macros.ms | 2 ++ 2 files changed, 14 insertions(+), 24 deletions(-) diff --git a/grofftut.ms b/grofftut.ms index 5034224..885bf10 100644 --- a/grofftut.ms +++ b/grofftut.ms @@ -185,42 +185,30 @@ These horizontal lines are produced by .HORIZONTALLINE Listing stuff -.BULLET -with -.BULLET -bullet -.BULLET -points +.BULLET with +.BULLET bullet +.BULLET points .ENDBULLET .METAINFO1 - .BULLET - with - .BULLET - bullet - .BULLET - points + .BULLET with + .BULLET bullet + .BULLET points .ENDBULLET .METAINFO2 .HORIZONTALLINE Numbered lists -.ENUM -Orange -.ENUM -Apple -.ENUM -Pear +.ENUM Orange +.ENUM Apple +.ENUM Pear .ENDENUM .METAINFO1 - .ENUM - Orange - .ENUM - Apple - .ENUM - Pear + .ENUM Orange + .ENUM Apple + .ENUM Pear .ENDENUM .METAINFO2 diff --git a/macros.ms b/macros.ms index 384c30f..1f3074e 100644 --- a/macros.ms +++ b/macros.ms @@ -37,6 +37,7 @@ accumulate . .de BULLET \" Bullet points .IP \(bu 2 +\\$* .. .de ENDBULLET .in -2 \" indent @@ -45,6 +46,7 @@ accumulate .de ENUM \" Numbered list .nr LIST_NUMBER +1 .IP \\n[LIST_NUMBER] 2 +\\$* .. .de ENDENUM .nr LIST_NUMBER 0