Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2011 20:00:25 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        freebsd-questions@freebsd.org, Anton Shterenlikht <mexas@bristol.ac.uk>
Subject:   Re: can't build teTeX port in FreeBSD 8.2 amd64
Message-ID:  <CAJ5UdcPwGrJfQUeMUwc2oGkhmjnU_FyMku8=gtiVVpodL_+w1A@mail.gmail.com>
In-Reply-To: <20110730224113.GA43343@mech-cluster241.men.bris.ac.uk>
References:  <537F9F81-1353-4FA3-B8EF-EF99682F435E@gmail.com> <CAJ5UdcOncZNJ4Y-NsAfHK4FvK+RQUnUyD=9Ne6x_fbX2TomyJQ@mail.gmail.com> <20110714160816.GA30155@think.gnix.co.uk> <20110715080324.GA8392@mech-cluster241.men.bris.ac.uk> <CAJ5UdcOd-cT8=YdUqUXzLSCwsCwXwPN0FikxTqSkVDTMr5182Q@mail.gmail.com> <20110715235610.GA70906@mech-cluster241.men.bris.ac.uk> <20110718091913.GA4092@mech-cluster241.men.bris.ac.uk> <CAJ5UdcPFEFEhuNfBHKWD5EM_NWB799rUH3pnaMYu8Z8DTzPvWg@mail.gmail.com> <20110730195219.GA15888@mech-cluster241.men.bris.ac.uk> <CAJ5UdcOPj80-TAbfBUtn1AoVZfZbELcmhJ-8v_ze+=+UXHfcxg@mail.gmail.com> <20110730224113.GA43343@mech-cluster241.men.bris.ac.uk>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
>> 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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAJ5UdcPwGrJfQUeMUwc2oGkhmjnU_FyMku8=gtiVVpodL_+w1A>