summaryrefslogtreecommitdiff
path: root/tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-12-11 14:26:14 +0000
committerwlemb <wlemb>2002-12-11 14:26:14 +0000
commit908ba39d437310a196896f88b76f5368c72a0d2a (patch)
treeb7d454230640d645277944778c91aa836e76ac39 /tmac
parent81e9aa31b7afc2dd9e466c29a7bdf73dada42bb6 (diff)
downloadgroff-908ba39d437310a196896f88b76f5368c72a0d2a.tar.gz
Add glyph `tno', a textual variant of `no'.
* font/devX*/*: Regenerated. * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'. * font/devdvi/generate/{tc.map: Replace `no' with `tno'. * font/devdvi/generated/{texsy,textex}.map: Add `tno'. * font/devdvi/*: Regenerated. * font/devlbp/*: Add `tno'. * font/devlj4/generate/tex.map: Replace `no' with `tno'. * font/devlj4/*: Regenerated. * font/devps/generate/textmap: Replace `no' with `tno'. * font/devps/generate/symbolchars: Add `no'. * font/devps/*: Regenerated. * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'. * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'. * tmac/tty-char.tmac: Add entry for `tno' and `3d'. * NEWS: Updated. * tmac/dvi.tmac: Replace most `\\' with `\E'. Add definition for `sd'. * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'. * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
Diffstat (limited to 'tmac')
-rw-r--r--tmac/X.tmac12
-rw-r--r--tmac/cp1047.tmac2
-rw-r--r--tmac/dvi.tmac23
-rw-r--r--tmac/eqnrc2
-rw-r--r--tmac/latin1.tmac2
-rw-r--r--tmac/lbp.tmac8
-rw-r--r--tmac/ps.tmac8
-rw-r--r--tmac/tty-char.tmac3
8 files changed, 32 insertions, 28 deletions
diff --git a/tmac/X.tmac b/tmac/X.tmac
index c91aa5f3..23aaf936 100644
--- a/tmac/X.tmac
+++ b/tmac/X.tmac
@@ -15,8 +15,8 @@
.char \[br] \v'.25m'\D'l 0 -1m'\v'.75m'
.char \[rn] \v'-.75m'\D'l .5m 0'\v'.75m'
.char \[or] \h'.1m'\Z'\D'l 0 -.675m''\h'.1m'
-.char ~ \v'-.55m'\\s[\\n(.s/2u]\v'.2m'\[ti]\v'-.2m'\s0\v'.55m'
-.char ^ \v'-.55m'\\s[\\n(.s/2u]\v'.3m'\[ha]\v'-.3m'\s0\v'.55m'
+.char ~ \v'-.55m'\s[\En(.s/2u]\v'.2m'\[ti]\v'-.2m'\s0\v'.55m'
+.char ^ \v'-.55m'\s[\En(.s/2u]\v'.3m'\[ha]\v'-.3m'\s0\v'.55m'
.fchar \[va] \o'\[ua]\[da]'
.fchar \[em] \v'-.25m'\h'.05m'\D'l .9m 0'
.fchar \[en] \-
@@ -56,11 +56,11 @@
. fchar \\$1 \
\\$3\
\k[acc]\
-\h'(u;-\w'\\$2'-\w'\\$3'/2+\\\\n[skw]+(\w'x'*0)-\\\\n[skw])'\
-\v'(u;\w'x'*0+\\\\n[rst]+(\w'\\$3'*0)-\\\\n[rst])'\
+\h'(u;-\w'\\$2'-\w'\\$3'/2+\\En[skw]+(\w'x'*0)-\\En[skw])'\
+\v'(u;\w'x'*0+\\En[rst]+(\w'\\$3'*0)-\\En[rst])'\
\\$2\
-\v'(u;\w'x'*0-\\\\n[rst]+(\w'\\$3'*0)+\\\\n[rst])'\
-\h'|\\\\n[acc]u'
+\v'(u;\w'x'*0-\\En[rst]+(\w'\\$3'*0)+\\En[rst])'\
+\h'|\\En[acc]u'
. hcode \\$1\\$4
..
.
diff --git a/tmac/cp1047.tmac b/tmac/cp1047.tmac
index 8b02753b..125f3115 100644
--- a/tmac/cp1047.tmac
+++ b/tmac/cp1047.tmac
@@ -62,7 +62,7 @@
.cp1047-tr \[char172] \[-D]
.cp1047-tr \[char174] \[TP]
.cp1047-tr \[char175] \[rg]
-.cp1047-tr \[char176] \[no]
+.cp1047-tr \[char176] \[tno]
.cp1047-tr \[char177] \[Po]
.cp1047-tr \[char178] \[Ye]
.cp1047-tr \[char179] \[pc]
diff --git a/tmac/dvi.tmac b/tmac/dvi.tmac
index 8f528f82..112c098d 100644
--- a/tmac/dvi.tmac
+++ b/tmac/dvi.tmac
@@ -21,7 +21,7 @@
.
.\" This uses the dvi-char-_-1 string in fixed-width fonts, dvi-char-_-0
.\" otherwise.
-.fchar _ \R'dvi-char (\w'M' == \w'i')'\\*[dvi-char-_-\\n[dvi-char]]
+.fchar _ \R'dvi-char (\w'M' == \w'i')'\E*[dvi-char-_-\\n[dvi-char]]
.\" Normally use a rule.
.ds dvi-char-_-0 \Z'\v'.08m'\D'R .54m .04m''\h'.5m'
.\" In fixed-width fonts (CW and CWI) use a real _ character.
@@ -29,14 +29,14 @@
.
.fchar \[/l] \
\R'dvi-char ((\w'M' == \w'i') + \
- (\\n[.f] == \f[CWI]\\n[.f]\f[]))'\\*[dvi-char-/l-\\n[dvi-char]]
+ (\En[.f] == \f[CWI]\En[.f]\f[]))'\E*[dvi-char-/l-\\n[dvi-char]]
.ds dvi-char-/l-0 \[slash@for@l]l
.ds dvi-char-/l-1 \Z'\v'0.22v'\h'-0.02m'\''l
.ds dvi-char-/l-2 \Z'\v'0.22v'\h'-0.13m'\''l
.
.fchar \[/L] \
\R'dvi-char ((\w'M' == \w'i') + \
- (\\n[.f] == \f[CWI]\\n[.f]\f[]))'\\*[dvi-char-/L-\\n[dvi-char]]
+ (\En[.f] == \f[CWI]\En[.f]\f[]))'\E*[dvi-char-/L-\\n[dvi-char]]
.ds dvi-char-/L-0 \h'\w'L'u-\w'\[slash@for@l]L'u'\[slash@for@l]L
.ds dvi-char-/L-1 \Z'\v'0.22v'\h'-0.14m'\''L
.ds dvi-char-/L-2 \Z'\v'0.22v'\h'-0.21m'\''L
@@ -60,7 +60,8 @@
\h'\w'\s-2\[ci]\s0'u-\w'\s-4R\s0'u/2u'\
\s-4R\s0\
\h'\w'\s-2\[ci]\s0'u-\w'\s-4R\s0'u/2u'
-.fchar \[fm] \v'-.35m'\s[\\n[.s]*7u/10u]\[prime]\s0\v'.35m'
+.fchar \[fm] \v'-.35m'\s[\En[.s]*7u/10u]\[prime]\s0\v'.35m'
+.fchar \[sd] \v'-.35m'\s[\En[.s]*7u/10u]\[prime]\[prime]\s0\v'.35m'
.fchar \[de] \h'.05m'\v'-.54m'\D'c .3m'\v'.54m'\h'.05m'
.fchar \[ct] \o'c/'
.fchar \[sq] \
@@ -68,7 +69,7 @@
\D'R .04m -.4m'\v'.04m'\D'R -.4m -.04m'\D'R .04m .4m''\h'.5m'
.\"char \[sq] \h'.05m'\D'l .4m 0'\D'l 0 -.4m'\D'l -.4m 0'\D'l 0 .4m'\h'.45m'
.fchar \[!=] \[slashnot]\[eq]
-.fchar \[tm] \v'-.3m'\s[\\n[.s]/2u]TM\s0\v'.3m'
+.fchar \[tm] \v'-.3m'\s[\En[.s]/2u]TM\s0\v'.3m'
.fchar \[aq] '
.fchar \[bq] ,
.fchar \[Bq] ,\h'\w'\[rq]'u-(2u*\w"'"u)',
@@ -96,8 +97,8 @@ D\v'-.33m'\s0\v'.33m'
.\" Define some fractions.
.de dvi-frac
. fchar \[\\$1\\$2] \
-\v'-.25m'\s[\\\\n[.s]*7u/10u]\\$1\s0\v'.25m'\h'-.2m'\
-/\h'-.2m'\v'.25m'\s[\\\\n[.s]*7u/10u]\\$2\s0\v'-.25m'
+\v'-.25m'\s[\\En[.s]*7u/10u]\\$1\s0\v'.25m'\h'-.2m'\
+/\h'-.2m'\v'.25m'\s[\\En[.s]*7u/10u]\\$2\s0\v'-.25m'
..
.
.dvi-frac 1 2
@@ -130,11 +131,11 @@ D\v'-.33m'\s0\v'.33m'
. fchar \\$1 \
\\$3\
\k[acc]\
-\h'(u;-\w'\\$2'-\w'\\$3'/2+\\\\n[skw]+(\w'x'*0)-\\\\n[skw])'\
-\v'(u;\w'x'*0+\\\\n[rst]+(\w'\\$3'*0)-\\\\n[rst])'\
+\h'(u;-\w'\\$2'-\w'\\$3'/2+\\En[skw]+(\w'x'*0)-\\En[skw])'\
+\v'(u;\w'x'*0+\\En[rst]+(\w'\\$3'*0)-\\En[rst])'\
\\$2\
-\v'(u;\w'x'*0-\\\\n[rst]+(\w'\\$3'*0)+\\\\n[rst])'\
-\h'|\\\\n[acc]u'
+\v'(u;\w'x'*0-\\En[rst]+(\w'\\$3'*0)+\\En[rst])'\
+\h'|\\En[acc]u'
. hcode \\$1\\$4
..
.
diff --git a/tmac/eqnrc b/tmac/eqnrc
index cfdbf3f9..874d7356 100644
--- a/tmac/eqnrc
+++ b/tmac/eqnrc
@@ -22,7 +22,7 @@ ifdef html ! define ps|X|html %1% !
ifdef ps|X|html ! sdefine inf %"\s[\En[.s]*13u/10u]\v'12M'\(if\v'-12M'\s0"% !
ifdef dvi !
-sdefine int %{type "operator" vcenter \(is}%
+sdefine int %{type "operator" vcenter \[integral]}%
sdefine sum %{type "operator" vcenter \[sum]}%
sdefine prod %{type "operator" vcenter \[product]}%
sdefine coprod %{type "operator" vcenter \[coproduct]}%
diff --git a/tmac/latin1.tmac b/tmac/latin1.tmac
index 01cb5617..e7f043af 100644
--- a/tmac/latin1.tmac
+++ b/tmac/latin1.tmac
@@ -17,7 +17,7 @@
.latin1-tr \[char169] \[co]
.latin1-tr \[char170] \[Of]
.latin1-tr \[char171] \[Fo]
-.latin1-tr \[char172] \[no]
+.latin1-tr \[char172] \[tno]
.\" The soft-hyphen character is only an input character
.tr \[char173]\%
.latin1-tr \[char174] \[rg]
diff --git a/tmac/lbp.tmac b/tmac/lbp.tmac
index 142f14ee..86648412 100644
--- a/tmac/lbp.tmac
+++ b/tmac/lbp.tmac
@@ -45,11 +45,11 @@
. fchar \\$1 \
\\$3\
\k[acc]\
-\h'(u;-\w'\\$2'-\w'\\$3'/2+\\\\n[skw]+(\w'x'*0)-\\\\n[skw])'\
-\v'(u;\w'x'*0+\\\\n[rst]+(\w'\\$3'*0)-\\\\n[rst])'\
+\h'(u;-\w'\\$2'-\w'\\$3'/2+\\En[skw]+(\w'x'*0)-\\En[skw])'\
+\v'(u;\w'x'*0+\\En[rst]+(\w'\\$3'*0)-\\En[rst])'\
\\$2\
-\v'(u;\w'x'*0-\\\\n[rst]+(\w'\\$3'*0)+\\\\n[rst])'\
-\h'|\\\\n[acc]u'
+\v'(u;\w'x'*0-\\En[rst]+(\w'\\$3'*0)+\\En[rst])'\
+\h'|\\En[acc]u'
. hcode \\$1\\$4
..
.
diff --git a/tmac/ps.tmac b/tmac/ps.tmac
index 02b34eee..d438ccfa 100644
--- a/tmac/ps.tmac
+++ b/tmac/ps.tmac
@@ -60,11 +60,11 @@
. fchar \\$1 \
\\$3\
\k[acc]\
-\h'(u;-\w'\\$2'-\w'\\$3'/2+\\\\n[skw]+(\w'x'*0)-\\\\n[skw])'\
-\v'(u;\w'x'*0+\\\\n[rst]+(\w'\\$3'*0)-\\\\n[rst])'\
+\h'(u;-\w'\\$2'-\w'\\$3'/2+\\En[skw]+(\w'x'*0)-\\En[skw])'\
+\v'(u;\w'x'*0+\\En[rst]+(\w'\\$3'*0)-\\En[rst])'\
\\$2\
-\v'(u;\w'x'*0-\\\\n[rst]+(\w'\\$3'*0)+\\\\n[rst])'\
-\h'|\\\\n[acc]u'
+\v'(u;\w'x'*0-\\En[rst]+(\w'\\$3'*0)+\\En[rst])'\
+\h'|\\En[acc]u'
. hcode \\$1\\$4
..
.
diff --git a/tmac/tty-char.tmac b/tmac/tty-char.tmac
index f63d68e6..fd47935e 100644
--- a/tmac/tty-char.tmac
+++ b/tmac/tty-char.tmac
@@ -45,6 +45,7 @@
.tty-char \[di] -:-
.tty-char \[tdi] -:-
.tty-char \[no] ~
+.tty-char \[tno] ~
.tty-char \[gr] \Z'\*[tty-rn]'V
.tty-char \[is] \z'\z,I
.tty-char \[mo] E
@@ -121,6 +122,8 @@
.tty-char \[te] 3
.if c\[md] .tty-char \[tf] .\[md].
.tty-char \[tf] .:.
+.if c\[md] .tty-char \[3d] .\[md].
+.tty-char \[3d] .:.
.tty-char \[wp] p
.tty-char \[~~] ~~
.tty-char \[Fn] \z,f