[BACK]Return to spacing.out_markdown CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / mdoc / Fl

File: [cvsweb.bsd.lv] / mandoc / regress / mdoc / Fl / spacing.out_markdown (download)

Revision 1.1, Thu Feb 27 01:44:02 2020 UTC (4 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD

Introduce the concept of nodes that are semantically transparent:
they are skipped when looking for previous or following high-level
macros.  Examples include roff(7) .ft, .ll, and .ta, mdoc(7) .Sm
and .Tg, and man(7) .DT and .PD.  Use this concept for a variety
of improved decisions in various validators and formatters.

While here,
* remove a few const qualifiers on struct arguments that caused trouble;
* get rid of some more Yoda notation in the vicinity;
* and apply some other stylistic improvements in the vicinity.

I found this class of issues while considering .Tg patches from kn@.

FL-SPACING(1) - General Commands Manual

# NAME

**Fl-spacing** - horizontal spacing after flag macros

# DESCRIPTION

with argument:
**-a**

no next node:
**-** suffix

transparent next node only:
**-**
suffix

following text:
**-**
text

text after transparent node on the same line:
**-**
text

following macro on the same line:
**-**‌*word*

following macro on the next line:
**-**
*word*

following macro on the next line after transparent node on the same line:
**-**
*word*

following macro after transparent node on the next line:
**-**
*word*

OpenBSD - February 27, 2020