gbranden pushed a commit to branch master in repository groff. commit 1fa387656716ebc7002eb32635bf3d6dc8657f67 Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Sun Aug 27 15:10:02 2023 -0500
doc/groff.texi: Update examples. Use AT&T troff syntax for examples that exercise only AT&T features; use long names for those that exercise groff extensions. --- doc/groff.texi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/groff.texi b/doc/groff.texi index 2b2604766..43cf32e79 100644 --- a/doc/groff.texi +++ b/doc/groff.texi @@ -13116,17 +13116,17 @@ instead write a recursive macro. It will be parsed only once.@footnote{unless you redefine it} @Example -.de yyy -. if (\\n[num] > 0) \@{\ +.de yy +. if (\\n(nm > 0) \@{\ . \" many lines of code -. nr num -1 -. yyy +. nr nm -1 +. yy . \@} .. . -.de xxx -. nr num 10 -. yyy +.de xx +. nr nm 10 +. yy .. @endExample @@ -14053,13 +14053,13 @@ and leaders in the argument are ignored with an error diagnostic. We might implement a strike-through macro thus. @Example -.de ST +.de strikeout .nr width \w'\\$1' \Z@@\v'-.25m'\l'\\n[width]u'@@\\$1 .. . This is -.ST "a test" +.strikeout "a test" an actual emergency! @endExample @endDefesc _______________________________________________ Groff-commit mailing list Groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit