When trying to compile TeX presentations using the prosper package I get the following error: ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.159 \definecolor{black}{gray}{0} This seems to be a know problem and can be fixed by adding the following code to the top of /usr/share/texmf/tex/latex/config/color.cfg: %% http://www.tug.org/pipermail/pstricks/2003/001141.html %% workaround for a strange bug in color.sty / seminar / prosper \def\color@gray#1#2{% \c@lor@arg{#2}% \edef#1{gray #2}% } If this is indeed a problem and not my misunderstanding it would be nice to patch the Gentoo tetex packages with the above fix. Thanks. Reproducible: Always Steps to Reproduce: 1. Create a prosper project. 2. Call latex on the file to build it. 3. Actual Results: I get the following error: See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.159 \definecolor{black}{gray}{0} Expected Results: Compile the file cleanly w/out the error.
Could you provide an example to test it? On my laptop I created several prosper tex files without any errors.
I encountered the same problem. A minimal example is \documentclass{prosper} \usepackage{color} \begin{document} \textcolor{blue}{Blue Text} \end{document} Changing color.cfg as described in #1 fixed it.
I just wanted to add that I see the same problem with tetex 2.0.2-r8 and prosper. The fix in #1 fixed my problem as well.
Did anyone hit this bug with tetex-3 ?
With tetex-3.0_p1-r3 my example compiles error free.
(In reply to comment #5) > With tetex-3.0_p1-r3 my example compiles error free. Closing.