groff
[Top][All Lists]
Advanced

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

Re: [Groff] Possible bug in -doc


From: Ingo Schwarze
Subject: Re: [Groff] Possible bug in -doc
Date: Mon, 10 Oct 2016 14:12:24 +0200
User-agent: Mutt/1.6.2 (2016-07-01)

Hi Steffen,

Steffen Nurpmeso wrote on Mon, Oct 10, 2016 at 01:41:43PM +0200:

> Having a definition list with some few first words in a different
> style, e.g., bold or emphasized, than directly following text in
> the same paragraph block, i.e., term and definition, or tag and
> text, in the same paragraph, is pretty common, i think.
> 
> That, however, is not possible with .Bl,

Of course that is possible in more than one way, and completely
trivial.  Here are just three ways as examples for the many ways
to achieve it:

  .Bl -hang
  .It Sy Some tag to be defined:
  This is the definition, explained in a paragraph directly following
  the tag on the same line, with each subsequent line indented.
  .El

  .Bl -inset
  .It Em Some tag to be defined:
  This is the definition, explained in a paragraph directly following
  the tag on the same line, without subsequent indentation.
  .El

  .Bl -item
  .It
  .Sy Some tag to be defined:
  This is the definition, explained in a paragraph directly following
  the tag on the same line, without subsequent indentation.
  .El

The -diag and -ohang types can also be used, and even -bullet, -dash,
-enum, and -hyphen, if you want to.  And you can of course do it
with .Pp alone, without any .Bl whatsoever.

However, this isn't related to the original problem at all, which
was overcomplicated rules for handling lack of -width in .Bl -tag.

Yours,
  Ingo



reply via email to

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