\documentclass [12pt,a4paper] {article}
\usepackage {geometry}
\usepackage {graphicx}
\usepackage {hyperref}
%
\begin {document}
bapi
\par
\begin {eqnarray}
\frac{dy}{dt} &=& -t \\
%
\frac{dx}{dt} &=& 1
%
\end {eqnarray}
\end {document}
To run the LaTeX file abc.tex, I use the command latex abc.tex.
Then an error message will occur:
! LaTeX Error: File `url.sty' not found.
Type X to quit or <RETURN> to proceed, or enter new name.
(Default extension: sty) Enter file name:
I am using Ubuntu 14.04 LTS and the version of the TeX compiler in
my computer is pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian).
Without \usepackage{hyperref}, there is no error message and the .tex file run smoothly.
What is the problem with \usepackage{hyperref}?
latex -output-format pdf abc.texit compiles just fine. – Skillmon Jan 08 '17 at 14:42eqnarraydoesn't work withhyperref; on the other hand,eqnarrayshould not be used, seeeqnarrayvsalign– egreg Jan 08 '17 at 15:06Type X to quit or to proceed,
or enter new name. (Default extension: sty)
Enter file name:
– Bapi Jan 08 '17 at 15:08url.styis part of all the major tex distributions, if for some reason you really do not have it, just update your tex installation with your package manager and install it. – David Carlisle Jan 08 '17 at 23:57