bug-groff
[Top][All Lists]
Advanced

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

sqrt troubles with eqn


From: andlabs
Subject: sqrt troubles with eqn
Date: Fri, 21 Sep 2007 09:59:46 -0700 (PDT)

Hello. I noticed that a previous bug report by someone else talked about the
same situation, but I did not like the fix.

= Original Report =
GROFF VERSION: 
1.19.1 

MACHINE: 
Power Mac G5 

OS: 
MAC OS X 10.3.9 

COMPILER: 
gcc 3.3 ? 

INPUT FILES: 

.S 12 14 
.tr # 
.nr Hy 1 
.nr Pt 1 
.nr Hc 1 
.ds HF 3 3 2 
.ds HP +2 +1 +0 
.ls 1.5 
.SA 1 
.EQ 
gsize 12 
delim $$ 
.EN 
This is a test of the square root in EQN 
.DS I 
.EQ 
w = sqrt { x sup 2 + y sup 2 } = sqrt { { r sup 2 } over { w sup 2 }} 
.EN 
.DE 

[Output files are attachments] 

COMMAND LINE: 
groff -e -mm -rO1.26i -rN3 -rL10.7i test1.s > test1.ps 

DESCRIPTION OF INCORRECT BEHAVIOUR: 
sqrt function in EQN seems to behave badly 

SUGGESTED FIX [optional]:
= End of Original Report =
= Original Response =
Hmm, the PS output looks fine -- eqn has no other possibility than to 
scale the right whole square root glyph, with the result that it looks 
far too fat.  Only if you use the -Tdvi device you get a decent 
looking output because the used TeX font has square root glyphs for 
different sizes. 

A completely different problem is that your attached PDF output is 
completely broken.  Using ps2pdf which comes with gs 8.51, I get a 
correctly created PDF. 
= End Response =
= Hyperlink: http://www.nabble.com/bug-report-tf360433.html#a998253 =

For -Tdvi, I was not able to find a standalone DVI to PostScript converter,
and the only to DVI to PDF converters required a non-standalone library
called kpathsea. I didn't want to mess around with all that stuff, and I
didn't want to install TeX. I just want to have square root working
correctly: it seems as if eqn is giving zero width to the radical sign
(perhaps with \z\(sr or something else) and the upper bar (\z\(rn). I am
running the same version of groff on an Intel-based iMac with Mac OS X
10.4.10.

Thanks!


-- 
View this message in context: 
http://www.nabble.com/sqrt-troubles-with-eqn-tf4497348.html#a12825751
Sent from the Groff - Bugs mailing list archive at Nabble.com.





reply via email to

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