General"Missing \begin{document}" error using prosper

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ageof
Posts: 5
Joined: Thu May 05, 2011 7:05 pm

"Missing \begin{document}" error using prosper

Post by ageof »

Hello.
I have a problem in latex. I am using Texniccenter, with Miktex 2.9 (downloaded and installed today from its official page) in a Windows Vista.
I try to create a presentation using prosper, so in my document there is:

Code: Select all

\documentclass[pdf,autumn,slideColor,colorBG]{prosper}
\title{t}
\subtitle{s}
\author{a}
\email{e}
\institution{i}

\begin{document}

\maketitle

\end{document}
But it has many errors:

"! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
1.87 ...SlideStyle[11.6cm]{t}{5.4,3}{BSquareFrame}

!Undefined control sequence.
1.90 \titleSpacing
{\vspace*{20pt}}
))
"

How is this possible? Please, can anyone help me?

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

Re: "Missing \begin{document}" error using prosper

Post by Stefan Kottwitz »

Hi,

welcome to the board!

This document is compilable. I tested it and did not get an error.
Did you test this example or did you get the error using different code?

Stefan
LaTeX.org admin
ageof
Posts: 5
Joined: Thu May 05, 2011 7:05 pm

Re: "Missing \begin{document}" error using prosper

Post by ageof »

Hi, thank you for your quick response.

That is exactly the code that I tested. So, the problem has to be in my computer (perhaps I need some package...?).

Anyways, are you using Miktex 2.9, or Miktex 2.8?

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

Re: "Missing \begin{document}" error using prosper

Post by Stefan Kottwitz »

Hi Ageof,

I'm using TeX Live on Ubuntu Linux.

prosper requires LaTeX, it doesn't work with pdfLaTeX. That might be a cause, so you may check that.

By the way, prosper is old. There's the newer HA-prosper package and the even newer successor powerdot. So I suggest using powerdot, or work with the excellent beamer class.

Stefan
LaTeX.org admin
ageof
Posts: 5
Joined: Thu May 05, 2011 7:05 pm

Re: "Missing \begin{document}" error using prosper

Post by ageof »

Ok, now it almost works. I've put the content of the "prosper" directory in the same directory of my .tex file. At the moment, it works.

It creates a PDF, but when I try to open the PDF, the system shows a message saying that the file is damaged. I'll keep trying.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

"Missing \begin{document}" error using prosper

Post by Stefan Kottwitz »

Just checked, prosper is dated 2002 according to the ChangeLog.

I still recommend to use a newer package to avoid further problems. If you like prosper: the newer and actively maintained powerdot class builds on prosper.

Stefan
LaTeX.org admin
Post Reply