Follow-up Comment #4, bug #65977 (group groff):

[comment #3 comment #3:]

> commit 2881748b0216430290410910298d38610d7fbb81
> Author: G. Branden Robinson <[email protected]>
> Date:   Sat Aug 24 16:34:35 2024 -0500
> 
> [groff]: Simply test of `device` request.
> 
> It's no longer necessary to explicitly put a break on the output.
> 
> See <https://savannah.gnu.org/bugs/?65977>.
> 
> Continues commit 017779a9a7, 16 July.


However, it's often necessary to put _something_ on the output.


commit 959c4f38d2388a00d31e3015e857c2c87acafa97 (tag: 1.24.0.rc3)
Author: G. Branden Robinson <[email protected]>
Date:   Sun Feb 8 02:56:45 2026 -0600

    [doc,man]: Fix Savannah #67992.
    
    Note a pitfall with using a device extension command as the first thing
    in a document, and a workaround.
    
    Fixes <https://savannah.gnu.org/bugs/?67992>.

diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index 39aed1e50..279f60dd6 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -20519,6 +20519,14 @@
 that do not know about it.@footnote{@xref{Device Control Commands}.}
 @endDefesc
 
+Use of device extension commands early in a document
+(before the first text is formatted)
+can interfere with processing of page location traps.
+If you experience problems when placing them early,
+precede the first with a dummy character escape sequence
+@samp{\&};
+recall @ref{Dummy Characters}.
+
 @DefreqList {tag, name}
 @DefreqListEndx {taga, name}
 Reserved for internal use.
[...]




    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to