Ben Abbott wrote: > On Friday, March 27, 2009, at 10:35AM, "Alexander Hansen" > <[email protected]> wrote: > >> Ben Abbott wrote: >> >>> I tried using the developers version of gnuplot to produce a TikZ >>> picture for latex. >>> >>> Unfortunately, I encountered the error below. >>> >>> Undefined control sequence >>> \usetikzlibrary {arrows,patterns,plotmarks} >>> >>> I have tetex installed via fink, and assume that its tikz.sty is out >>> of date. >>> >>> Can someone confirm? >>> >>> If 'yes', what are my options? >>> >>> If 'no', any advice? >>> >>> Ben >>> >>> >>> >> Rather than _assuming_ anything, you can check if tikz.sty even exists >> on your machine via: >> >> dpkg -S tikz.sty >> >> -or- >> >> dlocate tikz.sty >> >> if you have the dlocate package installed (for a faster search). Doing >> that, you'll find that there is no such style file in Fink's tetex. >> >> The best advice I have for you right now is to install a more modern TeX >> distro. I personally use MacTeX (TeXLive), which I did a custom >> install of to avoid having it install Ghostscript and ImageMagick stuff >> in /usr/local and thereby confuse my Fink builds. >> >> > > I did verify that tikz.sty exists on my system (I should have mentioned that) > ... and it appears to have been installed via Fink. > > $ dpkg -S tikz.sty > pgf: /sw/etc/texmf.local/tex/latex/pgf/frontendlayer/tikz.sty > > Perhaps this is part of Fink's pgf package? > > In any event, I am inclinded to switch to TeXLive. Is there a convenient way > to do that without conflicting with the dependencies on tetex? ... or do you > imply that MacTeX is intended to co-exist with tetex? > > Ben > > > > Delivered-To: [email protected] > Received: by 10.100.254.8 with SMTP id b8cs71741ani; > Fri, 27 Mar 2009 09:00:30 -0700 (PDT) > Received: by 10.140.165.17 with SMTP id n17mr245548rve.248.1238169628818; > Fri, 27 Mar 2009 09:00:28 -0700 (PDT) > Return-Path: <[email protected]> > Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) > by mx.google.com with ESMTP id k2si3992842rvb.24.2009.03.27.09.00.28; > Fri, 27 Mar 2009 09:00:28 -0700 (PDT) > Received-SPF: pass (google.com: domain of [email protected] designates > 17.148.16.88 as permitted sender) client-ip=17.148.16.88; > Authentication-Results: mx.google.com; spf=pass (google.com: domain of > [email protected] designates 17.148.16.88 as permitted sender) > [email protected] > MIME-version: 1.0 > Content-transfer-encoding: 7BIT > Content-type: text/plain; charset=UTF-8 > Received: from spool003.mac.com ([10.150.69.53]) > by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec > 16 2008; 32bit)) with ESMTP id <[email protected]> for > [email protected]; Fri, 27 Mar 2009 09:00:27 -0700 (PDT) > Received: from webmail022 ([10.13.128.22]) > by spool003.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec > 16 2008; 32bit)) with ESMTP id <[email protected]>; Fri, > 27 Mar 2009 09:00:24 -0700 (PDT) > Return-path: <[email protected]> > Date: Fri, 27 Mar 2009 12:00:24 -0400 > From: Ben Abbott <[email protected]> > To: Alexander Hansen <[email protected]> > Cc: [email protected] > Message-id: <[email protected]> > Subject: Re: [Fink-users] Status of LaTeX? > Return-path: <[email protected]> > Received: from [205.160.245.109] from webmail.me.com with HTTP; Fri, > 27 Mar 2009 12:00:24 -0400 > Received: from [ 67.235.60.12] from webmail.me.com with HTTP; Fri, > 27 Mar 2009 12:00:24 -0400 > X-Originating-IP: 205.160.245.109, 67.235.60.12 > > > On Friday, March 27, 2009, at 10:35AM, "Alexander Hansen" > <[email protected]> wrote: > >> Ben Abbott wrote: >> >>> I tried using the developers version of gnuplot to produce a TikZ >>> picture for latex. >>> >>> Unfortunately, I encountered the error below. >>> >>> Undefined control sequence >>> \usetikzlibrary {arrows,patterns,plotmarks} >>> >>> I have tetex installed via fink, and assume that its tikz.sty is out >>> of date. >>> >>> Can someone confirm? >>> >>> If 'yes', what are my options? >>> >>> If 'no', any advice? >>> >>> Ben >>> >>> >>> >> Rather than _assuming_ anything, you can check if tikz.sty even exists >> on your machine via: >> >> dpkg -S tikz.sty >> >> -or- >> >> dlocate tikz.sty >> >> if you have the dlocate package installed (for a faster search). Doing >> that, you'll find that there is no such style file in Fink's tetex. >> >> The best advice I have for you right now is to install a more modern TeX >> distro. I personally use MacTeX (TeXLive), which I did a custom >> install of to avoid having it install Ghostscript and ImageMagick stuff >> in /usr/local and thereby confuse my Fink builds. >> >> > > I did verify that tikz.sty exists on my system (I should have mentioned that) > ... and it appears to have been installed via Fink. > > $ dpkg -S tikz.sty > pgf: /sw/etc/texmf.local/tex/latex/pgf/frontendlayer/tikz.sty > > Perhaps this is part of Fink's pgf package? > Yup, as indicated by the "pgf:" line heading.
So the issue may not be with tetex /per se/, but with pgf instead. Or it could be both. > In any event, I am inclinded to switch to TeXLive. Is there a convenient way > to do that without conflicting with the dependencies on tetex? ... or do you > imply that MacTeX is intended to co-exist with tetex? > > Ben > > > > You would have to have fink's tetex along for the ride to handle dependencies. Others on the list have various hacks to get around this; but I've not really found the need. All I do is re-order my PATH so that TeXLive's executables are at the head; but they're out of the PATH used in Fink builds. -- Alexander Hansen Fink User Liaison ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
