Generalmathtools | Manual Installation

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

mathtools | Manual Installation

Post by jaybz »

I'm trying to install the mathtools package on Ubuntu 11.10.
  1. Downloaded the mh bundle from CTAN
  2. Extracted it.
  3. Created the .sty files from the command line with: tex filename.dtx
  4. Created directories for each package in: /usr/share/texmf-texlive/tex/latex
  5. Moved each .sty file to their respective directories.
When I try to use mathtools in either TeXmaker or Gummi I get the error:

Code: Select all

! LaTeX Error: File `mathtools.sty' not found.

Code: Select all

\documentclass[11pt]{article}
\usepackage{mathtools}
\begin{document}
some text \\
$x^2$
\end{document}
Last edited by jaybz on Mon Apr 30, 2012 12:20 am, edited 2 times in total.

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
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

mathtools | Manual Installation

Post by localghost »

jaybz wrote:I'm trying to install the mathtools package on Ubuntu 11.10 […]
Refresh the file name database as root user.

Code: Select all

sudo texhash
By the way, it is better to use the »Code« button for longer code blocks. The »LaTeX« button is supposed to format short in-line LaTeX code.


Thorsten
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

Re: mathtools | Manual Installation

Post by jaybz »

Got it. It works now. Thanks localghost.
Post Reply