bug-groff
[Top][All Lists]
Advanced

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

[bug #46914] .ce sometimes ignores right margin


From: Bjarni Ingi Gislason
Subject: [bug #46914] .ce sometimes ignores right margin
Date: Sat, 29 Apr 2023 15:16:01 -0400 (EDT)

Follow-up Comment #11, bug #46914 (project groff):

  Similar "subject" is also discussed in bug #60731

  It is the job of '.ce' to ignore the right margin,
that is, _not_ to break the input line in two pieces for the output line.

  The example in groff.texi ("info groff") is misleading in two aspects

1) The output does not conform to the provided description.

2) The input lines do not conform to the purpose of the '.ce' request
(wrong layout of the input lines).

  A better example could be

.nr length (u;40*\w'0')
.nr sp (u;9*\w'0'))
.ll \n[length]u
.ad b\" default value
.fi\" default value
1234567890123456789012345678901234567890
\h'\n[sp]u'1\h'\n[sp]u'2\h'\n[sp]u'3\h'\n[sp]u'4
.de FR
This is a small text fragment
that shows the differences
between the '.ce' and
the '.ad c' requests.
..
.ce 9999\" from s.tmac
.FR
.ce 0

.ad c
.FR
.pl \n(nlu


N.B.  Mentioning the purpose of requests could aid with the right use
of them, if not obvious from the description of what they are doing.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?46914>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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