(running latex and pdfllatex on the source file each produce and expected pdf file)
For some reason I can't copy form the output window. It reads roughly:
----------------------Output Profile: Latex => PDF-----------------
Program Files\MikTeX 2.6\miktex\bin\pdflatex.exe Cannot execute the command. Error: %1 is not a valid Win32 application.
Code: Select all
%% Based on a TeXnicCenter-Template by Tino Weinkauf.%
\documentclass[letterpaper,12pt]{report}
\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse %%normal LaTeX is executed
\else
\pdfoutput=1
\pdftrue %%pdfLaTeX is executed
\fi
\ifpdf
%\usepackage{ae} %%Use only just one of these packages:
%\usepackage{zefonts} %%depends on your installation.
\else
%%Normal LaTeX - no special packages for fonts required
\fi
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
%% Packages for Graphics & Figures %%%%%%%%%%%%%%%%%%%%%%%%%%
\ifpdf %%Inclusion of graphics via \includegraphics{file}
\usepackage[pdftex]{graphicx} %%graphics in pdfLaTeX
\else
\usepackage[dvips]{graphicx} %%graphics and normal LaTeX
\fi
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\begin{document}
\ifpdf
\DeclareGraphicsExtensions{.pdf,.jpg,.png}
\else
\DeclareGraphicsExtensions{.eps}
\fi
\pagestyle{empty} %No headings for the first pages.
\title{Title of this document}
\author{Firstname Lastname}
%\date{} %%If commented, the current date is used.
\maketitle
\chapter{The Chapter}
\includegraphics{A}
\end{document}
[\code]