diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-24 22:07:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-24 22:07:31 +0000 |
commit | b21728bcbb6e9398bc75b2485dac171e3a2edaf5 (patch) | |
tree | 750449893a03ba651a335f4cc0122846ba9f78bf /Master | |
parent | 7e0ac46d48cf38a13141f3969aa465c80e495cd6 (diff) |
pst-cie (24apr16)
git-svn-id: svn://tug.org/texlive/trunk@40724 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/pst-cie/Changes | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pst-cie/README.md | 24 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pst-cie/doc/pst-cie-doc.bib | 119 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pst-cie/doc/pst-cie-doc.pdf | bin | 0 -> 4828585 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/pst-cie/doc/pst-cie-doc.tex | 287 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pst-cie/dvips/pst-cie.pro | 1344 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pst-cie/latex/pst-cie.sty | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pst-cie/tex/pst-cie.tex | 93 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/pst-cie.tlpsrc | 0 |
11 files changed, 1891 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/pst-cie/Changes b/Master/texmf-dist/doc/latex/pst-cie/Changes new file mode 100644 index 00000000000..058ff26e467 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-cie/Changes @@ -0,0 +1,12 @@ +..... pst-cie.tex +1.01 2016-04-18 - initial version + +..... pst-cie.pro +1.0 2009-12-08 initial version + +..... pst-cie.sty + 2009-12-08 first version + +..... pst-cie-doc.tex +2016-04-18 initial version + diff --git a/Master/texmf-dist/doc/latex/pst-cie/README.md b/Master/texmf-dist/doc/latex/pst-cie/README.md new file mode 100644 index 00000000000..fdd0e96099f --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-cie/README.md @@ -0,0 +1,24 @@ +* pst-cie: the CIE color space * + +Save the files pst-cie.sty|tex|pro in a directory, which is part of your +local TeX tree. The pro file should go into $TEXMF/dvips/pstricks/ +Then do not forget to run texhash to update this tree. +For more information see the documentation of your LATEX distribution +on installing packages into your local TeX system or read the +TeX Frequently Asked Questions: +(http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages). + +PSTricks is PostScript Tricks, the documentation cannot be run +with pdftex, use the sequence latex->dvips->ps2pdf or xelatex. + +pst-cie is a PSTricks related package to show the different +CIE color spaces: + +- Adobe, +- CIE, +- ColorMatch, +- NTSC, +- Pal-Secam, +- ProPhoto, +- SMPTE, and +- sRGB. diff --git a/Master/texmf-dist/doc/latex/pst-cie/doc/pst-cie-doc.bib b/Master/texmf-dist/doc/latex/pst-cie/doc/pst-cie-doc.bib new file mode 100644 index 00000000000..f2286378394 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-cie/doc/pst-cie-doc.bib @@ -0,0 +1,119 @@ +@STRING{dtk = {{D}ie {\TeX}nische {K}om{\"o}die} } + +@Book{PostScript, + Author = {Kollock, Nikolai G.}, + Title = {PostScript richtig eingesetzt: vom Konzept zum + praktischen Einsatz}, + Publisher = {IWT}, + Address = {Vaterstetten}, + year = 1989, +} + +@Manual{pstricks, + Title = {PSTricks - {\PS} macros for Generic TeX}, + Author = {Timothy Van Zandt}, + Organization = {}, + Address = {\url{http://www.tug.org/application/PSTricks}}, + Note = {}, + year = 1993, +} + + +@Manual{pdftricks, + Title = {PSTricks Support for pdf}, + Author = {Herbert Voss}, + Organization = {}, + Address = {\url{http://PSTricks.de/pdf/pdfoutput.phtml}}, + Note = {}, + year = 2002, +} + +@Manual{miwi, + Title = {References for \TeX{} and Friends}, + Author = {Michael Wiedmann and Peter Karp}, + Organization = {}, + Address = {\url{http://www.miwie.org/tex-refs/}}, + Note = {}, + year = 2003, +} + + +@Manual{vue3d:2002, + Title = {Vue en 3D}, + Author = {Manuel Luque}, + Organization = {}, + Address = {\url{http://members.aol.com/Mluque5130/vue3d16112002.zip}}, + Note = {}, + year = 2002, +} + +@Article{dtk02.2:jackson.voss:plot-funktionen, + author = {Laura E. Jackson and Herbert Vo{\ss}}, + title = {Die {P}lot-{F}unktionen von {\texttt{pst-plot}}}, + journal = dtk, + year = 2002, + volume = {2/02}, + altvolume = 2, + altnumber = 14, + month = jun, + pages = {27--34}, + annote = bretter, + keywords = {}, + abstract = { Im letzten Heft wurden die mathematischen Funktionen von + \PS~im Zusammenhang mit dem {\LaTeX}-Paket + \texttt{pst-plot} zum Zeichnen von Funktionen beschrieben + und durch Beispiele erl{\"a}utert. In diesem Teil werden + die bislang nur erw{\"a}hnten Plot-Funktionen f{\"u}r + externe Daten behandelt. } +} + +@Article{dtk02.1:voss:mathematischen, + author = {Herbert Vo{\ss}}, + title = {Die mathematischen {F}unktionen von {P}ostscript}, + journal = dtk, + year = 2002, + volume = {1/02}, + altvolume = 1, + altnumber = 14, + month = mar, + pages = {40-47}, + annote = bretter, + keywords = {}, + abstract = { \PS, faktisch genauso alt wie {\TeX}, ist im + Verh{\"a}ltnis dazu allgemein noch weniger bekannt, wenn es + darum geht zu beurteilen, was es denn nun im eigentlichen + Sinne ist. Au{\ss}erdem wird h{\"a}ufig vergessen, dass + sich mit den \PS-Funktionen viele Dinge erledigen lassen, + bei denen sonst auf externe Programme zur{\"u}ckgegriffen + wird. Dies wird im Folgenden f{\"u}r die mathematischen + Funktionen im Zusammenhang mit dem Paket \texttt{pst-plot} + gezeigt. } +} + +@Book{tlgc2, + author = {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Denis Roegel and Herbert Vo{\ss}}, + title = {The {\LaTeX} {G}raphics {C}ompanion}, + publisher = {{Addison-Wesley Publishing Company}}, + edition = {second}, + year = {2007}, + address = {Reading, Mass.} +} + + +@Book{PSTricks2, + author = {Herbert Vo\ss}, + title = {\texttt{PSTricks} -- {G}raphics for \TeX{} and \LaTeX}, + edition = {1.}, + publisher = {UIT}, + year = {2011}, + address = {Cambridge} +} + +@Book{voss:ref, + author = {Herbert Vo\ss}, + title = {\LaTeX\ quich reference}, + publisher = {UIT}, + year = {2011}, + address = {Cambridge} +} + diff --git a/Master/texmf-dist/doc/latex/pst-cie/doc/pst-cie-doc.pdf b/Master/texmf-dist/doc/latex/pst-cie/doc/pst-cie-doc.pdf Binary files differnew file mode 100644 index 00000000000..2a63e6c7681 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-cie/doc/pst-cie-doc.pdf diff --git a/Master/texmf-dist/doc/latex/pst-cie/doc/pst-cie-doc.tex b/Master/texmf-dist/doc/latex/pst-cie/doc/pst-cie-doc.tex new file mode 100644 index 00000000000..957fdb11c09 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-cie/doc/pst-cie-doc.tex @@ -0,0 +1,287 @@ +%% $Id: pst-cie-doc.tex 283 2016-04-24 10:30:55Z herbert $ +\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings, + headexclude,footexclude,oneside]{pst-doc} +\listfiles + +\usepackage[utf8]{inputenc} +\usepackage{pst-cie} +\let\pstFV\fileversion +\def\bgImage{\psset{unit=0.8}\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[bgcolor=yellow!100!black!20,textcolor=black!70,ColorSpace=Pal-Secam] +\rput(5.5,8){\textbf{Espace Pal-Secam}} +\end{pspicture}} +\lstset{explpreset={pos=l,width=-99pt,overhang=0pt,hsep=\columnsep,vsep=\bigskipamount,rframe={}}} + +\def\tabCIE{% +\begin{tabular}{|c|c|c|c|c|} +\cline{2-5} \multicolumn{1}{c|}{} & Red & Green & Blue & White \\\hline +x&0.7355&0.2658&0.1669&0.3333\\\hline +y&0.2645&0.7243&0.0085&0.3333\\\hline +\end{tabular}% +} +\def\tabsRGB{% +\begin{tabular}{|c|c|c|c|c|}\cline{2-5} +\multicolumn{1}{c|}{} & Red & Green & Blue & White \\\hline +x&0.6400&0.3000&0.1500&0.3127\\\hline +y&0.3300&0.6000&0.0600&0.3290\\\hline +\end{tabular}% +} +\def\tabSMPTE{% +\begin{tabular}{|c|c|c|c|c|}\cline{2-5} +\multicolumn{1}{c|}{} & Red & Green & Blue & White \\\hline +x&0.6300&0.3100&0.1500&0.3127\\\hline +y&0.3400&0.5950&0.0700&0.3290\\\hline +\end{tabular}% +} +\def\tabAdobe{% +\begin{tabular}{|c|c|c|c|c|}\cline{2-5} +\multicolumn{1}{c|}{} & Red & Green & Blue & White \\\hline +x&0.6400&0.2100&0.1500&0.3127\\\hline +y&0.3300&0.7150&0.0600&0.3290\\\hline +\end{tabular}% +} +\def\tabColorMatch{% +\begin{tabular}{|c|c|c|c|c|}\cline{2-5} +\multicolumn{1}{c|}{} & Red & Green & Blue & White \\\hline +x&0.6300&0.2950&0.1500&0.3457\\\hline +y&0.3400&0.6050&0.0750&0.3585\\\hline +\end{tabular}% +} +\def\tabProPhoto{% +\begin{tabular}{|c|c|c|c|c|}\cline{2-5} +\multicolumn{1}{c|}{} & Red & Green & Blue & White \\\hline +x&0.7347&0.1596&0.0366&0.3457\\\hline +y&0.2653&0.8404&0.0001&0.3585\\\hline +\end{tabular}% +} +\def\tabPal-Secam{% +\begin{tabular}{|c|c|c|c|c|}\cline{2-5} +\multicolumn{1}{c|}{} & Red & Green & Blue & White \\\hline +x&0.6400&0.2900&0.1500&0.3127\\\hline +y&0.3300&0.6000&0.0600&0.3290\\\hline +\end{tabular}% +} +\def\tabNTSC{% +\begin{tabular}{|c|c|c|c|c|}\cline{2-5} +\multicolumn{1}{c|}{} & Red & Green & Blue & White \\\hline +x&0.6700&0.2100&0.1400&0.3101\\\hline +y&0.3300&0.7100&0.0800&0.3162\\\hline +\end{tabular}% +} + +\begin{document} +\title{\texttt{pst-cie}: Diagramme de chromaticité\\ +\small v.\pstFV} +%\docauthor{Michael Sharpe\\Herbert Vo\ss} +\author{Manuel Luque\\Herbert Voß} +\maketitle + + +\section{Introductionj} + + + + +Using data (CIE XYZ CIE XYZ 1931 and 1964) +from the International Commission on Illumination (Commission internationale de l’éclairage) +the package \LPack{pst-cie} proposes to represent the color table and / or the chromaticity diagram for +different color spaces. Web page devoted to studies and performances diagrams and chromaticity +tables are numerous and it is difficult to distinguish one over another, +however here who liked me: those of +\href{http://www.f-legrand.fr/scidoc/docmml/index.html}{Frédéric Legrand} +devoted to colorimetry, and those of Daniel Metz. Yu-Chang Sung realized with the software +\textsf{Mathematica} an interactive version of beauty: +\href{http://demonstrations.wolfram.com/CIEChromaticityDiagram/}{CIEChromaticityDiagram} +as I do not own this software I tried to do pretty much the same with PSTricks, or at least +having almost the same functionality. + +The macro \Lcs{psChromaticityDiagram}\OptArgs supports the following optional arguments: + + + + + + + + + + +\begin{center} +% \small\let\tbs\textbackslash +\newcommand*\titretab[1]{\multicolumn{1}{c}{\bfseries#1}} +\begin{tabular}{>{\bfseries\sffamily\color{blue}}lccm{7cm}} + \toprule + \titretab{Option} & \titretab{Type} & \titretab{Défaut} +& \titretab{Description} +\\\toprule +\Lkeyword{gamma} & number &2.2 & color correction\\ +\Lkeyword{contrast} &number &1 & 0<contrast<=1 \\ +\Lkeyword{ColorSpace} &name & sRGB & colorspace \\ +\Lkeyword{datas} &name &CIE1931 & CIE\\ +\Lkeyword{primaries} &Boolean & true & show primary points\\ +\Lkeyword{bgcolor} & color & background color \\ +\Lkeyword{textcolor} & color & textcolor +\\\bottomrule +\end{tabular} +\end{center} +The color spaces which are available are: \Lkeyval{Adobe}, +\Lkeyval{CIE}, +\Lkeyval{ColorMatch}, +\Lkeyval{NTSC}, +\Lkeyval{Pal-Secam}, +\Lkeyval{ProPhoto}, +\Lkeyval{SMPTE}, and +\Lkeyval{sRGB}. + +Tabulated values available are those of the CIE XYZ 1931 and the CIE XYZ 1964. +A low value of the contrast will highlight the work area of +the system displayed the colors it can represent, it is the triangle +with vertices the points of primary colors included in the +\emph{Iron horse} which represents all the colors visible to the human eye. + + + +\section{Examples} +\begin{center} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram +\rput(5.5,8){\white \textbf{Colorspace sRGB}} +\rput(4,10){\tabsRGB} +\end{pspicture} + +\begin{verbatim} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram +\rput(5.5,8){\white \textbf{Colorspace sRGB}} +\rput(4,10){\tabsRGB} +\end{pspicture} +\end{verbatim} +\end{center} + +\begin{center} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[datas=CIE1964,ColorSpace=Adobe,contrast=0.1] +\rput(5.5,8){\white \textbf{Colorspace Adobe}} +\rput(4,10){\tabAdobe} +\end{pspicture} + +\begin{verbatim} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[datas=CIE1964,ColorSpace=Adobe,contrast=0.1] +\rput(5.5,8){\white \textbf{Colorspace Adobe}} +\rput(4,10){\tabAdobe} +\end{pspicture} +\end{verbatim} +\end{center} + +\begin{center} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[ColorSpace=ProPhoto,contrast=0.1] +\rput(5.5,8){\white \textbf{Colorspace ProPhoto}} +\rput(4,10){\tabProPhoto} +\end{pspicture} + +\begin{verbatim} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[ColorSpace=ProPhoto,contrast=0.1] +\rput(5.5,8){\white \textbf{Colorspace ProPhoto}} +\rput(4,10){\tabProPhoto} +\end{pspicture} +\end{verbatim} +\end{center} + +\begin{center} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[ColorSpace=ColorMatch,contrast=0.1] +\rput(5.5,8){\white \textbf{Colorspace ColorMatch}} +\rput(4,10){\tabColorMatch} +\end{pspicture} + +\begin{verbatim} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[ColorSpace=ColorMatch,contrast=0.1] +\rput(5.5,8){\white \textbf{Colorspace ColorMatch}} +\rput(4,10){\tabColorMatch} +\end{pspicture} +\end{verbatim} +\end{center} + +\begin{center} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[ColorSpace=NTSC,contrast=0.1] +\rput(5.5,8){\white \textbf{Colorspace NTSC}} +\rput(4,10){\tabNTSC} +\end{pspicture} + +\begin{verbatim} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[ColorSpace=NTSC,contrast=0.1] +\rput(5.5,8){\white \textbf{Colorspace NTSC}} +\rput(4,10){\tabNTSC} +\end{pspicture} +\end{verbatim} +\end{center} + +\begin{center} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[ColorSpace=CIE] +\rput(5.5,8){\white \textbf{Colorspace CIE}} +\rput(4,10){\tabCIE} +\end{pspicture} + +\begin{verbatim} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[ColorSpace=CIE] +\rput(5.5,8){\white \textbf{Colorspace CIE}} +\rput(4,10){\tabCIE} +\end{pspicture} +\end{verbatim} +\end{center} + +\begin{center} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[ColorSpace=Pal-Secam] +\rput(5.5,8){\white \textbf{Colorspace Pal-Secam}} +\rput(4,10){\tabPal-Secam} +\end{pspicture} + +\begin{verbatim} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[ColorSpace=Pal-Secam] +\rput(5.5,8){\white \textbf{Colorspace Pal-Secam}} +\rput(4,10){\tabPal-Secam} +\end{pspicture +\end{verbatim} + + +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[bgcolor=yellow!100!black!20,textcolor=black!70,ColorSpace=Pal-Secam] +\rput(5.5,8){\white\textbf{Colorspace Pal-Secam}} +\end{pspicture} + + +\begin{verbatim} +\begin{pspicture}(-1,-1)(8.5,11) +\psChromaticityDiagram[bgcolor=yellow!100!black!20, + textcolor=black!70,ColorSpace=Pal-Secam] +\rput(5.5,8){\white\textbf{Colorspace Pal-Secam}} +\end{pspicture} +\end{verbatim} + +\end{center} + +\clearpage +\section{List of all optional arguments for \texttt{pst-cie}} +\xkvview{family=pst-cie,columns={key,type,default}} + +\bgroup +\raggedright +\nocite{*} +\bibliographystyle{plain} +\bibliography{pst-cie-doc} +\egroup + +\printindex + + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pst-cie/dvips/pst-cie.pro b/Master/texmf-dist/doc/latex/pst-cie/dvips/pst-cie.pro new file mode 100644 index 00000000000..c7075f4b50d --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-cie/dvips/pst-cie.pro @@ -0,0 +1,1344 @@ +%% version 1.01 2016-04-18 +/CIEChromaticityDiagramdict 50 dict def + CIEChromaticityDiagramdict begin +%% CIE 1931 (2 degree) +% Wavelength >= 360 && Wavelength <= 830 +/CIE1931 [ +[ 0.1756 0.0053 ] +[ 0.1755 0.0053 ] +[ 0.1754 0.0053 ] +[ 0.1753 0.0053 ] +[ 0.1752 0.0053 ] +[ 0.1752 0.0053 ] +[ 0.1751 0.0052 ] +[ 0.1750 0.0052 ] +[ 0.1749 0.0052 ] +[ 0.1749 0.0052 ] +[ 0.1748 0.0052 ] +[ 0.1748 0.0052 ] +[ 0.1747 0.0052 ] +[ 0.1747 0.0052 ] +[ 0.1746 0.0052 ] +[ 0.1745 0.0052 ] +[ 0.1744 0.0051 ] +[ 0.1743 0.0051 ] +[ 0.1742 0.0050 ] +[ 0.1742 0.0050 ] +[ 0.1741 0.0050 ] +[ 0.1741 0.0050 ] +[ 0.1741 0.0050 ] +[ 0.1741 0.0050 ] +[ 0.1740 0.0050 ] +[ 0.1740 0.0050 ] +[ 0.1740 0.0050 ] +[ 0.1739 0.0049 ] +[ 0.1739 0.0049 ] +[ 0.1738 0.0049 ] +[ 0.1738 0.0049 ] +[ 0.1738 0.0049 ] +[ 0.1737 0.0049 ] +[ 0.1737 0.0049 ] +[ 0.1736 0.0049 ] +[ 0.1736 0.0049 ] +[ 0.1735 0.0049 ] +[ 0.1735 0.0049 ] +[ 0.1734 0.0048 ] +[ 0.1734 0.0048 ] +[ 0.1733 0.0048 ] +[ 0.1733 0.0048 ] +[ 0.1732 0.0048 ] +[ 0.1732 0.0048 ] +[ 0.1731 0.0048 ] +[ 0.1730 0.0048 ] +[ 0.1729 0.0048 ] +[ 0.1728 0.0048 ] +[ 0.1728 0.0048 ] +[ 0.1727 0.0048 ] +[ 0.1726 0.0048 ] +[ 0.1725 0.0048 ] +[ 0.1724 0.0048 ] +[ 0.1723 0.0048 ] +[ 0.1722 0.0048 ] +[ 0.1721 0.0048 ] +[ 0.1720 0.0049 ] +[ 0.1719 0.0049 ] +[ 0.1717 0.0049 ] +[ 0.1716 0.0050 ] +[ 0.1714 0.0051 ] +[ 0.1712 0.0052 ] +[ 0.1710 0.0053 ] +[ 0.1708 0.0055 ] +[ 0.1705 0.0056 ] +[ 0.1703 0.0058 ] +[ 0.1701 0.0060 ] +[ 0.1698 0.0062 ] +[ 0.1695 0.0064 ] +[ 0.1692 0.0066 ] +[ 0.1689 0.0069 ] +[ 0.1685 0.0072 ] +[ 0.1681 0.0075 ] +[ 0.1677 0.0078 ] +[ 0.1673 0.0082 ] +[ 0.1669 0.0086 ] +[ 0.1664 0.0090 ] +[ 0.1660 0.0094 ] +[ 0.1655 0.0099 ] +[ 0.1650 0.0104 ] +[ 0.1644 0.0109 ] +[ 0.1638 0.0114 ] +[ 0.1632 0.0119 ] +[ 0.1626 0.0125 ] +[ 0.1619 0.0131 ] +[ 0.1611 0.0138 ] +[ 0.1603 0.0145 ] +[ 0.1595 0.0152 ] +[ 0.1586 0.0160 ] +[ 0.1576 0.0168 ] +[ 0.1566 0.0177 ] +[ 0.1556 0.0186 ] +[ 0.1545 0.0196 ] +[ 0.1534 0.0206 ] +[ 0.1522 0.0216 ] +[ 0.1510 0.0227 ] +[ 0.1497 0.0240 ] +[ 0.1483 0.0252 ] +[ 0.1469 0.0266 ] +[ 0.1455 0.0281 ] +[ 0.1440 0.0297 ] +[ 0.1424 0.0314 ] +[ 0.1408 0.0332 ] +[ 0.1391 0.0352 ] +[ 0.1374 0.0374 ] +[ 0.1355 0.0399 ] +[ 0.1335 0.0427 ] +[ 0.1314 0.0459 ] +[ 0.1291 0.0494 ] +[ 0.1267 0.0534 ] +[ 0.1241 0.0578 ] +[ 0.1215 0.0626 ] +[ 0.1187 0.0678 ] +[ 0.1158 0.0736 ] +[ 0.1128 0.0799 ] +[ 0.1096 0.0868 ] +[ 0.1063 0.0945 ] +[ 0.1028 0.1029 ] +[ 0.0991 0.1120 ] +[ 0.0953 0.1219 ] +[ 0.0913 0.1327 ] +[ 0.0871 0.1443 ] +[ 0.0827 0.1569 ] +[ 0.0781 0.1704 ] +[ 0.0734 0.1850 ] +[ 0.0687 0.2007 ] +[ 0.0640 0.2175 ] +[ 0.0593 0.2353 ] +[ 0.0547 0.2541 ] +[ 0.0500 0.2740 ] +[ 0.0454 0.2950 ] +[ 0.0408 0.3170 ] +[ 0.0362 0.3399 ] +[ 0.0318 0.3636 ] +[ 0.0275 0.3879 ] +[ 0.0235 0.4127 ] +[ 0.0197 0.4378 ] +[ 0.0163 0.4630 ] +[ 0.0132 0.4882 ] +[ 0.0105 0.5134 ] +[ 0.0082 0.5384 ] +[ 0.0063 0.5631 ] +[ 0.0049 0.5871 ] +[ 0.0040 0.6104 ] +[ 0.0036 0.6330 ] +[ 0.0039 0.6548 ] +[ 0.0046 0.6759 ] +[ 0.0060 0.6961 ] +[ 0.0080 0.7153 ] +[ 0.0106 0.7334 ] +[ 0.0139 0.7502 ] +[ 0.0178 0.7656 ] +[ 0.0222 0.7796 ] +[ 0.0273 0.7921 ] +[ 0.0328 0.8029 ] +[ 0.0389 0.8120 ] +[ 0.0453 0.8194 ] +[ 0.0522 0.8252 ] +[ 0.0593 0.8294 ] +[ 0.0667 0.8323 ] +[ 0.0743 0.8338 ] +[ 0.0821 0.8341 ] +[ 0.0899 0.8333 ] +[ 0.0979 0.8316 ] +[ 0.1060 0.8292 ] +[ 0.1142 0.8262 ] +[ 0.1223 0.8228 ] +[ 0.1305 0.8189 ] +[ 0.1387 0.8148 ] +[ 0.1468 0.8104 ] +[ 0.1547 0.8059 ] +[ 0.1625 0.8012 ] +[ 0.1702 0.7965 ] +[ 0.1778 0.7917 ] +[ 0.1854 0.7867 ] +[ 0.1929 0.7816 ] +[ 0.2003 0.7764 ] +[ 0.2077 0.7711 ] +[ 0.2150 0.7656 ] +[ 0.2223 0.7600 ] +[ 0.2296 0.7543 ] +[ 0.2369 0.7485 ] +[ 0.2441 0.7426 ] +[ 0.2514 0.7366 ] +[ 0.2586 0.7305 ] +[ 0.2658 0.7243 ] +[ 0.2730 0.7181 ] +[ 0.2801 0.7117 ] +[ 0.2873 0.7053 ] +[ 0.2945 0.6988 ] +[ 0.3016 0.6923 ] +[ 0.3088 0.6857 ] +[ 0.3159 0.6791 ] +[ 0.3231 0.6724 ] +[ 0.3302 0.6656 ] +[ 0.3374 0.6588 ] +[ 0.3445 0.6520 ] +[ 0.3517 0.6452 ] +[ 0.3588 0.6383 ] +[ 0.3660 0.6314 ] +[ 0.3731 0.6245 ] +[ 0.3802 0.6175 ] +[ 0.3874 0.6105 ] +[ 0.3945 0.6036 ] +[ 0.4016 0.5966 ] +[ 0.4087 0.5896 ] +[ 0.4158 0.5826 ] +[ 0.4229 0.5756 ] +[ 0.4300 0.5686 ] +[ 0.4370 0.5617 ] +[ 0.4441 0.5547 ] +[ 0.4511 0.5478 ] +[ 0.4580 0.5408 ] +[ 0.4650 0.5339 ] +[ 0.4719 0.5271 ] +[ 0.4788 0.5202 ] +[ 0.4856 0.5134 ] +[ 0.4924 0.5066 ] +[ 0.4992 0.4999 ] +[ 0.5058 0.4932 ] +[ 0.5125 0.4866 ] +[ 0.5191 0.4800 ] +[ 0.5256 0.4735 ] +[ 0.5321 0.4671 ] +[ 0.5385 0.4607 ] +[ 0.5448 0.4544 ] +[ 0.5510 0.4482 ] +[ 0.5572 0.4421 ] +[ 0.5633 0.4361 ] +[ 0.5693 0.4301 ] +[ 0.5752 0.4242 ] +[ 0.5810 0.4184 ] +[ 0.5867 0.4128 ] +[ 0.5922 0.4072 ] +[ 0.5977 0.4018 ] +[ 0.6029 0.3965 ] +[ 0.6080 0.3914 ] +[ 0.6130 0.3865 ] +[ 0.6178 0.3817 ] +[ 0.6225 0.3770 ] +[ 0.6270 0.3725 ] +[ 0.6315 0.3680 ] +[ 0.6359 0.3637 ] +[ 0.6402 0.3594 ] +[ 0.6443 0.3553 ] +[ 0.6482 0.3514 ] +[ 0.6520 0.3476 ] +[ 0.6557 0.3440 ] +[ 0.6592 0.3406 ] +[ 0.6625 0.3372 ] +[ 0.6658 0.3340 ] +[ 0.6689 0.3309 ] +[ 0.6719 0.3279 ] +[ 0.6747 0.3251 ] +[ 0.6775 0.3224 ] +[ 0.6801 0.3197 ] +[ 0.6826 0.3172 ] +[ 0.6850 0.3149 ] +[ 0.6873 0.3126 ] +[ 0.6894 0.3104 ] +[ 0.6915 0.3083 ] +[ 0.6935 0.3064 ] +[ 0.6954 0.3045 ] +[ 0.6972 0.3027 ] +[ 0.6989 0.3010 ] +[ 0.7006 0.2993 ] +[ 0.7022 0.2977 ] +[ 0.7037 0.2962 ] +[ 0.7052 0.2948 ] +[ 0.7066 0.2934 ] +[ 0.7079 0.2920 ] +[ 0.7092 0.2907 ] +[ 0.7105 0.2895 ] +[ 0.7117 0.2882 ] +[ 0.7129 0.2871 ] +[ 0.7140 0.2859 ] +[ 0.7151 0.2848 ] +[ 0.7162 0.2838 ] +[ 0.7172 0.2828 ] +[ 0.7181 0.2819 ] +[ 0.7190 0.2809 ] +[ 0.7199 0.2801 ] +[ 0.7208 0.2792 ] +[ 0.7216 0.2784 ] +[ 0.7223 0.2777 ] +[ 0.7230 0.2769 ] +[ 0.7237 0.2763 ] +[ 0.7243 0.2757 ] +[ 0.7249 0.2751 ] +[ 0.7255 0.2745 ] +[ 0.7260 0.2740 ] +[ 0.7265 0.2735 ] +[ 0.7270 0.2730 ] +[ 0.7274 0.2726 ] +[ 0.7279 0.2721 ] +[ 0.7283 0.2717 ] +[ 0.7287 0.2713 ] +[ 0.7290 0.2710 ] +[ 0.7294 0.2706 ] +[ 0.7297 0.2703 ] +[ 0.7300 0.2700 ] +[ 0.7302 0.2698 ] +[ 0.7305 0.2695 ] +[ 0.7307 0.2693 ] +[ 0.7309 0.2691 ] +[ 0.7311 0.2689 ] +[ 0.7313 0.2687 ] +[ 0.7315 0.2685 ] +[ 0.7316 0.2684 ] +[ 0.7318 0.2682 ] +[ 0.7320 0.2680 ] +[ 0.7322 0.2678 ] +[ 0.7323 0.2677 ] +[ 0.7324 0.2676 ] +[ 0.7326 0.2674 ] +[ 0.7327 0.2673 ] +[ 0.7329 0.2671 ] +[ 0.7330 0.2670 ] +[ 0.7331 0.2669 ] +[ 0.7333 0.2667 ] +[ 0.7334 0.2666 ] +[ 0.7336 0.2664 ] +[ 0.7337 0.2663 ] +[ 0.7338 0.2662 ] +[ 0.7339 0.2661 ] +[ 0.7340 0.2660 ] +[ 0.7341 0.2659 ] +[ 0.7342 0.2658 ] +[ 0.7343 0.2657 ] +[ 0.7343 0.2657 ] +[ 0.7344 0.2656 ] +[ 0.7344 0.2656 ] +[ 0.7345 0.2655 ] +[ 0.7345 0.2655 ] +[ 0.7346 0.2654 ] +[ 0.7346 0.2654 ] +[ 0.7346 0.2654 ] +[ 0.7346 0.2654 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +[ 0.7347 0.2653 ] +] def + +%% CIE 1964 (10 degree) Color Matching Functions +% Wavelength >= 360 && Wavelength <= 830 +/CIE1964 [ +[ 0.182218080 0.019978378 ] +[ 0.182195183 0.019971422 ] +[ 0.182171581 0.019966157 ] +[ 0.182149386 0.019957154 ] +[ 0.182123825 0.019946770 ] +[ 0.182097848 0.019937721 ] +[ 0.182068665 0.019928195 ] +[ 0.182036874 0.019918198 ] +[ 0.182003079 0.019907874 ] +[ 0.181962095 0.019895458 ] +[ 0.181923098 0.019878852 ] +[ 0.181881944 0.019861262 ] +[ 0.181829687 0.019849909 ] +[ 0.181780321 0.019832600 ] +[ 0.181726816 0.019811177 ] +[ 0.181671227 0.019796735 ] +[ 0.181612194 0.019778063 ] +[ 0.181551390 0.019756356 ] +[ 0.181482108 0.019735125 ] +[ 0.181410648 0.019711145 ] +[ 0.181332559 0.019685022 ] +[ 0.181251722 0.019658076 ] +[ 0.181171385 0.019630208 ] +[ 0.181085975 0.019602359 ] +[ 0.180997342 0.019572322 ] +[ 0.180905566 0.019542302 ] +[ 0.180801004 0.019512705 ] +[ 0.180695618 0.019474525 ] +[ 0.180578136 0.019434351 ] +[ 0.180449159 0.019392353 ] +[ 0.180313349 0.019347647 ] +[ 0.180158797 0.019289389 ] +[ 0.179999904 0.019240792 ] +[ 0.179830104 0.019177245 ] +[ 0.179650580 0.019111699 ] +[ 0.179465640 0.019043583 ] +[ 0.179270919 0.018969327 ] +[ 0.179063642 0.018906369 ] +[ 0.178848822 0.018838958 ] +[ 0.178620127 0.018771193 ] +[ 0.178386931 0.018710852 ] +[ 0.178150945 0.018653158 ] +[ 0.177899403 0.018586210 ] +[ 0.177648911 0.018524513 ] +[ 0.177389269 0.018463178 ] +[ 0.177121892 0.018401903 ] +[ 0.176840304 0.018341420 ] +[ 0.176530091 0.018290503 ] +[ 0.176208938 0.018232467 ] +[ 0.175861342 0.018180753 ] +[ 0.175488446 0.018133696 ] +[ 0.175085248 0.018083109 ] +[ 0.174654358 0.018017275 ] +[ 0.174199136 0.017942812 ] +[ 0.173723454 0.017870233 ] +[ 0.173230655 0.017806157 ] +[ 0.172723370 0.017755510 ] +[ 0.172207699 0.017724018 ] +[ 0.171684170 0.017727141 ] +[ 0.171158962 0.017766288 ] +[ 0.170633957 0.017849260 ] +[ 0.170099926 0.017968930 ] +[ 0.169567699 0.018113869 ] +[ 0.169019910 0.018284432 ] +[ 0.168461515 0.018480167 ] +[ 0.167902132 0.018707658 ] +[ 0.167333500 0.018968253 ] +[ 0.166761942 0.019246236 ] +[ 0.166185900 0.019559894 ] +[ 0.165606601 0.019910664 ] +[ 0.165026864 0.020282825 ] +[ 0.164451286 0.020681959 ] +[ 0.163882961 0.021099372 ] +[ 0.163318392 0.021528405 ] +[ 0.162750732 0.021990341 ] +[ 0.162170457 0.022486865 ] +[ 0.161588675 0.023024309 ] +[ 0.160983823 0.023610103 ] +[ 0.160358149 0.024251307 ] +[ 0.159706296 0.024953820 ] +[ 0.159021769 0.025725097 ] +[ 0.158320097 0.026529774 ] +[ 0.157611843 0.027342256 ] +[ 0.156892178 0.028181098 ] +[ 0.156153355 0.029066295 ] +[ 0.155390902 0.030016916 ] +[ 0.154597712 0.031053285 ] +[ 0.153768992 0.032193971 ] +[ 0.152897412 0.033458989 ] +[ 0.151977267 0.034861355 ] +[ 0.151001361 0.036438913 ] +[ 0.150009670 0.038086227 ] +[ 0.149030801 0.039740034 ] +[ 0.148042872 0.041447823 ] +[ 0.147021074 0.043257899 ] +[ 0.145944552 0.045216993 ] +[ 0.144788081 0.047373285 ] +[ 0.143529763 0.049770048 ] +[ 0.142148825 0.052466969 ] +[ 0.140620323 0.055499599 ] +[ 0.138922184 0.058920125 ] +[ 0.137143366 0.062496985 ] +[ 0.135379693 0.066052886 ] +[ 0.133563637 0.069715848 ] +[ 0.131628023 0.073611934 ] +[ 0.129519826 0.077869918 ] +[ 0.127184388 0.082616134 ] +[ 0.124602077 0.087978178 ] +[ 0.121766119 0.094083667 ] +[ 0.118589242 0.101060991 ] +[ 0.115179985 0.109039972 ] +[ 0.111711065 0.117808868 ] +[ 0.108040761 0.127139670 ] +[ 0.104127843 0.137089175 ] +[ 0.100014243 0.147718237 ] +[ 0.095732407 0.159089873 ] +[ 0.091311117 0.171265137 ] +[ 0.086776660 0.184299716 ] +[ 0.082156600 0.198274282 ] +[ 0.077481765 0.213230877 ] +[ 0.072776597 0.229239004 ] +[ 0.067815854 0.246541141 ] +[ 0.062436728 0.265234081 ] +[ 0.056780263 0.285099233 ] +[ 0.050989709 0.305929778 ] +[ 0.045193811 0.327537393 ] +[ 0.039530725 0.349718314 ] +[ 0.034145091 0.372262549 ] +[ 0.029166478 0.394980033 ] +[ 0.024739596 0.417661561 ] +[ 0.020987361 0.440112957 ] +[ 0.017705382 0.463082281 ] +[ 0.014628462 0.487197546 ] +[ 0.011821888 0.512071003 ] +[ 0.009357782 0.537308904 ] +[ 0.007301524 0.562523209 ] +[ 0.005725377 0.587321352 ] +[ 0.004696633 0.611313390 ] +[ 0.004280706 0.634109084 ] +[ 0.004559077 0.655313872 ] +[ 0.005586339 0.674543072 ] +[ 0.007434852 0.692178156 ] +[ 0.010070681 0.708838852 ] +[ 0.013411213 0.724485307 ] +[ 0.017373507 0.739078448 ] +[ 0.021873712 0.752578064 ] +[ 0.026828418 0.764951633 ] +[ 0.032155942 0.776140706 ] +[ 0.037772346 0.786125859 ] +[ 0.043598210 0.794857013 ] +[ 0.049540496 0.802302149 ] +[ 0.055800347 0.808180137 ] +[ 0.062554449 0.812377410 ] +[ 0.069726468 0.815108898 ] +[ 0.077243857 0.816566417 ] +[ 0.085024295 0.816975786 ] +[ 0.092995187 0.816520115 ] +[ 0.101079474 0.815409365 ] +[ 0.109198550 0.813848207 ] +[ 0.117276084 0.812042557 ] +[ 0.125236249 0.810194477 ] +[ 0.133216136 0.807952182 ] +[ 0.141379525 0.804898298 ] +[ 0.149650985 0.801182667 ] +[ 0.158017338 0.796891482 ] +[ 0.166407686 0.792171518 ] +[ 0.174775431 0.787130661 ] +[ 0.183073596 0.781896585 ] +[ 0.191260474 0.776595397 ] +[ 0.199260064 0.771359197 ] +[ 0.207057198 0.766281750 ] +[ 0.214639838 0.761260223 ] +[ 0.222066468 0.756094389 ] +[ 0.229361679 0.750797331 ] +[ 0.236550123 0.745379527 ] +[ 0.243641915 0.739872514 ] +[ 0.250670452 0.734269368 ] +[ 0.257660183 0.728601245 ] +[ 0.264627273 0.722871917 ] +[ 0.271595915 0.717099783 ] +[ 0.278587674 0.711300202 ] +[ 0.285580858 0.705445229 ] +[ 0.292538924 0.699506432 ] +[ 0.299468466 0.693487750 ] +[ 0.306360183 0.687413193 ] +[ 0.313229780 0.681278100 ] +[ 0.320079378 0.675100046 ] +[ 0.326903701 0.668877001 ] +[ 0.333713932 0.662630044 ] +[ 0.340510760 0.656363950 ] +[ 0.347295938 0.650089966 ] +[ 0.354081849 0.643786947 ] +[ 0.360869326 0.637435935 ] +[ 0.367650718 0.631043222 ] +[ 0.374419634 0.624620990 ] +[ 0.381161006 0.618163977 ] +[ 0.387871238 0.611693747 ] +[ 0.394539638 0.605214040 ] +[ 0.401159956 0.598729845 ] +[ 0.407720235 0.592251897 ] +[ 0.414212917 0.585787083 ] +[ 0.420697973 0.579302027 ] +[ 0.427228926 0.572771074 ] +[ 0.433788915 0.566211085 ] +[ 0.440360013 0.559639987 ] +[ 0.446924128 0.553075872 ] +[ 0.453464147 0.546535853 ] +[ 0.459962973 0.540037027 ] +[ 0.466403914 0.533596086 ] +[ 0.472767983 0.527232017 ] +[ 0.479038080 0.520961920 ] +[ 0.485241824 0.514758176 ] +[ 0.491413030 0.508586970 ] +[ 0.497542109 0.502457891 ] +[ 0.503620160 0.496379840 ] +[ 0.509641078 0.490358922 ] +[ 0.515594013 0.484405987 ] +[ 0.521471162 0.478528838 ] +[ 0.527264193 0.472735807 ] +[ 0.532960334 0.467039666 ] +[ 0.538560475 0.461439525 ] +[ 0.544082041 0.455917959 ] +[ 0.549536877 0.450463123 ] +[ 0.554921083 0.445078917 ] +[ 0.560219218 0.439780782 ] +[ 0.565443968 0.434556032 ] +[ 0.570568107 0.429431893 ] +[ 0.575589780 0.424410220 ] +[ 0.580501928 0.419498072 ] +[ 0.585296119 0.414703881 ] +[ 0.589960046 0.410039954 ] +[ 0.594511953 0.405488047 ] +[ 0.598945792 0.401054208 ] +[ 0.603271029 0.396728971 ] +[ 0.607486906 0.392513094 ] +[ 0.611596886 0.388403114 ] +[ 0.615603873 0.384396127 ] +[ 0.619507969 0.380492031 ] +[ 0.623312161 0.376687839 ] +[ 0.627019011 0.372980989 ] +[ 0.630629215 0.369370785 ] +[ 0.634137080 0.365862920 ] +[ 0.637539255 0.362460745 ] +[ 0.640835827 0.359164173 ] +[ 0.644030953 0.355969047 ] +[ 0.647126700 0.352873300 ] +[ 0.650127923 0.349872077 ] +[ 0.653035079 0.346964921 ] +[ 0.655850645 0.344149355 ] +[ 0.658580343 0.341419657 ] +[ 0.661224055 0.338775945 ] +[ 0.663777232 0.336222768 ] +[ 0.666239283 0.333760717 ] +[ 0.668599796 0.331400204 ] +[ 0.670873137 0.329126863 ] +[ 0.673055005 0.326944995 ] +[ 0.675147996 0.324852004 ] +[ 0.677159978 0.322840022 ] +[ 0.679075313 0.320924687 ] +[ 0.680910897 0.319089103 ] +[ 0.682659760 0.317340240 ] +[ 0.684307204 0.315692796 ] +[ 0.685819090 0.314180910 ] +[ 0.687220996 0.312779004 ] +[ 0.688529596 0.311470404 ] +[ 0.689758827 0.310241173 ] +[ 0.690944828 0.309055172 ] +[ 0.692087954 0.307912046 ] +[ 0.693212973 0.306787027 ] +[ 0.694337713 0.305662287 ] +[ 0.695483157 0.304516843 ] +[ 0.696631793 0.303368207 ] +[ 0.697756830 0.302243170 ] +[ 0.698858836 0.301141164 ] +[ 0.699935704 0.300064296 ] +[ 0.700989305 0.299010695 ] +[ 0.702017390 0.297982610 ] +[ 0.703018695 0.296981305 ] +[ 0.703995505 0.296004495 ] +[ 0.704946632 0.295053368 ] +[ 0.705872636 0.294127364 ] +[ 0.706781591 0.293218409 ] +[ 0.707679510 0.292320490 ] +[ 0.708560544 0.291439456 ] +[ 0.709419469 0.290580531 ] +[ 0.710248584 0.289751416 ] +[ 0.711040229 0.288959771 ] +[ 0.711790592 0.288209408 ] +[ 0.712490588 0.287509412 ] +[ 0.713131721 0.286868279 ] +[ 0.713713088 0.286286912 ] +[ 0.714217584 0.285782416 ] +[ 0.714651692 0.285348308 ] +[ 0.715021140 0.284978860 ] +[ 0.715340063 0.284659937 ] +[ 0.715619275 0.284380725 ] +[ 0.715867816 0.284132184 ] +[ 0.716100162 0.283899838 ] +[ 0.716323177 0.283676823 ] +[ 0.716548953 0.283451047 ] +[ 0.716789837 0.283210163 ] +[ 0.717034242 0.282965758 ] +[ 0.717271821 0.282728179 ] +[ 0.717482462 0.282517538 ] +[ 0.717692428 0.282307572 ] +[ 0.717886709 0.282113291 ] +[ 0.718079847 0.281920153 ] +[ 0.718251928 0.281748072 ] +[ 0.718420452 0.281579548 ] +[ 0.718580081 0.281419919 ] +[ 0.718732366 0.281267634 ] +[ 0.718875103 0.281124897 ] +[ 0.719007379 0.280992621 ] +[ 0.719128311 0.280871689 ] +[ 0.719240036 0.280759964 ] +[ 0.719344060 0.280655940 ] +[ 0.719439782 0.280560218 ] +[ 0.719528992 0.280471008 ] +[ 0.719612133 0.280387867 ] +[ 0.719688758 0.280311242 ] +[ 0.719763055 0.280236945 ] +[ 0.719829534 0.280170466 ] +[ 0.719887637 0.280112363 ] +[ 0.719935485 0.280064515 ] +[ 0.719979772 0.280020228 ] +[ 0.720015697 0.279984303 ] +[ 0.720049743 0.279950257 ] +[ 0.720080664 0.279919336 ] +[ 0.720107210 0.279892790 ] +[ 0.720139453 0.279860547 ] +[ 0.720159913 0.279840087 ] +[ 0.720194496 0.279805504 ] +[ 0.720220565 0.279779435 ] +[ 0.720246628 0.279753372 ] +[ 0.720274648 0.279725352 ] +[ 0.720295986 0.279704014 ] +[ 0.720314066 0.279685934 ] +[ 0.720331320 0.279668680 ] +[ 0.720344208 0.279655792 ] +[ 0.720353784 0.279646216 ] +[ 0.720357558 0.279642442 ] +[ 0.720359094 0.279640906 ] +[ 0.720355061 0.279644939 ] +[ 0.720348260 0.279651740 ] +[ 0.720338168 0.279661832 ] +[ 0.720324196 0.279675804 ] +[ 0.720308116 0.279691884 ] +[ 0.720290227 0.279709773 ] +[ 0.720270222 0.279729778 ] +[ 0.720248421 0.279751579 ] +[ 0.720227492 0.279772508 ] +[ 0.720204570 0.279795430 ] +[ 0.720178311 0.279821689 ] +[ 0.720149652 0.279850348 ] +[ 0.720120804 0.279879196 ] +[ 0.720090495 0.279909505 ] +[ 0.720056208 0.279943792 ] +[ 0.720022081 0.279977919 ] +[ 0.719987201 0.280012799 ] +[ 0.719948582 0.280051418 ] +[ 0.719911292 0.280088708 ] +[ 0.719871459 0.280128541 ] +[ 0.719829140 0.280170860 ] +[ 0.719783417 0.280216583 ] +[ 0.719739197 0.280260803 ] +[ 0.719693711 0.280306289 ] +[ 0.719638329 0.280361671 ] +[ 0.719598034 0.280401966 ] +[ 0.719545663 0.280454337 ] +[ 0.719495406 0.280504594 ] +[ 0.719447448 0.280552552 ] +[ 0.719395908 0.280604092 ] +[ 0.719344852 0.280655148 ] +[ 0.719292825 0.280707175 ] +[ 0.719240018 0.280759982 ] +[ 0.719185836 0.280814164 ] +[ 0.719130966 0.280869034 ] +[ 0.719075781 0.280924219 ] +[ 0.719019807 0.280980193 ] +[ 0.718963287 0.281036713 ] +[ 0.718906120 0.281093880 ] +[ 0.718847535 0.281152465 ] +[ 0.718788626 0.281211374 ] +[ 0.718729541 0.281270459 ] +[ 0.718668971 0.281331029 ] +[ 0.718609481 0.281390519 ] +[ 0.718547975 0.281452025 ] +[ 0.718480178 0.281519822 ] +[ 0.718421852 0.281578148 ] +[ 0.718356821 0.281643179 ] +[ 0.718291800 0.281708200 ] +[ 0.718227638 0.281772362 ] +[ 0.718159943 0.281840057 ] +[ 0.718099156 0.281900844 ] +[ 0.718028223 0.281971777 ] +[ 0.717958869 0.282041131 ] +[ 0.717888162 0.282111838 ] +[ 0.717821438 0.282178562 ] +[ 0.717748411 0.282251589 ] +[ 0.717677204 0.282322796 ] +[ 0.717607181 0.282392819 ] +[ 0.717536196 0.282463804 ] +[ 0.717461679 0.282538321 ] +[ 0.717390548 0.282609452 ] +[ 0.717318693 0.282681307 ] +[ 0.717240227 0.282759773 ] +[ 0.717158930 0.282841070 ] +[ 0.717088781 0.282911219 ] +[ 0.717012876 0.282987124 ] +[ 0.716935708 0.283064292 ] +[ 0.716859345 0.283140655 ] +[ 0.716781370 0.283218630 ] +[ 0.716703115 0.283296885 ] +[ 0.716624385 0.283375615 ] +[ 0.716544005 0.283455995 ] +[ 0.716463556 0.283536444 ] +[ 0.716383755 0.283616245 ] +[ 0.716302880 0.283697120 ] +[ 0.716221302 0.283778698 ] +[ 0.716139191 0.283860809 ] +[ 0.716056553 0.283943447 ] +[ 0.715974356 0.284025644 ] +[ 0.715890052 0.284109948 ] +[ 0.715807103 0.284192897 ] +[ 0.715721697 0.284278303 ] +[ 0.715637064 0.284362936 ] +[ 0.715552741 0.284447259 ] +[ 0.715465718 0.284534282 ] +[ 0.715379551 0.284620449 ] +[ 0.715293185 0.284706815 ] +[ 0.715208148 0.284791852 ] +[ 0.715119951 0.284880049 ] +[ 0.715032686 0.284967314 ] +[ 0.714947976 0.285052024 ] +[ 0.714860277 0.285139723 ] +[ 0.714770250 0.285229750 ] +[ 0.714683113 0.285316887 ] +[ 0.714591653 0.285408347 ] +[ 0.714501176 0.285498824 ] +[ 0.714418167 0.285581833 ] +[ 0.714324848 0.285675152 ] +[ 0.714240163 0.285759837 ] +[ 0.714144651 0.285855349 ] +[ 0.714054145 0.285945855 ] +[ 0.713963148 0.286036852 ] +[ 0.713871916 0.286128084 ] +[ 0.713779910 0.286220090 ] +[ 0.713688016 0.286311984 ] +[ 0.713596400 0.286403600 ] +[ 0.713504208 0.286495792 ] +[ 0.713411115 0.286588885 ] +[ 0.713318513 0.286681487 ] +[ 0.713224486 0.286775514 ] +[ 0.713131059 0.286868941 ] +[ 0.713037960 0.286962040 ] +[ 0.712943354 0.287056646 ] +[ 0.712849167 0.287150833 ] +[ 0.712759333 0.287240667 ] +[ 0.712660849 0.287339151 ] +[ 0.712566537 0.287433463 ] +[ 0.712471326 0.287528674 ] +[ 0.712377440 0.287622560 ] +[ 0.712284134 0.287715866 ] +[ 0.712186932 0.287813068 ] +[ 0.712094774 0.287905226 ] +[ 0.711999343 0.288000657 ] +[ 0.711903243 0.288096757 ] +[ 0.711809292 0.288190708 ] +[ 0.711712593 0.288287407 ] +[ 0.711619387 0.288380613 ] +[ 0.711522604 0.288477396 ] +] def +%% Adobe RGB (1998) D65 +/Adobe{ +/xy2RGB{ +/R 2.0413690 X mul -0.5649464 Y mul add -0.3446944 Z mul add def +/G -0.9692660 X mul 1.8760108 Y mul add 0.0415560 Z mul add def +/B 0.0134474 X mul -0.1183897 Y mul add 1.0154096 Z mul add def + } def +/primaryIlluminants { + /xR 0.6400 def /yR 0.3300 def + /xG 0.2100 def /yG 0.7150 def + /xB 0.1500 def /yB 0.0600 def + D65 + } def +} def +%% CIE RGB +/CIE{ +/xy2RGB{ +/R 2.3706743 X mul -0.9000405 Y mul add -0.4706338 Z mul add def +/G -0.5138850 X mul 1.4253036 Y mul add 0.0885814 Z mul add def +/B 0.0052982 X mul -0.0146949 Y mul add 1.0093968 Z mul add def + } def +/primaryIlluminants { + /xR 0.7355 def /yR 0.2645 def + /xG 0.2658 def /yG 0.7243 def + /xB 0.1669 def /yB 0.0085 def + E_ + } def +} def +%% SMPTE-C RGB +/SMPTE{ +/xy2RGB{ +/R 3.5053960 X mul -1.7394894 Y mul add -0.5439640 Z mul add def +/G -1.0690722 X mul 1.9778245 Y mul add 0.0351722 Z mul add def +/B 0.0563200 X mul -0.1970226 Y mul add 1.0502026 Z mul add def + } def +/primaryIlluminants { + /xR 0.6300 def /yR 0.3400 def + /xG 0.3100 def /yG 0.5950 def + /xB 0.1550 def /yB 0.0700 def + D65 + } def +} def +%% NTSC RGB +/NTSC{ +/xy2RGB{ +/R 1.9099961 X mul -0.5324542 Y mul add -0.2882091 Z mul add def +/G -0.9846663 X mul 1.9991710 Y mul add -0.0283082 Z mul add def +/B 0.0583056 X mul -0.1183781 Y mul add 0.8975535 Z mul add def + } def +/primaryIlluminants { + /xR 0.6700 def /yR 0.3300 def + /xG 0.2100 def /yG 0.7100 def + /xB 0.1400 def /yB 0.0800 def + C_ + } def +} def +%%SRGB +/sRGB{ +/xy2RGB{ +/R 3.2404542 X mul -1.5371385 Y mul add -0.4985314 Z mul add def +/G -0.9692660 X mul 1.8760108 Y mul add 0.0415560 Z mul add def +/B 0.0556434 X mul -0.2040259 Y mul add 1.0572252 Z mul add def + R 0.00304 le {/R R 12.92 mul def}{/R 1.055 R 1 2.4 div exp mul 0.055 sub def} ifelse + G 0.00304 le {/G G 12.92 mul def}{/G 1.055 G 1 2.4 div exp mul 0.055 sub def} ifelse + B 0.00304 le {/B B 12.92 mul def}{/B 1.055 B 1 2.4 div exp mul 0.055 sub def} ifelse + } def +/GAM 1 def +/primaryIlluminants { + /xR 0.6400 def /yR 0.3300 def + /xG 0.3000 def /yG 0.6000 def + /xB 0.1500 def /yB 0.0600 def + D65 + } def +} def +%% Pal/Secam +/Pal-Secam{ +/xy2RGB{ +/R 3.0628971 X mul -1.3931791 Y mul add -0.4757517 Z mul add def +/G -0.9692660 X mul 1.8760108 Y mul add 0.0415560 Z mul add def +/B 0.0678775 X mul -0.2288548 Y mul add 1.0693490 Z mul add def + } def +/primaryIlluminants { + /xR 0.6400 def /yR 0.3300 def + /xG 0.2900 def /yG 0.6000 def + /xB 0.1500 def /yB 0.0600 def + D65 + } def +} def +/ProPhoto{ +/xy2RGB{ +/R 1.3459433 X mul -0.2556075 Y mul add -0.0511118 Z mul add def +/G -0.5445989 X mul 1.5081673 Y mul add 0.0205351 Z mul add def +/B 0.0000000 X mul 0.0000000 Y mul add 1.2118128 Z mul add def + } def +/primaryIlluminants { + /xR 0.7347 def /yR 0.2653 def + /xG 0.1596 def /yG 0.8404 def + /xB 0.0366 def /yB 0.0001 def + D50 + } def +} def +/ColorMatch{ +/xy2RGB{ +/R 2.6422874 X mul -1.2234270 Y mul add -0.3930143 Z mul add def +/G -1.1119763 X mul 2.0590183 Y mul add 0.0159614 Z mul add def +/B 0.0821699 X mul -0.2807254 Y mul add 1.4559877 Z mul add def + } def +/primaryIlluminants { + /xR 0.6300 def /yR 0.3400 def + /xG 0.2950 def /yG 0.6050 def + /xB 0.1500 def /yB 0.0750 def + D50 + } def +} def +% +% WhitePoints +/E_ {/xW 0.33333 def /yW 0.33333 def} def +/D65 {/xW 0.3127 def /yW 0.3290 def} def +/D50 {/xW 0.3457 def /yW 0.3585 def} def +/C_ {/xW 0.3101 def /yW 0.3162 def} def +%%%%% ### max ### +/max { + 2 {2 copy + lt {exch} if + pop } + repeat +} def +/normalisation { + /maxRGB R G B max def + /R R maxRGB div def + /G G maxRGB div def + /B B maxRGB div def + R 0 lt {/R 0 def} if + G 0 lt {/G 0 def} if + B 0 lt {/B 0 def} if + R 1 gt {/R 1 def} if + G 1 gt {/G 1 def} if + B 1 gt {/B 1 def} if +} def +% +/CouleursPrimaires { + gsave + 0.2 setlinewidth + primaryIlluminants + /X xR def /Y yR def /Z 1 X sub Y sub def + xy2RGB normalisation + xR unit yR unit pixelSquareColor + R GAM exp G GAM exp B GAM exp setrgbcolor fill + xR unit yR unit pixelSquareColor + cie-bgcolor + stroke + /X xG def /Y yG def /Z 1 X sub Y sub def + xy2RGB normalisation + xG unit yG unit pixelSquareColor + R GAM exp G GAM exp B GAM exp setrgbcolor fill + xG unit yG unit pixelSquareColor + cie-bgcolor + stroke + /X xB def /Y yB def /Z 1 X sub Y sub def + xy2RGB normalisation + xB unit yB unit pixelSquareColor + R GAM exp G GAM exp B GAM exp setrgbcolor fill + xB unit yB unit pixelSquareColor + cie-bgcolor + stroke + xW unit yW unit pixelSquareColor + cie-bgcolor + stroke + grestore + } def +% +/pixelSquare { +/y0 exch def /x0 exch def +newpath +x0 1 sub y0 1 sub moveto +2 0 rlineto +0 2 rlineto +-2 0 rlineto +closepath +} def + +/pixelSquareColor{ +/y0 exch def /x0 exch def +newpath +x0 1.5 sub y0 1.5 sub moveto +3 0 rlineto +0 3 rlineto +-3 0 rlineto +closepath +} def +% +/pixelDisk { +1 0 360 arc +} def +% +/contourTriangle{ + primaryIlluminants + newpath + xR unit yR unit moveto + xG unit yG unit lineto + xB unit yB unit lineto + closepath + } def +% +/unit {cie-unit mul} bind def +% +/contour {% /TAB exch def +newpath +TAB 0 get aload pop unit exch unit exch moveto +0 1 TAB length 1 sub {/i exch def + TAB i get aload pop unit exch unit exch + lineto } for +closepath +} def +% +/gamutTriangle { +newpath +0 1 285 {/i exch def +0 1 285 {/j exch def + /X i 285 div def + /Y j 285 div def + /Z 1 X sub Y sub def + Z 0 ge { + xy2RGB + normalisation + i j pixelSquare % 1 0 360 arc + R GAM exp G GAM exp B GAM exp setrgbcolor + fill + } if + } for + } for + } + def +/gamut { +newpath +0 1 285 {/i exch def +0 1 285 {/j exch def + /X i 285 div def + /Y j 285 div def + /Z 1 X sub Y sub def + Z 0 ge { + xy2RGB + normalisation + i j pixelSquare % 1 0 360 arc + R GAM exp contrast mul G GAM exp contrast mul B GAM exp contrast mul setrgbcolor + fill + } if + } for + } for + } + def +% +/DrawGamut { + gsave + TAB contour + clip + gamut + contourTriangle + clip + gamutTriangle + grestore + % dessin du contour + contour + 0.5 setlinewidth + cie-textcolor + stroke + % dessin du contour du triangle des couleurs primaires + primaries { + contourTriangle + closepath + cie-textcolor + stroke + } if + % placement des couleurs primaires et du blanc + primaries { CouleursPrimaires } if +} def +% dessin du triangle des couleurs plein +% afficher les longieurs d'onde +% /Helvetica-bold findfont 5 scalefont setfont +% marquage des longueurs d'onde +gsave +% 460 -> 520 nm +/traceGamut { + /contrast exch def /gamma exch def /system exch def /TAB exch def + /GAM {1 gamma div} bind def + system + DrawGamut + gsave + /Helvetica-bold findfont 5 scalefont setfont + cie-textcolor + 100 10 270 { + /i exch def + TAB i get 0 get /x0 exch def + TAB i get 1 get /y0 exch def + TAB i 1 sub get 0 get /x1 exch def + TAB i 1 sub get 1 get /y1 exch def + TAB i 1 add get 0 get /x2 exch def + TAB i 1 add get 1 get /y2 exch def + /dx x2 x1 sub def + /dy y2 y1 sub def + /norme dx dup mul dy dup mul add sqrt def + % norme 0 eq {/norme 1e-9 def} if + /ux dy norme div neg 3 mul def + /uy dx norme div 3 mul def + /normale {x0 unit ux add y0 unit uy add} def + x0 unit y0 unit moveto + normale lineto + stroke + i 160 ge {normale moveto 360 i add cvi 15 string cvs show} + {normale -2 add exch -9 add exch moveto 360 i add cvi 15 string cvs show} ifelse + } for + 20 300 320 { + /i exch def + TAB i get 0 get /x0 exch def + TAB i get 1 get /y0 exch def + TAB i 1 sub get 0 get /x1 exch def + TAB i 1 sub get 1 get /y1 exch def + TAB i 1 add get 0 get /x2 exch def + TAB i 1 add get 1 get /y2 exch def + /dx x2 x1 sub def + /dy y2 y1 sub def + /norme dx dup mul dy dup mul add sqrt def + /ux dy norme div neg 3 mul def + /uy dx norme div 3 mul def + /normale {x0 unit ux add y0 unit uy add} def + x0 unit y0 unit moveto + normale lineto + stroke + i 20 eq { normale -5 add exch -5 add exch moveto 360 i add cvi 15 string cvs show } + { normale moveto 360 i add cvi 15 string cvs show } ifelse + } for + grestore +} def +% +0 0 translate +/SCREEN { + /cadre { + newpath + -0.1 unit -0.1 unit moveto + 0.85 unit -0.1 unit lineto + 0.85 unit 0.9 unit lineto + -0.1 unit 0.9 unit lineto + closepath + } def + /axes { + newpath + -0.05 unit -0.05 unit moveto + 0.825 unit -0.05 unit lineto + 0.825 unit 0.875 unit lineto + -0.05 unit 0.875 unit lineto + closepath + stroke + } def +% tableau noir + gsave + cadre + cie-bgcolor + fill + cadre cie-textcolor stroke + 0.5 setlinewidth + axes + /Helvetica-bold findfont 5 scalefont setfont + 0 0.1 0.9 { + /i exch def + /M1 {i unit -0.05 unit} def + /M2 {i unit -0.06 unit} def + M1 moveto M2 lineto stroke + M2 -5 add exch -3.5 add exch moveto i 15 string cvs show + } for + 0 0.1 0.9 { + /i exch def + /M1 {-0.05 unit i unit } def /M2 {-0.06 unit i unit } def + M1 moveto M2 lineto stroke + M2 -2 add exch -8 add exch moveto i 15 string cvs show + } for + gsave + /Helvetica-bold findfont 8 scalefont setfont + cie-textcolor + -0.08 unit 0.45 unit moveto (y) 90 rotate show + grestore + gsave + /Helvetica-bold findfont 8 scalefont setfont + cie-textcolor + 0.35 unit -0.08 unit moveto (x) show + grestore + grestore +} def +% TAB {colorSpace} gamma contrast traceGamut +end +%%
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pst-cie/latex/pst-cie.sty b/Master/texmf-dist/doc/latex/pst-cie/latex/pst-cie.sty new file mode 100644 index 00000000000..2b7b85f5eb4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-cie/latex/pst-cie.sty @@ -0,0 +1,10 @@ +\RequirePackage{pstricks} +\ProvidesPackage{pst-cie}[2007/09/25 package wrapper for pst-cie.tex (ml,hv)] +\input{pst-cie.tex} +\IfFileExists{pst-cie.pro}{% + \ProvidesFile{pst-cie.pro} + [2016/04/18 v. 1.00, PostScript prologue file (ml,hv)] + \@addtofilelist{pst-cie.pro}}{}% +\ProvidesFile{pst-cie.tex} + [\filedate\space v\fileversion\space `PST-cie' (ml,hv)] +\endinput diff --git a/Master/texmf-dist/doc/latex/pst-cie/tex/pst-cie.tex b/Master/texmf-dist/doc/latex/pst-cie/tex/pst-cie.tex new file mode 100644 index 00000000000..02686fd2565 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pst-cie/tex/pst-cie.tex @@ -0,0 +1,93 @@ +%% +%% This is file `pst-cie.tex', +%% +%% IMPORTANT NOTICE: +%% +%% Package `pst-cie.tex' +%% +%% Herbert Voss <hvoss _at_ tug.org> +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN archives +%% in directory macros/latex/base/lppl.txt. +%% +%% DESCRIPTION: +%% `pst-cie' is a PSTricks package to draw Julia and +%% Mandelbrot sets as well as Sierpinski, ... +%% +\csname PSTcieLoaded\endcsname +\let\PSTcieLoaded\endinput +\ifx\PSTricksLoaded\endinput\else \input pstricks.tex\fi +\ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi +% +\def\fileversion{1.01} +\def\filedate{2016/04/18} +\message{`PST-cie' v\fileversion, \filedate\space (hv)} +% +\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax +\pst@addfams{pst-cie} +\pstheader{pst-cie.pro} + +\define@key[psset]{pst-cie}{gamma}[2.2]{\def\psk@psCIE@GAM{#1 }} +\define@key[psset]{pst-cie}{contrast}[1]{\def\psk@psCIE@contrast{#1 }} +\define@key[psset]{pst-cie}{bgcolor}[black]{\pst@getcolor{#1}\pst@psCIE@bgcolor} +\define@key[psset]{pst-cie}{textcolor}[white]{\pst@getcolor{#1}\pst@psCIE@textcolor} +\psset[pst-cie]{gamma=2.2,contrast=1,bgcolor=black,textcolor=white} +\define@boolkey[psset]{pst-cie}[Pst@]{primaries}[true]{} +\psset[pst-cie]{primaries} % primary illuminants +% systems = Adobe, CIE, SMPTE, sRGB,Pal-Secam, NTSC +% #1=type de reservation (action, object...) associee a une liste qui +% doit forcement etre du type pst@cie@list@#1 +\def\pst@cie@reservednames#1{% +\edef\@tempa{\csname pst@cie@list@#1\endcsname} +\@for \name:=\@tempa\do{% + \expandafter\def\csname pst@cie@#1@\name\endcsname{}% +}} +% système +\def\pst@cie@list@ColorSpace{Adobe,CIE,ColorMatch,NTSC,Pal-Secam,ProPhoto,SMPTE,sRGB} +%% Reservation de macros correspondants aux systemes +\pst@cie@reservednames{ColorSpace} +\define@key[psset]{pst-cie}{ColorSpace}{% + \ifcsname pst@cie@ColorSpace@#1\endcsname + \def\pst@cie@ColorSpace{#1}% + \else + \@pstrickserr{This color space is not authorized, sRGB is + chosen by default}{}% + \fi} +\psset[pst-cie]{ColorSpace=sRGB} + +% datas +\def\pst@cie@list@datas{CIE1964,CIE1931} +%% Reservation de macros correspondants aux datas +\pst@cie@reservednames{datas} +\define@key[psset]{pst-cie}{datas}{% + \ifcsname pst@cie@datas@#1\endcsname + \def\pst@cie@datas{#1}% + \else + \@pstrickserr{This datas is not authorized, CIE1931 is chosen by default}{}% + \fi} +\psset[pst-cie]{datas=CIE1931} + +\def\psChromaticityDiagram{\def\pst@par{}\pst@object{psChromaticityDiagram}} +\def\psChromaticityDiagram@i{% + \begin@SpecialObj +%\pstVerb{\ifPst@primaries /primaries {true} def \else /primaries {false} def \fi}% + \addto@pscode{% + \ifPst@primaries /primaries {true} def \else /primaries {false} def \fi + /gamma \psk@psCIE@GAM def + /contrast \psk@psCIE@contrast def + /ColorSpace (\pst@cie@ColorSpace) def + /datas (\pst@cie@datas) def + }% + \addto@pscode{ + /cie-bgcolor { \pst@usecolor\pst@psCIE@bgcolor } def + /cie-textcolor { \pst@usecolor\pst@psCIE@textcolor } def + /cie-unit \pst@number\psunit 10 mul def + CIEChromaticityDiagramdict begin SCREEN {datas cvx exec} {ColorSpace cvx exec} gamma contrast traceGamut end + }% + \end@SpecialObj +}% + +\catcode`\@=\PstAtCode\relax +\endinput +%% END pst-cie.tex
\ No newline at end of file diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 305f224426b..61614b2f38c 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -460,7 +460,7 @@ my @TLP_working = qw( psgo psizzl pslatex psnfss pspicture pst-2dplot pst-3d pst-3dplot pst-abspos pst-am pst-asr pst-bar pst-barcode pst-bezier pst-blur pst-bspline - pst-calendar pst-circ pst-coil pst-cox pst-dbicons pst-diffraction + pst-calendar pst-cie pst-circ pst-coil pst-cox pst-dbicons pst-diffraction pst-electricfield pst-eps pst-eucl pst-eucl-translation-bg pst-exa pst-fill pst-fit pst-fr3d pst-fractal pst-fun pst-func pst-gantt pst-geo pst-gr3d pst-grad pst-graphicx diff --git a/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc b/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc index 92ed43badd3..7fbb1af49e0 100644 --- a/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc @@ -25,6 +25,7 @@ depend pst-bezier depend pst-blur depend pst-bspline depend pst-calendar +depend pst-cie depend pst-circ depend pst-coil depend pst-cox diff --git a/Master/tlpkg/tlpsrc/pst-cie.tlpsrc b/Master/tlpkg/tlpsrc/pst-cie.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/pst-cie.tlpsrc |