tags 384735 + patch
thanks
On Sat, Aug 26, 2006 at 01:13:52PM +0200, Andreas Jochens wrote:
> Package: derivations
> Version: 0.4.20060804-1
> Severity: serious
>
> Hello,
>
> when building 'derivations' on unstable, I get the following error:
>
> trig.tex:1188: leading text: \sphere
> trig.tex:1188: Illegal unit of measure (pt inserted).
> [...]
Somehow, the author got the syntax of the \scalebox command wrong.
This patch fixes the problem.
--- tex/integ.tex.orig 2006-08-28 16:43:32.000000000 +0100
+++ tex/integ.tex 2006-08-28 16:44:30.000000000 +0100
@@ -1046,16 +1046,16 @@
\psset{linewidth=2.0pt}
\pspolygon[linewidth=0.0pt,fillstyle=solid,fillcolor=lightgray]
(1.42,0.25)(1.89,0.35)(1.91,0.02)(1.89,-0.32)(1.41,-0.41)(1.43,-0.08)
- \scalebox{1.0 \xxs}{
+ \scalebox{1.0}[\xxs]{
\psarc(0,0){\xxr}{-180}{0}
}
\rput(0,\tlh){
- \scalebox{1.0 \xxs}{
+ \scalebox{1.0}[\xxs]{
\psarc(0,0){\tlg}{-180}{0}
}
}
\rput(0,-\tlh){
- \scalebox{1.0 \xxs}{
+ \scalebox{1.0}[\xxs]{
\psarc{->}(0,0){\tlg}{-70}{-58}
\psarc{<-}(0,0){\tlg}{-43}{-31}
}
@@ -1067,7 +1067,7 @@
\rput{0} (0,0){\xxaxis} % The z axis.
\rput{90}(0,0){\xxaxis} % The y axis.
\rput{90}(0,0){ % (Rotation and rerotation are needed to work around a
LaTeX syntax issue.)
- \scalebox{1.0 \xxsinphi}{
+ \scalebox{1.0}[\xxsinphi]{
% The vertical ellipse.
\rput{*0}(0,0){
\psarc(0,0){\xxr}{-90}{90} % The constant-phi arc.
@@ -1075,7 +1075,7 @@
}
}
\rput{90}(0,0){ % (Rotation and rerotation are needed to work around a
LaTeX syntax issue.)
- \scalebox{1.0 \xxsinphib}{
+ \scalebox{1.0}[\xxsinphib]{
% The vertical ellipse.
\rput{*0}(0,0){
\psarc(0,0){\xxr}{-90}{90} % The constant-phi arc.
--- tex/sphere.tex.orig 2006-08-28 16:40:29.000000000 +0100
+++ tex/sphere.tex 2006-08-28 16:40:30.000000000 +0100
@@ -92,7 +92,7 @@
%\psframe[dimen=outer,linewidth=0.5pt](\xa,\ya)(\xb,\yb) % A figure
bounding box.
{
\psset{linewidth=2.0pt}
- \scalebox{1.0 \xxs}{
+ \scalebox{1.0}[\xxs]{
% The horizontal ellipse.
\pscircle[linewidth=0pt,linecolor=white,fillstyle=solid,fillcolor=lightgray](0,0){\xxr}
%\psdot(0,0) % A dot at the sphere's center.
@@ -117,7 +117,7 @@
\rput{0} (0,0){\xxaxis} % The z axis.
\rput{90}(0,0){\xxaxis} % The y axis.
\rput{90}(0,0){ % (Rotation and rerotation are needed to work around a
LaTeX syntax issue.)
- \scalebox{1.0 \xxsinphi}{
+ \scalebox{1.0}[\xxsinphi]{
% The vertical ellipse.
\rput{*0}(0,0){
\psarc(0,0){\xxr}{-90}{90} % The constant-phi arc.
Julian
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]