bug-groff
[Top][All Lists]
Advanced

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

[bug #63002] doc/groff.texi: correct \o example


From: Dave
Subject: [bug #63002] doc/groff.texi: correct \o example
Date: Sat, 3 Sep 2022 06:06:51 -0400 (EDT)

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/




reply via email to

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