Texmaker and TeXstudiohelp using package

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
jcmt_pico
Posts: 19
Joined: Fri Jun 18, 2010 12:39 am

help using package

Post by jcmt_pico »

Hi there,
I've recently migrated to Linux, so I was forced to leave Led and started to use Texmake.
One difficulty I'm having trouble about is to install some new packages...
For example, I had some hard time trying to install the empheq package, but after some time I was able to find it in Linux repository's...
I was wondering if there's an easy way to find the package and install it with Texmaker...

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: help using package

Post by frabjous »

Texmaker is just an editor. It has nothing to do with installing packages.

Chances are, if you're using linux, you're using some version of TeXlive. But I think it would be helpful to know exactly which version you have, and what method you used to install it. (E.g., did you install it through the repositories of your linux dsitribution, or using the installation script available at tug.org, or from a DVD, or ...?)

And what linux distribution is it?
jcmt_pico
Posts: 19
Joined: Fri Jun 18, 2010 12:39 am

Re: help using package

Post by jcmt_pico »

Im using TeXlive in an Ubuntu distribution, I installed TeXlive from the repositories...
TeX 3.1415926 (TeX Live 2009/Debian)

Can anybody help me with this?
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

help using package

Post by frabjous »

The default texlive package on Debian/Ubuntu doesn't come with empheq? That's a bit suprising.

If you have the disk space (about 1 GB, though that includes what you already have installed), just do a full installation of texlive, which includes all the packages:

sudo apt-get install texlive-full

If you do that, all the packages will be installed, and you probably will never need to worry about manually installing a package. (At least not until TeXlive 2010 is released...)

If you don't have the disk space, then the process is more complicated. Create a subfolder of your home directory called texmf. Create a subdirectory of it called tex, and then a subdirectory of it called latex. Download the mathtools .zip bundle from CTAN, and extract it into the latex subsubsubfolder. (It should put in a directory called "mh".)

Open a terminal. Navigate to that folder:

cd ~/texmf/tex/latex/mh/

Now type in:

for file in *.dtx ; do tex "$file" ; done

That should create all the .sty files included in the mathtools bundle, including empheq.sty.

Now refresh your TeX database with:

sudo texhash

Then it should be installed, and usable from within texmaker.
Post Reply