GeneralPackages and PDF File

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Magnolis
Posts: 13
Joined: Wed Apr 04, 2012 1:45 pm

Packages and PDF File

Post by Magnolis »

Hi,

I'm using MiKTeX 2.9 with TeXnicCenter 1.0 (and Foxit Reader) and I'm having troubles creating a PDF file. I read a lot of pages in this forum, but still can't find a solution. I have downloaded every package I declared in my source file and everything is setup correctly, but the problem is still there.

I can post the code (I deleted the text part).

Code: Select all

\documentclass[10pt, a4 paper]{article}

\usepackage[italian]{babel} 
\usepackage[latin1]{inputenc} 
\usepackage{amsfonts} 
\usepackage{amsthm} 
\usepackage{amssymb} 
\usepackage[pdftex]{graphicx} 
\usepackage{amsmath}
\usepackage{latexsym}
\usepackage[usenames]{color}

\pdfpagewidth 8.5in
\pdfpageheight 11in
\setlength\topmargin{0in}
\setlength\headheight{0in}
\setlength\headsep{0in}
\setlength\textheight{9in}
\setlength\textwidth{6.75in}
\setlength\oddsidemargin{0in}
\setlength\evensidemargin{0in}
\setlength\parindent{0in}
\setlength\parskip{0.5cm}
%\usepackage{epsfig}
%\usepackage{epstopdf}

\newcommand{\ps}{\mathbin{\vcenter{\hbox{\scalebox{.6}{$\bullet$}}}}}

\begin{document}
\end{document}
Foxit is opened and no PDF is generated. The main problem seems to be the babel package (which, of course, I have), but it's not the only one. You can see the log file, I don't know what else to do to fix it. Thanks to anyone wants to help.
Attachments
Fisica astroparticellare.log
(2.31 KiB) Downloaded 193 times

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Packages and PDF File

Post by Stefan Kottwitz »

Hi,

welcome to the board!

The .log file seems to be truncated, i.e. incomplete. I know this is the case with an issue of MiKTeX with TeXnicCenter, as you use it. Have a look at the MiKTeX 2.9 Known Issues, the point TeXnicCenter compatibility. Start the MiKTeX Options, you can find that in the start menu, change the setting for installing missing packages on-the-fly.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Packages and PDF File

Post by localghost »

And by the way, you should setup the page and paper dimensions by the geometry package and not the way you do.


Best regards and welcome to the board
Thorsten
Magnolis
Posts: 13
Joined: Wed Apr 04, 2012 1:45 pm

Packages and PDF File

Post by Magnolis »

Hi, first thanks for your answers.
Stefan_K wrote:Hi,

welcome to the board!

The .log file seems to be truncated, i.e. incomplete. I know this is the case with an issue of MiKTeX with TeXnicCenter, as you use it. Have a look at the MiKTeX 2.9 Known Issues, the point TeXnicCenter compatibility. Start the MiKTeX Options, you can find that in the start menu, change the setting for installing missing packages on-the-fly.

Stefan
I set that option from "Ask me first" to "Yes", but the log file is still truncated and I have the same problems as before.
localghost wrote:And by the way, you should setup the page and paper dimensions by the geometry package and not the way you do.


Best regards and welcome to the board
Thorsten
Can I ask you why should I use that package? I was trying at first to set margins using the geometry package, but I wasn't able (maybe it is the same problem explained above).
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Packages and PDF File

Post by localghost »

Magnolis wrote:I set that option from "Ask me first" to "Yes", but the log file is still truncated and I have the same problems as before. […]
I suggest to use a newer version of TeXnicCenter (TXC). There is TXC2 alpha 4 available which runs quite stable. Consider to use another editor like TeXworks that is shipped with MiKTeX. Consider also a full MiKTeX installation instead of the basic setup.
Magnolis wrote:[…] Can I ask you why should I use that package? I was trying at first to set margins using the geometry package, but I wasn't able (maybe it is the same problem explained above).
The setup will be much easier than setting those length registers by hand. If your problems with package installation are solved, I strongly recommend to use the package.
Magnolis
Posts: 13
Joined: Wed Apr 04, 2012 1:45 pm

Re: Packages and PDF File

Post by Magnolis »

I followed your advices and everything works nicely now.
The official TeXnicCenter site claimed that the version 2.0 alpha 4 was not so stable, so that I didn't download it at first. Now that I am working with it the problem with the packages is fixed and the program is still (hopefully) not crashing; I also had many problems in configuring the pdf reader with TXC 1.0, but this new version wiped them away (e.g. forward and inverse search works properly with Sumatra).

And, as you said before, working with the geometry package is much simpler.
Thank you very much for your help.
Post Reply