# [pstricks] Monochrome option

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Thu Feb 8 18:30:29 CET 2018

Here is a (kind of) minimal example.  There is a fair amount of code, because I wanted to make sure that whatever is causing the problem is present in my example.  But the coarse structure is simple:
I have copied the part of my “master” file which seems relevant and pasted in two figures, the first in straight pstricks, the second in pst-slides 3D.

I understood from your quick example that putting the line \usepackage[monotone]{pstricks} before my pstricks file calls would make everything monochrome, so this is what I did in the preamble.  (I kept the \documentstyle{book} because perhaps this is the problem—but I hope not!).

As you can see, neither the straight pstricks figure nor the pst-slides 3D one is monochrome.
What am I missing (or what do I misunderstand)?

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

telephones:
Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966
http://www.tufts.edu/~znitecki/

On Feb 8, 2018, at 1:39, Herbert Voss <Herbert.Voss at FU-Berlin.DE<mailto:Herbert.Voss at FU-Berlin.DE>> wrote:

Am 08.02.18 um 04:35 schrieb Nitecki, Zbigniew H.:
I have recently completed a book project in which I extensively used figures in pstricks and in particular in pst-solides3D, gleefully putting in lots of colors.   Now I am told by my publisher that they want the book in monochrome (color adds way too much to the production costs for a printed book).
When I tried to put a monochrome option in my document style command (\documentstyle[11pt,monochrome]{book}) pstricks just ignored it.
Then the tech team at the publisher suggested modifications to my color definitions (in a colormacros.sty file); with these, the plain pstricks figures came out monochrome, but the  pst-solides3D still insists on

Give a _complete_ example and, of corse, a _short_ one which shows
the behaviour. I cannot confirm your problem!

\documentclass{article}
\usepackage[
monochrome
%grayscale
]{pstricks}
\usepackage{pst-solides3d}
\begin{document}

\begin{pspicture}(-4,-4)(4,4)
\psSolid[object=sphere,r=3,fillcolor=red]
\end{pspicture}

\end{document}

latex->dvips->ps2pdf

Herbert

some colors. This may be simply because the particular colors were not covered in the redefinitions provided by the tech team.  But it would be much more convenient if I could just call a monochrome type option for pstricks in the preamble.  Is such a thing possible, and if so how do I do it?
I initially sent this question to the Tex on Mac OS X list;  Luis Sequeira suggested this list; Herb Schulz gave me something he found in the pstricks documentation;  I am not conversant with this kind of definition but I copied it into my preamble and tried running it (without the nocolor option in the documentstyle declaration);  the net effect was that everything came out colored.
I attach my “master” file with the full preamble, which then calls individual chapters etc.  Herb’s suggested insert (commented out) is the second “paragraph” of the file, and the various pstricks calls are the third paragraph.  Toward the end of the seventh paragraph (starting with \usepackage{historymacros}) has two uncommented attempts to call the color-defining macro (colormacrosOld is my original macro file);
the colormacros call at the end (not commented out) is to the file modified according to my publisher’s tech staff suggestion.  I attach that file as well.
Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155
telephones:
Office(617)627-3843
Dept.(617)627-3234
Dept. fax(617)627-3966
http://www.tufts.edu/~znitecki/
_______________________________________________
PSTricks mailing list
PSTricks at tug.org<mailto:PSTricks at tug.org>
http://tug.org/mailman/listinfo/pstricks
archive: http://www.tug.org/pipermail/pstricks/

_______________________________________________
PSTricks mailing list
PSTricks at tug.org<mailto:PSTricks at tug.org>
http://tug.org/mailman/listinfo/pstricks
archive: http://www.tug.org/pipermail/pstricks/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20180208/c9435932/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Monotest.pdf
Type: application/pdf
Size: 218748 bytes
Desc: Monotest.pdf
URL: <http://tug.org/pipermail/pstricks/attachments/20180208/c9435932/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Monotest.tex
Type: application/octet-stream
Size: 8617 bytes
Desc: Monotest.tex
URL: <http://tug.org/pipermail/pstricks/attachments/20180208/c9435932/attachment-0001.obj>