epix-users
[Top][All Lists]
Advanced

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

Re: [ePiX-users] strange result when compiling one of the sample file he


From: Andrew D. Hwang
Subject: Re: [ePiX-users] strange result when compiling one of the sample file here
Date: Thu, 23 Jun 2011 15:05:29 -0400 (EDT)

On Thu, 23 Jun 2011, Le TeXnicien de surface wrote:

> when compiling here (ubuntu 11.04, X86_64) with or without option tikz
> the file graphpaper.xp with version 1.2.6 (and 1.2.7)
> I obtain the attached eepic file which is rather different from the one
> in the doc directory of the archive file (epix-1.2.7_withpdf).
>
My apology: When the global constants "x_min", "y_min", etc., got
deprecated with Version 1.2, I never systematically updated the
sources files for the manual figures. The file below should compile
properly. :)

(The file "markers.xp" needs similar changes: x_min -> xmin(), etc.)

I've just uploaded "1.2.8" packages containing these fixes, as well
as a small update from April 2010 that never got formally released.

Best,
Andy

Andrew D. Hwang                 ahwang -at- radius -dot- holycross -dot- edu
Department of Math and CS       http://mathcs.holycross.edu/~ahwang
College of the Holy Cross       (508) 793-2458 (Office: Swords 339)
Worcester, MA, 01610-2395       (508) 793-3040 (fax)

---(snip)---
/* -*-ePiX-*- */
#include "epix.h"
using namespace ePiX;

int main()
{
  picture(P(-2,-1), P(2,1), "2 x 1in");

  begin();

  pen(0.25);
  grid(10*xsize(), 10*ysize());

  pen(0.5);
  grid(2*xsize(), 2*ysize());

  pen(1);
  grid(xsize(), ysize());

  end();
}



reply via email to

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