retitle 413161 ".I $" is printed as pound sign in DVI output
reassign 413161 groff
thanks

* Reuben Thomas:

> There seems to be some problem with the way the Cook documentation is
> processed into DVI: for example, at the start of section 14 on page
> 92, the environment variable referred to as "$COOK" comes out as
> "£COOK".

This is arguably a groff bug.  It uses the "$" character from the
cmitt10 font, which is a pound sign.  Here's a small example:

.TH TEST 1 "" "" ""
.SH NAME
.I $test

(Run it with "groff -Tdvi -man".)

Here's the output from dvitype:

137: fntdef1 2: cmitt10 
160: fntnum2 current font is cmitt10 
161: right2 28908 h:=0+28908=28908, hh:=150 
[ ]
164: down2 9636 v:=9636+9636=19272, vv:=100 
167: push 
level 0:(h=28908,v=19272,w=0,x=0,y=0,z=0,hh=150,vv=100) 
168: setchar36 h:=28908+4199=33107, hh:=172 
[$]
169: fntdef1 3: cmti10 
191: fntnum3 current font is cmti10 
192: setchar116 h:=33107+2657=35764, hh:=186 
193: setchar101 h:=35764+3679=39443, hh:=205 
194: setchar115 h:=39443+3271=42714, hh:=222 
195: setchar116 h:=42714+2657=45371, hh:=236 
[test]
196: pop 

> (Quite aside from questions like: shouldn't it be simply "COOK"? and
> "what is DVI documentation doing in this package *as well as*
> PostScript?!)

Historical reasons, I guess.  Good Postscript viewers with acceptable
performance weren't available during most of the 90s.  It probably
makes sense to not install these 

Reply via email to