GeneralStrange Error Messages

General information and discussion about TeXnicCenter
Post Reply
cac100684
Posts: 8
Joined: Tue Nov 10, 2009 11:19 pm

Strange Error Messages

Post by cac100684 »

Can some one help me figure out what is causeing this error. My files where compiling just fine then all of a sudden I started to get this error. I have stripped my files down to nothing try all combinations of things and yet have no luck fixing the issue. Please Help!
Attachments
LaTeXError.pdf
Here are the errors I am getting
(101.61 KiB) Downloaded 237 times
Last edited by cac100684 on Tue Dec 01, 2009 7:32 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Strange Error Messages

Post by frabjous »

It might help to know what the error messages are... I tried using telepathy, but it's not working.
cac100684
Posts: 8
Joined: Tue Nov 10, 2009 11:19 pm

Re: Strange Error Messages

Post by cac100684 »

The are there now it wasn't letting me post them.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Strange Error Messages

Post by frabjous »

Can you post a minimal document that produces the error? (In a Code box.)

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.
cac100684
Posts: 8
Joined: Tue Nov 10, 2009 11:19 pm

Strange Error Messages

Post by cac100684 »

These are the packages I use and I have cut out anything that isn't needed and the error is still present.

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}
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Strange Error Messages

Post by frabjous »

The screenshot shows that you are compiling with pdflatex (i.e., the LaTeX => PDF ouput routine in TeXnicCenter), and not with latex, dvips and ps2pdf (LaTeX => PS => PDF profile). Hence you need to remove the ps2pdf=true option from hyperref package. I.e., change:

\usepackage[a4paper=true,ps2pdf=true,pagebackref=true]{hyperref}

to

\usepackage[a4paper=true,pagebackref=true]{hyperref}

or just:

\usepackage[a4paper,pagebackref]{hyperref}
cac100684
Posts: 8
Joined: Tue Nov 10, 2009 11:19 pm

Re: Strange Error Messages

Post by cac100684 »

Unfortunetly, removing that just fixed a warning it does not fix the errors I am having.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Strange Error Messages

Post by frabjous »

I don't get any error messages when compiling your document--just that warning.

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.
cac100684
Posts: 8
Joined: Tue Nov 10, 2009 11:19 pm

Re: Strange Error Messages

Post by cac100684 »

I think something is generally wrong with my MikTeX because I closed the code I sent you and opened a template to try and compile it and it gave me the same errors so I am going to uninstall everything and try to install the software to see if that will help. Thanks for you help.
Post Reply