Hi, I am trying to execute the following codes:
"
\documentclass{beamer}
\begin{document}
\title{Simple Beamer Class}
\author{Sascha Frank}
\date{\today}
\frame{\titlepage}
\frame{\frametitle{Table of contents}\tableofcontents}
\section{Section no.1}
\frame{\frametitle{Title}
Each frame should have a title.
}
\subsection{Subsection no.1.1 }
\frame{
Without title somethink is missing.
}
\section{Section no. 2}
\subsection{Lists I}
\frame{\frametitle{unnumbered lists}
\begin{itemize}
\item Introduction to \LaTeX
\item Course 2
\item Termpapers and presentations with \LaTeX
\item Beamer class
\end{itemize}
}
\frame{\frametitle{lists with pause}
\begin{itemize}
\item Introduction to \LaTeX \pause
\item Course 2 \pause
\item Termpapers and presentations with \LaTeX \pause
\item Beamer class
\end{itemize}
}
\subsection{Lists II}
\frame{\frametitle{numbered lists}
\begin{enumerate}
\item Introduction to \LaTeX
\item Course 2
\item Termpapers and presentations with \LaTeX
\item Beamer class
\end{enumerate}
}
\frame{\frametitle{numbered lists with pause}
\begin{enumerate}
\item Introduction to \LaTeX \pause
\item Course 2 \pause
\item Termpapers and presentations with \LaTeX \pause
\item Beamer class
\end{enumerate}
}
\section{Section no.3}
\subsection{Tables}
\frame{\frametitle{Tables}
\begin{tabular}{|c|c|c|}
\hline
\textbf{Date} & \textbf{Instructor} & \textbf{Title} \\
\hline
WS 04/05 & Sascha Frank & First steps with \LaTeX \\
\hline
SS 05 & Sascha Frank & \LaTeX \ Course serial \\
\hline
\end{tabular}}
\frame{\frametitle{Tables with pause}
\begin{tabular}{c c c}
A & B & C \\
\pause
1 & 2 & 3 \\
\pause
A & B & C \\
\end{tabular} }
\section{Section no. 4}
\subsection{blocs}
\frame{\frametitle{blocs}
\begin{block}{title of the bloc}
bloc text
\end{block}
\begin{exampleblock}{title of the bloc}
bloc text
\end{exampleblock}
\begin{alertblock}{title of the bloc}
bloc text
\end{alertblock}
}
\end{document}
"
I am using TexnicCenter editor and it is set on "Latex => PDF" mode. I should get an pdf file as output. But I am getting an error message "There was an error opening this document. This file cannot be found.". I am a beginner in Latex.
Thank you very much in anticipation of an early reply.
General ⇒ Error: File cannot be found
NEW: TikZ book now 40% off at Amazon.com for a short time.

Error: File cannot be found
The document itself is fine.simantoch wrote:Hi, I am trying to execute the following codes:
If you are a beginner in LaTeX then don't use TeXnicCenter but TeXworks instead. (TeXnicCenter has issues with recent TeX distributions and needs to be adopted to recent AdobeReader versions. IMHO it's not worth the trouble.) TeXworks is part of both, MikTeX and TeXlive for Windows, so it should be already installed on your computer.I am using TexnicCenter editor and it is set on "Latex => PDF" mode. I should get an pdf file as output. But I am getting an error message "There was an error opening this document. This file cannot be found.". I am a beginner in Latex.
Just start TeXworks, insert the text, change "pdfTeX" to "pdfLateX" and compile your document using the green play toolbar button.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Error: File cannot be found
Make sure that the PDF output has been really produced. Unfortunately you don't say anything about your PDF viewer. For the Ad0be Reader there have been made some significant modifications by Ad0be (forum search). A better partner for TeXnicCenter (TXC) is the Sumatra PDF Viewer. TeXworks has already been suggested as very encouraging alternative.simantoch wrote:[…] I am using TexnicCenter editor and it is set on "Latex => PDF" mode. I should get an pdf file as output. But I am getting an error message "There was an error opening this document. This file cannot be found.". […]
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Error: File cannot be found
Thank you very much for your replies. I updated my adobe reader and my problem has been solved. thanks a lot again...
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Error: File cannot be found
Then please mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules (to be read before posting) and as you have already been asked for. At this occasion you can also tag the code as you have been asked for.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10