Math & ScienceLaTeX Error about package not found

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
ptrcao
Posts: 88
Joined: Sun Dec 05, 2010 3:26 am

LaTeX Error about package not found

Post by ptrcao »

Code: Select all

\documentclass[a4paper,12pt]{article}
\usepackage[version=3]{mhchem}
\usepackage{a4wide}
\usepackage{tikz}
\usepackage{pgf}
\usepackage{mychemistry}

\begin{document}
\begin{rxn}
\arrow [,-+>]{ }{ }
\end{rxn}
\end{document}
! LaTeX Error: File `mychemistry.sty' not found.
I put mychemistry.sty in C:\Program Files\MiKTeX 2.8\tex\latex\mychemistry, in a location analogous to where I put all my other packages.

TexWorks never prompted to install the package - it usually gives this option when a package is detected as missing.

What is wrong?
OS info: Win XP | Debian 6.0 | Ubuntu 10.04
Latex editor of choice: TexWorks (for dual view feature)

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
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

LaTeX Error about package not found

Post by Stefan Kottwitz »

Hi,

run texhash or mktexlsr or refresh the MiKTeX package database via the GUI: open MiKTeX Options resp. Settings in the start menu, click the button Refresh FNDB.

Stefan
LaTeX.org admin
Post Reply