当我使用 \usepackage{hyperref} 时,它不会编译代码。
\documentclass[a4paper,11pt]{report}
\usepackage{a4wide}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{url}
\usepackage{fixltx2e}
\usepackage{caption}
\usepackage{subcaption}
\oddsidemargin 0.0in
\textwidth 6.27in
\topmargin -0.5in
\textheight 9.69in
\footskip 0.5in
\urlstyle{sf}
\usepackage{fancyhdr}
\makeatletter
\newcommand*{\rom}[1]{\expandafter\@slowromancap\romannumeral #1@}
\makeatother
\usepackage{epstopdf}
\usepackage{multirow}
\usepackage{amsmath, amsthm, amssymb}
\usepackage{subfig}
\linespread{1.3}
\usepackage{float}
\usepackage{enumerate}
\usepackage{enumitem}
\usepackage{multirow}
\newtheorem{lemma}{Lemma}
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}{Corollary}
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
\usepackage{hyperref}
\begin{document}
\chapter{xxx}
dfdsfdsfd
\end{document}