groff-commit
[Top][All Lists]
Advanced

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

[groff] 32/39: doc/groff.texi (Text): Improve example.


From: G. Branden Robinson
Subject: [groff] 32/39: doc/groff.texi (Text): Improve example.
Date: Sun, 9 Oct 2022 23:53:40 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit f8ba276a6c47328daedd7f6e22e2d710f0fbcd0c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Oct 9 11:32:53 2022 -0500

    doc/groff.texi (Text): Improve example.
    
    Per a suggestion from T. Kurt Bond a couple of years ago.
    
    And look at that, I seem to have tripped over a Texinfo bug...
---
 doc/groff.texi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/groff.texi b/doc/groff.texi
index 6ccd433b8..93668fc83 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -5007,9 +5007,18 @@ characters shown here are ``dagger'', ``double dagger'', 
``right
 \[lq]The idea that the poor should have leisure has always
 been shocking to the rich.\[rq]
 (Bertrand Russell, 1935)
+@c XXX: @iftex puts a blank line on the output.  This seems like a bug.
+@c @newline works around it.  But we need a weird inverse indent.
+@iftex @
+  @result{} @quotedblleft{}The idea that the poor should have
+    @result{} leisure has always been shocking to
+    @result{} the rich.@quotedblright{}  (Bertrand Russell, 1935)
+@end iftex
+@ifnottex
     @result{} "The idea that the poor should have
     @result{} leisure has always been shocking to
     @result{} the rich."  (Bertrand Russell, 1935)
+@end ifnottex
 @endExample
 
 The sets of characters that potentially end sentences or are transparent



reply via email to

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