URL:
<https://savannah.gnu.org/bugs/?63002>
Summary: doc/groff.texi: correct \o example
Project: GNU troff
Submitter: barx
Submitted: Sat 03 Sep 2022 05:06:49 AM CDT
Category: Core
Severity: 2 - Minor
Item Group: Documentation
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 03 Sep 2022 05:06:49 AM CDT By: Dave <barx>
This example in the Texinfo manual doesn't produce the claimed output.
@Example
A caf
\o
e\'
in Paris
@result{} A café in Paris
@endExample
First, there are three newline characters (one ending the line, and two more
forming blank lines) following the overstruck "e\'" sequence; the first of
these closes the \o escape, as the example is intended to illustrate, but the
other two cause a break, which puts the result not all on one line as shown.
Second, the newline between "caf" and "\o" outputs (in fill mode) a space,
resulting not in "café" but in "caf é".
Example input that produces the claimed output would be:
@Example
A caf\o
e\'
in Paris
This is also visually tighter while still illustrating the ability of newlines
to delimit \o's argument.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63002>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/