General ⇒ Strange Error Messages
Strange Error Messages
- Attachments
-
- LaTeXError.pdf
- Here are the errors I am getting
- (101.61 KiB) Downloaded 237 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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.