From owner-freebsd-questions@FreeBSD.ORG Sun Jul 31 01:00:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50802106566B for ; Sun, 31 Jul 2011 01:00:26 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1286B8FC08 for ; Sun, 31 Jul 2011 01:00:25 +0000 (UTC) Received: by iyb11 with SMTP id 11so7306859iyb.13 for ; Sat, 30 Jul 2011 18:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=6Gc60Q6rO5Stc7fLk3AGJ+yullFiArxnsKBpgoYlMBM=; b=hHxmOhhdDmB29AxfLrHxRJgBuwC7myppqQeqk8Q8YmNa9j6vSiyaQKEy31S0FHZyua mcDSrGD8y92y3FpRCJxWugmHUEou+1hTbhyPLjoXzWHf0bhe9RLuZFsqaIKwT75Jxhdp 6y41XFgxTQoeK3sWR0We2tjA4QBl9ahupsDZc= MIME-Version: 1.0 Received: by 10.42.156.129 with SMTP id z1mr2188255icw.159.1312074025403; Sat, 30 Jul 2011 18:00:25 -0700 (PDT) Received: by 10.42.179.67 with HTTP; Sat, 30 Jul 2011 18:00:25 -0700 (PDT) In-Reply-To: <20110730224113.GA43343@mech-cluster241.men.bris.ac.uk> References: <537F9F81-1353-4FA3-B8EF-EF99682F435E@gmail.com> <20110714160816.GA30155@think.gnix.co.uk> <20110715080324.GA8392@mech-cluster241.men.bris.ac.uk> <20110715235610.GA70906@mech-cluster241.men.bris.ac.uk> <20110718091913.GA4092@mech-cluster241.men.bris.ac.uk> <20110730195219.GA15888@mech-cluster241.men.bris.ac.uk> <20110730224113.GA43343@mech-cluster241.men.bris.ac.uk> Date: Sat, 30 Jul 2011 20:00:25 -0500 Message-ID: From: Antonio Olivares To: freebsd-questions@freebsd.org, Anton Shterenlikht Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: can't build teTeX port in FreeBSD 8.2 amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2011 01:00:26 -0000 >> Which is this directory? > > I assumed you know. > > If you've got the full teTeX installation, > start with > > % texdoc tds > > tds (TDS) stands for Tex Directory Structure. > This is a sort of a standard on how tex > tree should be organised. teTeX tree > adheres to TDS convention. > > texdoc(1) is incredibly useful, give it a go. > > The TDS convention allow for several complementary > trees. So teTeX tree, by default, is installed > under /usr/local/share, see e.g. > /usr/ports/print/teTeX-base/Makefile: > > TEXMFDIR=3D =A0 =A0 =A0 share/texmf > TEXMFDISTDIR=3D =A0 share/texmf-dist > TEXMFCONFIGDIR=3D share/texmf-config > TEXMFLOCALDIR=3D =A0share/texmf-local > > Basically, the TDS tree is where latex > will look for packages, fonts, etc. > > In addition, by default, latex (or whatever > your invocation is) will look in user's > local TDS tree, which is under $HOME/texmf. > > Here's a small example: > > BUZI> ls -alR $HOME/texmf > total 12 > drwx------ =A0 3 mexas =A0wheel =A0 512 Mar 23 =A02006 . > drwx------ =A028 mexas =A0wheel =A02048 Jul 30 23:15 .. > drwx------ =A0 3 mexas =A0wheel =A0 512 Mar 23 =A02006 bibtex > > /home/mexas/texmf/bibtex: > total 12 > drwx------ =A03 mexas =A0wheel =A0512 Mar 23 =A02006 . > drwx------ =A03 mexas =A0wheel =A0512 Mar 23 =A02006 .. > drwx------ =A02 mexas =A0wheel =A0512 Mar 23 =A02006 bst > > /home/mexas/texmf/bibtex/bst: > total 60 > drwx------ =A02 mexas =A0wheel =A0 =A0512 Mar 23 =A02006 . > drwx------ =A03 mexas =A0wheel =A0 =A0512 Mar 23 =A02006 .. > -rw------- =A01 mexas =A0wheel =A025593 Mar 23 =A02006 jmr.bst > BUZI> > > For this book I ended up with something like this: > > /home/mexas/texmf > =A0 |-doc > =A0 |---fonts > =A0 |-----bera > =A0 |---generic > =A0 |-----pgf > =A0 |-------images > =A0 |-------licenses > =A0 |-------macros > =A0 |-------text-en > =A0 |---------plots > =A0 |-------version-for-dvipdfm > =A0 |---------en > =A0 |-------version-for-dvipdfmx > =A0 |---------en > =A0 |-------version-for-dvips > =A0 |---------en > =A0 |-------version-for-pdftex > =A0 |---------en > =A0 |-------version-for-tex4ht > =A0 |---------en > =A0 |-------version-for-vtex > =A0 |---------en > =A0 |-----------plots > =A0 |-------version-for-xetex > =A0 |---------en > =A0 |---latex > =A0 |-----fourier > =A0 |-dvips > =A0 |---config > =A0 |-fonts > =A0 |---afm > =A0 |-----public > =A0 |-------fourier > =A0 |---map > =A0 |-----dvips > =A0 |-------fourier > =A0 |-----vtex > =A0 |---tfm > =A0 |-----dingbat > =A0 |-----public > =A0 |-------bbding > =A0 |-------bera > =A0 |-------fourier > =A0 |-------fouriernc > =A0 |---type1 > =A0 |-----public > =A0 |-------fourier > =A0 |---vf > =A0 |-----public > =A0 |-------bera > =A0 |-------fourier > =A0 |-------fouriernc > =A0 |-fouriernc > =A0 |---source > =A0 |-nomencl > =A0 |-phaistos > =A0 |---OpenType > =A0 |---afm > =A0 |---dvips > =A0 |---tfm > =A0 |---type1 > =A0 |---var > =A0 |-tex > =A0 |---context > =A0 |-----pgf > =A0 |-------basiclayer > =A0 |-------frontendlayer > =A0 |-------math > =A0 |-------systemlayer > =A0 |-------utilities > =A0 |---generic > =A0 |-----pgf > =A0 |-------basiclayer > =A0 |-------frontendlayer > =A0 |---------svg > =A0 |---------tikz > =A0 |-----------libraries > =A0 |-------------circuits > =A0 |-------------datavisualization > =A0 |-------libraries > =A0 |---------datavisualization > =A0 |---------decorations > =A0 |---------shapes > =A0 |-----------circuits > =A0 |-------math > =A0 |-------modules > =A0 |-------rendering > =A0 |-------systemlayer > =A0 |-------testsuite > =A0 |---------external > =A0 |---------mathtest > =A0 |-------utilities > =A0 |---latex > =A0 |-----bbding > =A0 |-----bera > =A0 |-----dingbat > =A0 |-----fourier > =A0 |-----fouriernc > =A0 |-----pgf > =A0 |-------basiclayer > =A0 |-------compatibility > =A0 |-------doc > =A0 |-------frontendlayer > =A0 |---------libraries > =A0 |-------math > =A0 |-------systemlayer > =A0 |-------utilities > =A0 |-----phaistos > =A0 |-----shadethm > =A0 |---plain > =A0 |-----pgf > =A0 |-------basiclayer > =A0 |-------frontendlayer > =A0 |-------math > =A0 |-------systemlayer > =A0 |-------utilities > >> >> I don't have it :( >> >> [olivares@quadcore ~]$ pwd >> /home/olivares >> [olivares@quadcore ~]$ cd texmf >> bash: cd: texmf: No such file or directory >> >> I know that under texlive there is a ~/.texlive/ folder, but there is >> no ~/.teTeX/texmf in the home folder. > > no, this is unrelated, see above. > >> >> > (I used the latest distro: >> > =A0http://media.texample.net/pgf/builds/pgfCVS2010-09-28_TDS.zip ) >> >> How and where do I install this one? > > different parts in different parts of your local tree. > In fact all you have to do is to copy this zip > under your $HOME/texmf and unzip it there, it will > place all its file where they belong. If you start from > this package, you will have your local TDS in place > straight away. > >> For the other book, I installed print/latex-pgf/ port and I got it to >> work, the one diffyqs.tex previously mentioned. > > ok, I'll look at this later. > > Anyway, what I did to get this book built > is not what I'd like to do all the time. > I want to have everything I need in ports, > so I'll work towards having all the above > packages in ports, eventually. > > -- I have been using TeX for a while and I have never had to set up anthing like this :( I had used MikTeX in winblow$ and TeTeX in linux distros and FreeBSD 5.3/FreeBSD6.2, and I had never had to mess with TDS. This is what I always did, I tried to compile a tex project and it failed, I looked at which *.sty file was needed and I downloaded it from CTTAN or off another computer that had it and put it directly on the folder that I was working on. This had always worked for me. On TeXlive installations(with full TeXLive 20XY installations), I have not had to hunt down *.sty files, except of course that big tikz hungry trigbook package: http://media.texample.net/pgf/builds/pgfCVS2010-09-28_TDS.zip I downloaded it, and did not know what to do with it :( Not even with the full TeXLive 2010 package installed I could get that trigbook going :( [compiled except the tikz stuff ] Am taking a look at TDS, but still confused :( Regards, Antonio