General ⇒ Strange Error Messages
Strange Error Messages
- Attachments
-
- LaTeXError.pdf
- Here are the errors I am getting
- (101.61 KiB) Downloaded 240 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Strange Error Messages
Re: Strange Error Messages
Re: Strange Error Messages
It looks like the wrong driver is being passed to hyperref, which may be due to the document class loading it -- but it would be good to see what document class you're using, and what other packages/options, etc.
If it's a nonstandard document class (one not on CTAN), you may wish to provide a link to it.
BTW, in the future... just use copy and paste from the error output panel, or upload the .log file. You don't need to do a screenshot.
Strange Error Messages
Code: Select all
%% HEADER
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,oneside]{report}
%%%%\marginsize{left}{right}{top}{bottom}
\usepackage{anysize}
\marginsize{1cm}{1cm}{1cm}{1cm}
\usepackage{underscore}
\usepackage[usenames]{color}
%% Language %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[USenglish]{babel} %francais, polish, spanish, ...
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage{lmodern} %Type1-font for non-english texts and characters
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
%% Packages for Graphics & Figures %%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{graphicx} %%For loading graphic files
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{lscape}
\usepackage[a4paper=true,ps2pdf=true,pagebackref=true]{hyperref}
\hypersetup{colorlinks, linkcolor=black}
\begin{document}
HI
\end{document}
Re: Strange Error Messages
\usepackage[a4paper=true,ps2pdf=true,pagebackref=true]{hyperref}
to
\usepackage[a4paper=true,pagebackref=true]{hyperref}
or just:
\usepackage[a4paper,pagebackref]{hyperref}
Re: Strange Error Messages
Re: Strange Error Messages
Looking at the screenshot again, I suspect that there's something wrong with one or more of the package files you're using. None of them are needed for just "HI", so comment them out until you figure out which one it is, and then re-install the necessary package through the MikTeX package manager--that's what I'd do anyway.
You might want to post the complete .log file here though in case anyone can recognize which one it is from all the information. Far better than trying to tell from the screenshot.