[OS X TeX] monochrome option in pstricks and pst-solides3D
Herbert Schulz
herbs at wideopenwest.com
Wed Feb 7 11:02:50 EST 2018
> On Feb 5, 2018, at 7:24 PM, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu> wrote:
>
> 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 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?
>
>
> 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/
Howdy,
Searching for `monochrome' (without the quotes, of course) in the pstricks documentation led me to
\documentclass[...]{...}
\usepackage[monochrome]{pstcol}
% ...
\makeatletter
\def\PSTricksMonochrome{%
\def\psset at bordercolor##1{\pst at getcolor{white}{\psbordercolor}}%
\def\psset at doublecolor##1{\pst at getcolor{white}{\psdoublecolor}}%
\def\psset at shadowcolor##1{\pst at getcolor{darkgray}{\psshadowcolor}}%
\def\psset at linecolor##1{\pst at getcolor{black}{\pslinecolor}}%
\def\psset at fillcolor##1{\pst at getcolor{white}{\psfillcolor}}%
\def\psset at gridcolor##1{\pst at getcolor{black}{\psgridcolor}}%
\def\psset at gridlabelcolor##1{\pst at getcolor{black}{\psgridlabelcolor}}%
\def\psset at hatchcolor##1{\pst at getcolor{black}{\pshatchcolor}}%
\def\psset at subgridcolor##1{\pst at getcolor{gray}{\pssubgridcolor}}}
\makeatother
\PSTricksMonochrome % To force it on the whole document
so I hope it works for you.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image3718064.png
Type: image/png
Size: 121 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12093360.png
Type: image/png
Size: 109 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image24687088.png
Type: image/png
Size: 109 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12076512.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12076304.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12076096.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12075888.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12075680.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12075472.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12075264.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12075056.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12074848.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12074640.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12074432.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12074224.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12074016.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0015.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12073808.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0016.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12073600.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0017.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12073392.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0018.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12073184.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0019.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12072976.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0020.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12072768.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0021.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12072560.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0022.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12072352.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0023.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12072144.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0024.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12071936.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0025.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12071728.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0026.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12071520.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0027.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12071312.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0028.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12071104.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0029.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12070896.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0030.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12070688.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0031.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12070480.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0032.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12070272.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0033.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12070064.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0034.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12069856.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0035.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12069648.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0036.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12069440.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0037.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12069232.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0038.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12069024.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0039.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: page304image12068816.png
Type: image/png
Size: 113 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20180207/3943bb23/attachment-0040.png>
More information about the MacOSX-TeX
mailing list