groff-commit
[Top][All Lists]
Advanced

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

[groff] 07/09: man/roff.7.man: Kill off page-private macros.


From: G. Branden Robinson
Subject: [groff] 07/09: man/roff.7.man: Kill off page-private macros.
Date: Wed, 29 Apr 2020 18:09:29 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit a2d29b88578a20b96fe6cf0ddd1eb8d5bba0b40a
Author: G. Branden Robinson <address@hidden>
AuthorDate: Thu Apr 30 06:28:23 2020 +1000

    man/roff.7.man: Kill off page-private macros.
    
    Recast discussion of escape sequences.
    
    Update comment regarding Emacs's file-local variable detection.
---
 man/roff.7.man | 62 +++++++++++++++++++++++-----------------------------------
 1 file changed, 24 insertions(+), 38 deletions(-)

diff --git a/man/roff.7.man b/man/roff.7.man
index c88dcb5..e1054fa 100644
--- a/man/roff.7.man
+++ b/man/roff.7.man
@@ -28,24 +28,6 @@ roff \- concepts and history of roff typesetting
 .
 .
 .\" ====================================================================
-.\" Local macros
-.
-.de Esc
-.  ds @1 \\$1
-.  shift
-.  nop \f[B]\[rs]\\*[@1]\f[]\\$*
-.  rm @1
-..
-.
-.
-.de QuotedChar
-.  ds @1 \\$1
-.  shift
-.  nop \[oq]\f[B]\\*[@1]\f[]\[cq]\\$*
-.  rm @1
-..
-.
-.\" ====================================================================
 .SH Description
 .\" ====================================================================
 .
@@ -856,23 +838,25 @@ or macros; both are written on a line on their own 
starting with a dot.
 .
 .P
 .I Escape sequences
-are
-.I roff
-elements starting with a backslash
-.QuotedChar \[rs] .
-.
-They can be inserted anywhere, also in the midst of text in a line.
-.
-They are used to implement various features, including the insertion of
-non-\f[CR]ASCII\f[] characters with
-.Esc ( ,
+start with a backslash,
+.RB \[lq] \[rs] \[rq].
+.
+They can appear almost anywhere,
+even in the midst of text on a line,
+and implement various features,
+including the insertion of special characters with
+.RB \[lq] \[rs]( \[rq]
+or
+.RB \[lq] \[rs][] \[rq],
+break suppression at input line endings with
+.RB \[lq] \[rs]c \[rq],
 font changes with
-.Esc f ,
+.RB \[lq] \[rs]f \[rq],
+point size changes with
+.RB \[lq] \[rs]s \[rq],
 in-line comments with
-.Esc \[dq] ,
-the escaping of special control characters like
-.Esc \[rs] ,
-and many other features.
+.RB \[lq] \[rs]\[dq] \[rq],
+and many others.
 .
 .
 .P
@@ -1151,11 +1135,13 @@ features; consult the editor's online help topics
 .
 Then put the following at the end of your
 .I roff
-files, after any Emacs configuration:
-.\" ...because Emacs pattern-matches against ~3000 bytes from the end of
-.\" the buffer for "Local Variables:", but Vim only checks as many lines
-.\" as its 'modelines' variable tells it to.  A common default is "5",
-.\" but Emacs settings can be longer than that.
+files,
+after any Emacs configuration:
+.\" ...because Emacs pattern-matches against 3000 bytes from the end of
+.\" the buffer [or until hitting a 0x0C (FF, form-feed control)] for
+.\" "Local Variables:", but Vim only checks as many lines as its
+.\" 'modelines' variable tells it to.  A common default is "5", but
+.\" Emacs settings can be longer than that.
 .
 .P
 .



reply via email to

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