| 1 |
Unfortunately I am no computer expert and I don't know how to provide detailed |
| 2 |
installation instructions for every system out there (let alone create a script |
| 3 |
for that purpose). Instead I will provide what has worked for me using TeX Live |
| 4 |
as bundled for Ubuntu 10.04 LTS, as well as a reference to Stack Exchange. |
| 5 |
|
| 6 |
Note also that the frege package requires both the "amssymb" package and the |
| 7 |
"ifthen" package to be installed. These are both fairly common and will come |
| 8 |
with most versions of LaTeX. If you want to use the bguq option you will also |
| 9 |
need to install the "bguq" package, which may be found on ctan |
| 10 |
(http://www.ctan.org/pkg/bguq). |
| 11 |
|
| 12 |
To install I place the frege.sty file in either one of the following locations: |
| 13 |
|
| 14 |
/usr/local/share/texmf/tex/latex/frege/ |
| 15 |
/usr/share/texmf-texlive/tex/latex/frege/ |
| 16 |
|
| 17 |
One way to find the above paths on your system is to use the kpsewhich command in |
| 18 |
conjunction with a standard latex class. Enter the following into the terminal |
| 19 |
while in the root directory (get there by typing "cd /" and hitting enter): |
| 20 |
|
| 21 |
kpsewhich article.cls |
| 22 |
<hit enter> |
| 23 |
|
| 24 |
This should return something like: |
| 25 |
|
| 26 |
/usr/share/texmf-texlive/tex/latex/base/article.cls |
| 27 |
|
| 28 |
of which you need everything up to the latex/ |
| 29 |
|
| 30 |
copying the frege.sty file to one of these locations as well as creating a frege/ |
| 31 |
directory will require sudo priveliges. Type the following into Terminal (adjusting |
| 32 |
the <path> as needed and hitting enter after each line): |
| 33 |
|
| 34 |
sudo mkdir /usr/local/share/texmf/tex/latex/frege |
| 35 |
<at this point you will need to enter your password> |
| 36 |
sudo cp <path>/frege.sty /usr/local/share/texmf/tex/latex/frege/frege.sty |
| 37 |
|
| 38 |
once you have done that you will need to navigate to your ls-R file: |
| 39 |
|
| 40 |
cd /usr/local/share/texmf |
| 41 |
|
| 42 |
this path may once again be found using the kpsewhich command as follows: |
| 43 |
|
| 44 |
kpsewhich ls-R |
| 45 |
|
| 46 |
once you are in the directory containting the ls-R file type the following: |
| 47 |
|
| 48 |
sudo mktexlsr |
| 49 |
|
| 50 |
the package is now installed and may be used by placing the following in the |
| 51 |
preamble of a tex file: |
| 52 |
|
| 53 |
\usepackage{frege} |
| 54 |
|
| 55 |
In case this is completely unhelpful to you (for example because you are using some |
| 56 |
completely different version of LaTeX in a completely different operating system I |
| 57 |
suggest turning to Stack Exchange for help (http://tex.stackexchange.com/). |