[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ePiX-users] Strange result with epix 1.2.8
From: |
Gunnar |
Subject: |
[ePiX-users] Strange result with epix 1.2.8 |
Date: |
Mon, 25 Jul 2011 18:46:54 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.38-10-generic; KDE/4.6.2; x86_64; ; ) |
Hello,
With the epix file below, I don't get the eps file I want, and gv reports
Warning: translation table syntax error: Unknown keysym name: apLineDel
Warning: ... found while parsing '<Key>apLineDel: GV_Page(page+5) '
Warning: String to TranslationTable conversion encountered errors
when loading the eps file.
My system is ubuntu 11.04 and epix 1.2.8
Any ideas on
#include "epix.h"
using namespace ePiX;
double k=4;
const double dx=0.1; // width of shaded region
double x = 1/sqrt(k);
double dy=0.25;
double f(double t){
return 1.2+Sin(t);
}
main(){
unitlength("1pt");
picture(P(200,150));
bounding_box(P(0,0),P(4.2,2.2));
begin();
h_axis(0);
v_axis(0);
label(P(xmax(),0),P(0,-1),"$u$",b);
label(P(0,ymax()),P(-3,0),"$y$",l);
label(P(3,f(3)),P(2,4),"$f(u)$",tr);
label(P(1,0),P(0,-1),"$a$",b);
label(P(3.3,0),P(0,-1),"$x$",b);
arrow(P(0,0),P(xmax(),0));
arrow(P(0,0),P(0,ymax()));
gray(0.1);
double x=0,dx=1;
double start=0;
x=start;
x=start+2*dx;
shadeplot(f,1,3.3,60);
font_size("large");
label(P(2,1),0,"$F(x)$");
end();
}
The first lines in the log file shows:
Enhancements to Picture Environment. Version 1.2 - Released June 1, 1986
) (/usr/share/texmf-texlive/tex/latex/eepic/eepic.sty
Extension to Epic and LaTeX. Version 1.1e - Released Dec 21, 1999
) (/usr/share/texmf/tex/latex/xcolor/xcolor.sty
(/etc/texmf/tex/latex/config/color.cfg))
No file elaps-5276.aux.
(./elaps-5276.eepic
! Missing number, treated as zero.
<to be read again>
n
l.15 ...x{\color{rgb_000000}$\rule{0.5pt}{6pt}$}}}
! Illegal unit of measure (pt inserted).
<to be read again>
n
l.15 ...x{\color{rgb_000000}$\rule{0.5pt}{6pt}$}}}
! A <box> was supposed to be here.
<to be read again>
n
l.15 ...x{\color{rgb_000000}$\rule{0.5pt}{6pt}$}}}
! Missing number, treated as zero.
<to be read again>
\hbox
l.15 ...x{\color{rgb_000000}$\rule{0.5pt}{6pt}$}}}
! Illegal unit of measure (pt inserted).
<to be read again>
\hbox
l.15 ...x{\color{rgb_000000}$\rule{0.5pt}{6pt}$}}}
! Missing number, treated as zero.
Any ideas?
Best wishes Gunnar
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ePiX-users] Strange result with epix 1.2.8,
Gunnar <=