summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-04-19 14:26:06 +0000
committerwlemb <wlemb>2002-04-19 14:26:06 +0000
commitd5c3892b39ddb49addd454c9f8cc617af14b598a (patch)
tree9bbc02e56cf9e3d7d82832dc4fc29778725f4e6b
parent98d8aaddcf89090675d80d445e7563f040538af5 (diff)
downloadgroff-d5c3892b39ddb49addd454c9f8cc617af14b598a.tar.gz
* doc/groff.texinfo: Add documentation of remaining escapes.
* font/devdvi/generate/tc.map: Remove entry for `sr'. * font/devdvi/*TC: Regenerated.
-rw-r--r--ChangeLog7
-rw-r--r--doc/groff.texinfo38
-rw-r--r--font/devdvi/CWITC2
-rw-r--r--font/devdvi/CWTC2
-rw-r--r--font/devdvi/HBITC2
-rw-r--r--font/devdvi/HBTC2
-rw-r--r--font/devdvi/HITC2
-rw-r--r--font/devdvi/HRTC2
-rw-r--r--font/devdvi/TBITC2
-rw-r--r--font/devdvi/TBTC2
-rw-r--r--font/devdvi/TITC2
-rw-r--r--font/devdvi/TRTC2
-rw-r--r--font/devdvi/generate/tc.map1
-rw-r--r--src/roff/troff/input.cc2
14 files changed, 56 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 61bcd0b0..bcc1776e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-04-19 Werner LEMBERG <wl@gnu.org>
+
+ * doc/groff.texinfo: Add documentation of remaining escapes.
+
+ * font/devdvi/generate/tc.map: Remove entry for `sr'.
+ * font/devdvi/*TC: Regenerated.
+
2002-04-18 Werner LEMBERG <wl@gnu.org>
* src/roff/troff/input.cc (token::next): Make \H behave consistently
diff --git a/doc/groff.texinfo b/doc/groff.texinfo
index 65491a5d..038850ca 100644
--- a/doc/groff.texinfo
+++ b/doc/groff.texinfo
@@ -8148,6 +8148,24 @@ name of @samp{---}; the @code{\N} escape sequence is the only way to
use these.
@endDefesc
+Some escape sequences directly map onto special glyphs.
+
+@Defesc {\\', , , }
+This is a backslash followed by the apostrophe character, @acronym{ASCII}
+character @code{0x27} (@acronym{EBCDIC} character @code{0x7D}). The same
+as @code{\[aa]}, the acute accent.
+@endDefesc
+
+@Defesc {\\`, , , }
+This is a backslash followed by @acronym{ASCII} character @code{0x60}
+(@acronym{EBCDIC} character @code{0x79} usually). The same as
+@code{\[ga]}, the grave accent.
+@endDefesc
+
+@Defesc {\\-, , , }
+This is the same as @code{\[-]}, the minus sign in the current font.
+@endDefesc
+
@c XXX should be `glyph', not `character'
@cindex character properties (@code{cflags})
@@ -10064,6 +10082,23 @@ A read-only number register containing the current horizontal output
position.
@endDefreg
+@cindex overstriking characters (@code{\o})
+@cindex characters, overstriking (@code{\o})
+@Defesc {\\o, ', @Var{a}@Var{b}@Var{c}, '}
+Overstrike characters @var{a}, @var{b}, @var{c}, @dots{}; the characters
+are centered, and the resulting spacing is the largest width of the
+affected characters.
+@endDefesc
+
+@cindex zero-width printing (@code{\z}, @code{\Z})
+@cindex printing, zero-width (@code{\z}, @code{\Z})
+@Defesc {\\z, , c, , }
+Print character @var{c} with zero width, i.e., without spacing. Use
+this to overstrike characters left-aligned.
+@endDefesc
+
+@cindex zero-width printing (@code{\z}, @code{\Z})
+@cindex printing, zero-width (@code{\z}, @code{\Z})
@Defesc {\\Z, ', anything, '}
Print @var{anything}, then restore the horizontal and vertical position.
The argument may not contain tabs or leaders.
@@ -13208,6 +13243,9 @@ Requests appear without the leading control character (normally either
@node Escape Index, Operator Index, Request Index, Top
@chapter Escape Index
+Any escape sequence @code{\@var{X}} with @var{X} not in the list below
+emits a warning, printing character @var{X}.
+
@printindex es
diff --git a/font/devdvi/CWITC b/font/devdvi/CWITC
index f36ff659..bf4aa1b4 100644
--- a/font/devdvi/CWITC
+++ b/font/devdvi/CWITC
@@ -130,7 +130,7 @@ pc 550368,451360,0,182000 0 0267
--- 550368,514453,0,182000 2 0270
S1 550368,728000,0,182000 2 0271
Om 550368,728000,0,182000 2 0272
-sr 550368,728000,14560,182000 3 0273
+--- 550368,728000,14560,182000 3 0273
14 550368,728000,232960,182000 3 0274
12 550368,728000,232960,182000 3 0275
34 550368,728000,232960,182000 3 0276
diff --git a/font/devdvi/CWTC b/font/devdvi/CWTC
index 96665cf4..2c6d0280 100644
--- a/font/devdvi/CWTC
+++ b/font/devdvi/CWTC
@@ -129,7 +129,7 @@ pc 550368,451360 0 0267
--- 550368,514453 2 0270
S1 550368,728000 2 0271
Om 550368,728000 2 0272
-sr 550368,728000,14560 3 0273
+--- 550368,728000,14560 3 0273
14 550368,728000,232960 3 0274
12 550368,728000,232960 3 0275
34 550368,728000,232960 3 0276
diff --git a/font/devdvi/HBITC b/font/devdvi/HBITC
index 33139971..26167ca7 100644
--- a/font/devdvi/HBITC
+++ b/font/devdvi/HBITC
@@ -130,7 +130,7 @@ pc 235872,483392 2 0267
--- 700819,572691,0,19032 2 0270
S1 512512,786240,0,135086 2 0271
Om 512512,786240,0,116982 2 0272
-sr 544544,786240,174720,167118 3 0273
+--- 544544,786240,174720,167118 3 0273
14 512512,786240,203840,135086 3 0274
12 512512,786240,203840,135086 3 0275
34 512512,786240,203840,135086 3 0276
diff --git a/font/devdvi/HBTC b/font/devdvi/HBTC
index 39fa2a65..9844258b 100644
--- a/font/devdvi/HBTC
+++ b/font/devdvi/HBTC
@@ -129,7 +129,7 @@ pc 235872,483392 2 0267
--- 700819,572691 2 0270
S1 512512,786240 2 0271
Om 512512,786240 2 0272
-sr 544544,786240,174720 3 0273
+--- 544544,786240,174720 3 0273
14 512512,786240,203840 3 0274
12 512512,786240,203840 3 0275
34 512512,786240,203840 3 0276
diff --git a/font/devdvi/HITC b/font/devdvi/HITC
index 183bf905..64face81 100644
--- a/font/devdvi/HITC
+++ b/font/devdvi/HITC
@@ -130,7 +130,7 @@ pc 247520,465920 0 0267
--- 679466,560560,0,20397 2 0270
S1 465920,786240,0,137998 2 0271
Om 465920,786240,0,116982 2 0272
-sr 495040,786240,220138,167118 3 0273
+--- 495040,786240,220138,167118 3 0273
14 465920,786240,203840,137998 3 0274
12 465920,786240,203840,137998 3 0275
34 465920,786240,203840,137998 3 0276
diff --git a/font/devdvi/HRTC b/font/devdvi/HRTC
index f3ca108d..d312c4e3 100644
--- a/font/devdvi/HRTC
+++ b/font/devdvi/HRTC
@@ -129,7 +129,7 @@ pc 247520,465920 0 0267
--- 679466,560560 2 0270
S1 465920,786240 2 0271
Om 465920,786240 2 0272
-sr 495040,786240,220138 3 0273
+--- 495040,786240,220138 3 0273
14 465920,786240,203840 3 0274
12 465920,786240,203840 3 0275
34 465920,786240,203840 3 0276
diff --git a/font/devdvi/TBITC b/font/devdvi/TBITC
index 77eaa544..e9aec283 100644
--- a/font/devdvi/TBITC
+++ b/font/devdvi/TBITC
@@ -130,7 +130,7 @@ pc 321485,472035 2 0267
--- 740811,553278,0,27373 2 0270
S1 557939,786240,0,165693 2 0271
Om 557939,786240,0,137592 2 0272
-sr 556774,786240,199165,196560 3 0273
+--- 556774,786240,199165,196560 3 0273
14 557939,786240,203840,165693 3 0274
12 557939,786240,203840,165693 3 0275
34 557939,786240,203840,165693 3 0276
diff --git a/font/devdvi/TBTC b/font/devdvi/TBTC
index c4220dd5..9a623b35 100644
--- a/font/devdvi/TBTC
+++ b/font/devdvi/TBTC
@@ -129,7 +129,7 @@ pc 288288,465920 0 0267
--- 687230,553278 2 0270
S1 535808,786240 2 0271
Om 535808,786240 2 0272
-sr 569296,786240,199165 3 0273
+--- 569296,786240,199165 3 0273
14 535808,786240,203840 3 0274
12 535808,786240,203840 3 0275
34 535808,786240,203840 3 0276
diff --git a/font/devdvi/TITC b/font/devdvi/TITC
index 0051f12b..451985c2 100644
--- a/font/devdvi/TITC
+++ b/font/devdvi/TITC
@@ -130,7 +130,7 @@ pc 321485,450486 0 0267
--- 704314,548426,0,29630 2 0270
S1 482227,786240,0,169770 2 0271
Om 482227,786240,0,137592 2 0272
-sr 482227,786240,220138,196560 3 0273
+--- 482227,786240,220138,196560 3 0273
14 482227,786240,203840,169770 3 0274
12 482227,786240,203840,169770 3 0275
34 482227,786240,203840,169770 3 0276
diff --git a/font/devdvi/TRTC b/font/devdvi/TRTC
index e350c814..37a054c6 100644
--- a/font/devdvi/TRTC
+++ b/font/devdvi/TRTC
@@ -129,7 +129,7 @@ pc 291200,458640 2 0267
--- 660051,548426 2 0270
S1 465920,786240 2 0271
Om 465920,786240 2 0272
-sr 495040,786240,220138 3 0273
+--- 495040,786240,220138 3 0273
14 465920,786240,203840 3 0274
12 465920,786240,203840 3 0275
34 465920,786240,203840 3 0276
diff --git a/font/devdvi/generate/tc.map b/font/devdvi/generate/tc.map
index 8665ea44..6934ca40 100644
--- a/font/devdvi/generate/tc.map
+++ b/font/devdvi/generate/tc.map
@@ -50,7 +50,6 @@
183 pc
185 S1
186 Om
-187 sr
188 14
189 12
190 34
diff --git a/src/roff/troff/input.cc b/src/roff/troff/input.cc
index 398584b7..112e0773 100644
--- a/src/roff/troff/input.cc
+++ b/src/roff/troff/input.cc
@@ -1979,7 +1979,7 @@ void token::next()
{
next();
if (type == TOKEN_NODE)
- nd = new zero_width_node(nd);
+ nd = new zero_width_node(nd);
else {
charinfo *ci = get_char(1);
if (ci == 0)