TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why I get error with the color of the maroon box? (line 26)

% load the necessary packages
% begin the document and suppress page numbers
% create the box with the front cover picture
% set up the picture environment
% set up the fonts we use
% create a maroon background
% place the front cover picture
% put the text on the front cover
\rput[lb](7.74,7){\PT \color{white}{Secrets of the Stamen}}
\rput[lb](8.94,6){\PTsmall \color{white}{Yuri Robbers}}
\rput[lb](9.04,0.8){\PTsmallest \color{white}{Lughdunum Press}}
% put the text on the spine (note the rotation over 270 degrees)
\color{white}{Yuri Robbers --- Secrets of the Stamen}}
% put the publisher’s logo on the spine
\rput[b](6.62,0.75){\color{white}{\fbox{\Logo L}}}
% Create a Box containing the text for the back cover
% And position the box
% Then we close all open environments


linea 26: Undefined control sequence ...tyle=solid,fillcolor=Maroon](0,0)(13.24,9)
linea 26: Undefined control sequence ...tyle=solid,fillcolor=Maroon](0,0)(13.24,9)
linea 26: Undefined control sequence ...tyle=solid,fillcolor=Maroon](0,0)(13.24,9)
linea 26: Undefined control sequence ...tyle=solid,fillcolor=Maroon](0,0)(13.24,9)
linea 26: Undefined control sequence ...tyle=solid,fillcolor=Maroon](0,0)(13.24,9)
linea 26: Undefined control sequence ...tyle=solid,fillcolor=Maroon](0,0)(13.24,9)
linea 0:  ************************************(pst-char) The package `pst-char' is obsolet!(pst-char) You should use `pst-text' directly:(pst-char) \usepackage{pst-text}(pst-char) ************************************.
linea 46: Overfull \hbox (17.62482pt too wide) in paragraph

! Undefined control sequence.
<recently read> \c@lor@to@ps
l.26 ...tyle=solid,fillcolor=Maroon](0,0)(13.24,9)
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
share|improve this question

closed as too localized by Werner, Gonzalo Medina, cmhughes, doncherry, lockstep Sep 25 '12 at 6:07

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Your code works OK in my system. What error are you getting? – Gonzalo Medina Sep 25 '12 at 2:16
@GonzaloMedina Look at my updated question ;) – FormlessCloud Sep 25 '12 at 2:24
Ah, it's a classical error. You have to process your document using latex and not pdflatex; the resulting .dvi file can then be converted to pdf format using dvipdf, for example. – Gonzalo Medina Sep 25 '12 at 2:27
@GonzaloMedina Thanks!, really there is not a way to compile it directly with pdflatex? – FormlessCloud Sep 25 '12 at 2:32
see pstricks tag info voting to close as too localized – cmhughes Sep 25 '12 at 4:15