GeneralNo output refreshment after including certain packages

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Corvus
Posts: 2
Joined: Tue May 03, 2011 10:53 pm

No output refreshment after including certain packages

Post by Corvus »

Hi guys.

I have the following:

Code: Select all

\documentclass{custom}

%\usepackage{graphicx}
%\usepackage{natbib}
%\setcitestyle{authoryear,round,semicolon,aysep={ }}

\begin{document}
hi2
\bibliographystyle{plainnat}
\bibliography{final}
\end{document}
Which will compile with no trouble at all.
If I uncomment any of the usepackage lines, and click 'build and view' it will show me a pdf of the previous version.
For example, I could change 'hi2' to say 'hi' but the new version would not be written. No errors are thrown, it just never makes the changes.

I hope it's just a silly mistake or a dependency somewhere.

If it matters: Using miktex 2.9 the custom class is present in the 'base' folder in miktex, but it didn't pick up that it was present until I put it in the root folder of the .tex file. I am using TexnicCenter.

Thanks in advance.
Last edited by Corvus on Wed May 04, 2011 6:29 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.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

No output refreshment after including certain packages

Post by localghost »

Corvus wrote:[…] Using miktex 2.9 the custom class is present in the 'base' folder in miktex, but it didn't pick up that it was present until I put it in the root folder of the .tex file. […]
There is no »custom« class in the TeX directory tree of my MiKTeX 2.9 system (full installation). I checked that on the command line.

Code: Select all

kpsewhich custom.cls
There was no output. Perhaps you can enlighten me by giving a link where to find it. Or upload it to the forum server as attachment to your next post.


Best regards and welcome to the board
Thorsten
Corvus
Posts: 2
Joined: Tue May 03, 2011 10:53 pm

Re: No output refreshment after including certain packages

Post by Corvus »

It's a class that has been written for our use by our lecturers, which is silly because it causes more problems than it fixes.

I have worked out what was causing my issues, I had to go into the miktex options and turn auto-update to yes, and then run texniccenter as an admin.

It can then download the packages it doesn't have access to as it compiles, it seems odd that it does not throw any error messages to hint at this being the problem.

This is why everyone should use linux and not ruddy windows :P

I hope this can help someone else if they're having a similar issue, thanks for your time localghost.
Post Reply