summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-07-27 23:15:42 +0000
committerKarl Berry <karl@freefriends.org>2011-07-27 23:15:42 +0000
commit62263d6664dd3ca8d42bcfc6445e2c189154745b (patch)
tree5d8c5f33a619380e316ca222a26e1807be042e57
parenta5f505fa400aa240740da0daee3c527b2e63934c (diff)
new metapost package mpcolornames (27jul11)
git-svn-id: svn://tug.org/texlive/trunk@23252 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/CHANGES35
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/LICENSE14
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/README20
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/expl-array-index.mp13
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/fig-clash-svg-dvips.mp21
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/mpcolornames.pdfbin0 -> 100188 bytes
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/mpcolornames.tex359
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/proof-mpcolornames.mp28
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-dvipsnam-def.mp74
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-plain-mp.mp10
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-svgnam-def.mp156
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-x11nam-def.mp322
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-xcolor-sty.mp64
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/tab-clash-svg-dvips.tex50
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-dvipsnam-def.tex79
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-plain-mp.tex16
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-svgnam-def.tex162
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-x11nam-def.tex328
-rw-r--r--Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-xcolor-sty.tex34
-rw-r--r--Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-dvipsnam-def.mp148
-rw-r--r--Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-plain-mp.mp22
-rw-r--r--Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-svgnam-def.mp314
-rw-r--r--Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-x11nam-def.mp409
-rw-r--r--Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-xcolor-sty.mp128
-rw-r--r--Master/texmf-dist/metapost/mpcolornames/mpcolornames.mp60
-rw-r--r--Master/texmf-dist/source/metapost/mpcolornames/Makefile76
-rw-r--r--Master/texmf-dist/source/metapost/mpcolornames/spec-dvipsnam-def.awk72
-rw-r--r--Master/texmf-dist/source/metapost/mpcolornames/spec-plain-mp.awk72
-rw-r--r--Master/texmf-dist/source/metapost/mpcolornames/spec-svgnam-def.awk70
-rw-r--r--Master/texmf-dist/source/metapost/mpcolornames/spec-x11nam-def.awk81
-rw-r--r--Master/texmf-dist/source/metapost/mpcolornames/spec-xcolor-sty.awk130
-rw-r--r--Master/texmf-dist/source/metapost/mpcolornames/tab-clash-svg-dvips.awk40
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds1
-rw-r--r--Master/tlpkg/tlpsrc/collection-metapost.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/mpcolornames.tlpsrc0
36 files changed, 3410 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/CHANGES b/Master/texmf-dist/doc/metapost/mpcolornames/CHANGES
new file mode 100644
index 00000000000..7a17a44ea4c
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/CHANGES
@@ -0,0 +1,35 @@
+# Changes
+
+## v0.20 (2011-07-14)
+
+* Change package name: `colordef` => `mpcolornames`.
+
+* First upload to CTAN.
+
+* Color specification files are translated into MetaPost code via
+ scripts.
+
+* Remove 'smart colors'.
+
+* Remove generalization of `background`.
+
+
+## v0.15 (2009-02-10)
+
+* Rename color model contants.
+
+* Show proof tables.
+
+
+## v0.14 (2009-02-05)
+
+* First public preview.
+
+
+
+<!--
+%%% Local Variables:
+%%% coding: utf-8
+%%% mode: markdown
+%%% End:
+-->
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/LICENSE b/Master/texmf-dist/doc/metapost/mpcolornames/LICENSE
new file mode 100644
index 00000000000..7966e59a194
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/LICENSE
@@ -0,0 +1,14 @@
+%% Copyright 2009, 2011 Stephan Hennig
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Stephan Hennig.
+%
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/README b/Master/texmf-dist/doc/metapost/mpcolornames/README
new file mode 100644
index 00000000000..af04bbcde7a
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/README
@@ -0,0 +1,20 @@
+Package: mpcolornames
+Version: v0.20
+Date: 2011-07-14
+License: LPPL
+Maintenance status: maintained
+Current maintainer: Stephan Hennig <stephanhennig@arcor.de>
+
+
+The MetaPost format plain.mp provides only five built-in color names
+(variables), all defined in the RGB model: red, green and blue for the
+primary colors and black and white. The mpcolornames package makes more
+than 500 color names from different color sets in different color models
+available to MetaPost. Color sets include X11, SVG, DVIPS and xcolor
+specifications.
+
+
+Documentation can be found in file mpcolornames.pdf.
+
+
+END.
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/expl-array-index.mp b/Master/texmf-dist/doc/metapost/mpcolornames/expl-array-index.mp
new file mode 100644
index 00000000000..3d8b0429006
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/expl-array-index.mp
@@ -0,0 +1,13 @@
+%%% file expl-array-index.mp
+%%% Copyright 2009, 2011 Stephan Hennig
+%
+% This work may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, either version 1.3 of this license
+% or (at your option) any later version. The latest version of this
+% license is in http://www.latex-project.org/lppl.txt
+%
+input mpcolornames
+for i=1 upto 4:
+ show VioletRed[i];
+endfor
+end
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/fig-clash-svg-dvips.mp b/Master/texmf-dist/doc/metapost/mpcolornames/fig-clash-svg-dvips.mp
new file mode 100644
index 00000000000..ce8b5359ddd
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/fig-clash-svg-dvips.mp
@@ -0,0 +1,21 @@
+%%% file fig-clash-svg-dvips.mp
+%%% Copyright 2009, 2011 Stephan Hennig
+%
+% This work may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, either version 1.3 of this license
+% or (at your option) any later version. The latest version of this
+% license is in http://www.latex-project.org/lppl.txt
+%
+outputtemplate := "%j-%c.mps";
+input mpcolornames
+dvipsnames;
+picture disc; disc := image(fill fullcircle scaled 50);
+beginfig(1);
+ draw disc withcolor Lavender;
+ begingroup
+ svgnames;
+ draw disc shifted (75,0) withcolor Lavender;
+ endgroup;
+ draw disc shifted (150,0) withcolor Lavender;
+endfig;
+end
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/mpcolornames.pdf b/Master/texmf-dist/doc/metapost/mpcolornames/mpcolornames.pdf
new file mode 100644
index 00000000000..96e7efd2dda
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/mpcolornames.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/mpcolornames.tex b/Master/texmf-dist/doc/metapost/mpcolornames/mpcolornames.tex
new file mode 100644
index 00000000000..68fe0fe8f26
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/mpcolornames.tex
@@ -0,0 +1,359 @@
+%%% file mpcolornames.tex
+%%% Copyright 2009, 2011 Stephan Hennig
+%
+% This work may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, either version 1.3 of this license
+% or (at your option) any later version. The latest version of this
+% license is in http://www.latex-project.org/lppl.txt
+%
+\RequirePackage{cmap}
+\documentclass[DIV=9, captions=tableheading]{scrartcl}
+\usepackage[T1]{fontenc}
+\usepackage[charter]{mathdesign}
+\usepackage{berasans}
+\usepackage{textcomp}
+\renewcommand*{\ttdefault}{fvs}
+\setkomafont{disposition}{\normalfont\bfseries}
+\usepackage{caption}
+\captionsetup[table]{position=top}
+\usepackage{amsmath}
+% \usepackage{amssymb}
+\usepackage[x11names]{xcolor}
+\colorlet{framecol}{black!50}
+\usepackage{listings}
+\lstloadlanguages{MetaPost, [LaTeX]TeX}
+\lstdefinelanguage[ext]{MetaPost}[]{MetaPost}{
+ morekeywords={verbatimtex},
+ morekeywords=[2]{blackpart, cmykcolor, colormodel, colorpart,
+ cyanpart, greypart, magentapart, rgbcolor, yellowpart},
+ morekeywords=[3]{withcmykcolor, withgreyscale, withoutcolor,
+ withpostscript, withprescript, withrgbcolor},
+ morekeywords=[5]{defaultcolormodel, mpprocset, outputformat,
+ outputtemplate},
+ morekeywords=[6]{mpversion},
+% morecomment=[s][basicstyle]{\%}{&},
+ deletekeywords=[4]{z}
+}
+\colorlet{mpcolor}{RoyalBlue4}
+\colorlet{latexcolor}{IndianRed4}
+\colorlet{textcolor}{black}
+\lstset{
+ columns=fullflexible, breaklines=true, breakatwhitespace=true,
+ escapechar=|,
+ aboveskip=10pt, belowskip=10pt,
+ frame=tb, framerule=2pt, framesep=6pt,
+ framexleftmargin=10pt, framexrightmargin=10pt,
+ xleftmargin=20pt, xrightmargin=20pt,
+}
+\lstdefinestyle{MP}{
+ language=[ext]MetaPost,
+ basicstyle=\normalfont\ttfamily,%\color{mpcolor},
+ keywordstyle=\bfseries,
+ commentstyle=\itshape,
+ rulecolor=\color{mpcolor!40},
+}
+\lstdefinestyle{LaTeX}{
+ language=[LaTeX]TeX,
+ basicstyle=\normalfont\sffamily,%\color{latexcolor},
+ keywordstyle={}, commentstyle=\itshape,
+ rulecolor=\color{latexcolor!40},
+}
+\lstdefinestyle{text}{
+ basicstyle=\normalfont\sffamily,%\color{textcolor},
+ keywordstyle={}, commentstyle={},
+ rulecolor=\color{textcolor!40},
+}
+\lstdefinestyle{textnof}{
+ style=text,
+ frame=none
+}
+\lstMakeShortInline[style=MP,
+basicstyle=\normalfont\ttfamily\color{mpcolor}, keywordstyle={},
+commentstyle={}]|
+
+\usepackage{array}
+\usepackage{booktabs}
+\usepackage{longtable}
+\usepackage{multicol}
+\usepackage{graphicx}
+\setcounter{topnumber}{2}
+\setcounter{bottomnumber}{0}
+\usepackage[USenglish]{babel}
+\usepackage{hyperref}
+\hypersetup{
+ pdfstartview={XYZ null null null},% Zoom factor is determined by viewer.
+ pdfpagemode=UseNone,
+ colorlinks=true,
+ linkcolor=DarkOrange2,
+ urlcolor=Chocolate4,
+ citecolor=DeepPink2
+}
+
+\newcommand*{\cmd}[1]{\texttt{#1}}
+\newcommand*{\name}[1]{\textsf{\mdseries\emph{#1}}}
+\newcommand*{\pkg}{\name{mpcolornames}}
+\newcommand{\user}[1]{\emph{#1}}
+\newcommand*{\macro}[1]{%
+ \marginpar{%
+ \hspace*{-\marginparsep}%
+ \hspace*{-\textwidth}%
+ \hspace*{-\marginparsep}%
+ \hspace*{-\marginparwidth}%
+ \makebox[\marginparwidth][r]{%
+ \color{mpcolor}%
+ \texttt{#1}%
+ }%
+ }%
+}
+
+\urlstyle{same}% See url.sty.
+\newcommand*{\colorproof}[2][]{%
+ \includegraphics{proof-spec-#1-#2.mps}%
+ \hspace{5pt}%
+ \nolinkurl{#2}%
+}
+
+\typearea{last}
+
+\begin{document}
+\title{The \pkg\ package\thanks{This document describes \pkg\ v0.20,
+ last revised 2011/07/14.}}
+\author{Stephan Hennig\thanks{stephanhennig@arcor.de}}
+\maketitle
+
+\begin{abstract}
+ The MetaPost format \cmd{plain.mp} provides only five built-in color
+ names (variables), all defined in the RGB model: |red|, |green| and
+ |blue| for the primary colors and |black| and |white|
+ (\autoref{tab:spec-plain-mp}). The \pkg\ package makes more than 500
+ color names from different color sets in different color models
+ available to MetaPost. Color sets include X11, SVG, DVIPS and
+ \name{xcolor} specifications.
+\end{abstract}
+
+\setcounter{secnumdepth}{3}
+\setcounter{tocdepth}{3}
+\begin{multicols}{2}
+\tableofcontents
+\end{multicols}
+
+
+\section{Color model constants}
+\label{sec:color-model-constants}
+Before discussing color names, lets have a look at some other constants
+that are provided by the \pkg\ package. MetaPost supports the CMYK and
+grey scale color models since version~1.000. At that time a new
+internal variable |defaultcolormodel| was introduced, whose value
+determines the color model of the black color used for drawing and
+filling in absence of a |withcolor| statement---either explicit or via
+|drawoptions|---and if the output format supports more than one color
+model (cf. section~9 of the MetaPost manual). Note, |defaultcolormodel|
+never triggers a color model conversion.
+
+Do you remember what value of variable |defaultcolormodel| corresponds
+to the CMYK color model? And do you remember what color model
+corresponds to a value of~3? Memoizing these numbers, which you need to
+know only once in a while, isn't easy and in code they are less
+descriptive than names. For that reason, the \pkg\ package declares a
+few internal variables with the values shown in
+\autoref{tab:color-model-constants} that should help switching between
+color models.
+
+\begin{table}
+ \centering
+ \caption{Color model constants.}
+ \label{tab:color-model-constants}
+ \begin{tabular}{lc}
+ internal variable & value\\
+ \addlinespace\toprule\addlinespace
+ |nomodel| & 1\\
+ |greyscalemodel| & 3\\
+ |rgbmodel| & 5\\
+ |cmykmodel| & 7\\
+ \end{tabular}
+\end{table}
+
+
+\section{Color sets}
+\label{sec:colorsets}
+This package provides color names from four color sets in three
+different color models. Color definitions are taken from X11
+(\autoref{tab:spec-x11nam-def}), SVG (\autoref{tab:spec-svgnam-def}) and
+DVIPS (\autoref{tab:spec-dvipsnam-def}) specifications as distributed by
+packages \name{color} and \name{xcolor}. Additionally, there is a small
+set of colors that are defined by package \name{xcolor}
+(\autoref{tab:spec-xcolor-sty}). All color specifications have
+automatically been translated into MetaPost code by scripts.
+
+Colors defined in the X11 and SVG specifications are in the RGB color
+space, i.e., the corresponding variables are of type |rgbcolor|. Colors
+defined in the DVIPS specification are in the CMYK color space, i.e.,
+the corresponding variables are of type |cmykcolor|. The set of colors
+from the \name{xcolor} package are in the CMYK, RGB and grey scale color
+model. The corresponding variable identifiers have been augmented by a
+prefix |cmyk_|, |rgb_| and |grey_| that indicates the color model used.
+Variables are of type |cmykcolor|, |rgbcolor| and |numeric|, resp.
+
+The package can be loaded by writing
+
+\begin{lstlisting}[style=MP]
+input mpcolornames
+\end{lstlisting}
+%
+in the MetaPost source file. After that, all color names defined in the
+above mentioned color specifications are available as (array) variables.
+This is possible, because the sets of color names defined in the color
+specifications are nearly disjoint. Only a few color names are defined
+in more than one color specification.
+
+Array variables can be indexed the usual way. As long as the index is a
+constant number, brackets can be omitted. That way, color names, like
+e.g., |VioletRed1| from X11 specification, can easily be used in
+MetaPost. If the index is a not a constant, brackets are mandatory. As
+an example, the color definitions of colors |VioletRed1| to |VioletRed4|
+can be output like this
+
+\lstinputlisting[style=MP, firstline=9]{expl-array-index.mp}
+%
+and the result would look like
+
+\lstinputlisting[style=text, firstline=9]{expl-array-index.log}
+
+
+\section{SVG and DVIPS color name clash}
+\label{sec:nameclash}
+There is a name clash between forty of the color names defined by the
+SVG and DVIPS specifications. The problem is that both specifications
+define colors in different color models, RGB for the SVG specification
+and CMYK for the DVIPS specification. Additionally, the visual
+impression of most colors with the same name varies quite drastically,
+e.g., for the name |Lavender| (see \autoref{fig:clash-svg-dvips}). The
+set of clashing color names is listed in \autoref{tab:clash-svg-dvips}.
+Here is how name clashes are handled by the \pkg\ package: When loading
+the \pkg\ package, definitions of the SVG specification are processed
+after those of the DVIPS specification and hence, for the clashing
+names, definitions of the SVG specification ``win.'' Note, the variable
+type of all clashing color names is therefore |rgbcolor|.
+
+To control the active set of clashing color definitions two user macro
+are provided: |svgnames|\macro{svgnames} and
+|dvipsnames|\macro{dvipsnames}. Calling any of both macros re-applies
+all SVG or DVIPS color name declarations, overwriting all current
+definitions of the respective set. As an example, DVIPS definitions for
+all clashing color names can be activated in the preamble by loading the
+\pkg\ package as follows:
+
+\begin{lstlisting}[style=MP]
+input mpcolornames
+dvipsnames;
+\end{lstlisting}
+
+One can switch back and forth between SVG and DVIPS definitions by
+repeatedly calling macros |dvipsnames| and |svgnames| within one figure.
+A better alternative, however, is to call these macros within a group,
+since both macros save the set of clashing identifiers w.\,r.\,t. the
+current group before setting the new definitions into effect. As an
+example, \autoref{fig:clash-svg-dvips} has been drawn with the following
+code:
+
+\lstinputlisting[style=MP, firstline=10]{fig-clash-svg-dvips.mp}
+
+\begin{figure}
+ \centering
+ \includegraphics{fig-clash-svg-dvips-1.mps}
+ \caption{Color \texttt{\color{mpcolor}Lavender} with DVIPS and SVG
+ definitions within one figure.}
+ \label{fig:clash-svg-dvips}
+\end{figure}
+
+
+\section{Related packages}
+\label{sec:relatedpkg}
+Package \name{mfpic} distributes a file \cmd{dvipsnam.mp} that contains
+the same color definitions from the DVIPS specification that this
+package provides. For backwards compatibility, package \name{mfpic}
+converts all colors into the RGB color model for MetaPost version that
+don't support the CMYK color model. Be careful when using both packages
+in parallel!
+
+\begin{flushleft}
+ \itshape%
+ Happy \TeX ing!\par
+ Stephan Hennig
+\end{flushleft}
+
+
+\appendix
+\section{Proof tables}
+\label{sec:prooftables}
+The following proof tables are sorted by color model.
+
+
+\clearpage
+% Enlarge width of typearea.
+\areaset{1.2\textwidth}{\textheight}
+\setlength{\columnsep}{3pt}
+
+\subsection{Color names for multiple color models}
+\label{sec:multinames}
+
+%%% names from xcolor.sty
+\newlength{\tabcolwidth}
+\begingroup
+\renewcommand*{\colorproof}[2][]{%
+ \includegraphics{proof-spec-#1-rgb_#2.mps}%
+ \hspace{5pt}%
+ \nolinkurl{rgb_#2}%
+ & \includegraphics{proof-spec-#1-cmyk_#2.mps}%
+ \hspace{5pt}%
+ \nolinkurl{cmyk_#2}%
+ & \includegraphics{proof-spec-#1-grey_#2.mps}%
+ \hspace{5pt}%
+ \nolinkurl{grey_#2}%
+}
+\input{tab-spec-xcolor-sty}
+\endgroup
+
+\clearpage
+\subsection{RGB color names}
+\label{sec:rgbnames}
+
+%%% names from plain.mp
+\input{tab-spec-plain-mp}
+
+%%% names from x11nam.def
+\input{tab-spec-x11nam-def}
+
+%%% names from svgnam.def
+\input{tab-spec-svgnam-def}
+
+\clearpage
+\subsection{CMYK color names}
+\label{sec:cmyknames}
+
+%%% names from dvipsnam.def
+\input{tab-spec-dvipsnam-def}
+
+
+\clearpage
+\section{Color name clashes}
+\label{sec:nameclashes}
+
+% svgnam.def and dvipsnam.def name clash
+\begingroup
+\renewcommand*{\colorproof}[2][]{%
+ \includegraphics{proof-spec-svgnam-def-#2.mps}%
+ \includegraphics{proof-spec-dvipsnam-def-#2.mps}%
+ \hspace{5pt}%
+ \nolinkurl{#2}%
+}
+\input{tab-clash-svg-dvips}
+\endgroup
+
+\end{document}
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-PDF-mode: t
+%%% TeX-master: t
+%%% End:
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/proof-mpcolornames.mp b/Master/texmf-dist/doc/metapost/mpcolornames/proof-mpcolornames.mp
new file mode 100644
index 00000000000..563dcd1d864
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/proof-mpcolornames.mp
@@ -0,0 +1,28 @@
+%%% file proof-mpcolornames.mp
+%%% Copyright 2009,2011 Stephan Hennig
+%
+% This work may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, either version 1.3 of this license
+% or (at your option) any later version. The latest version of this
+% license is in http://www.latex-project.org/lppl.txt
+%
+input mpcolornames
+
+boxh := 7.5bp;
+boxw := 12.5bp;
+penw := .3bp;
+string specname;
+
+def colorbox=
+ unitsquare xscaled boxw yscaled boxh
+enddef;
+
+def proof(suffix col)=
+ outputtemplate := "proof-spec-" & specname & "-" & str col & ".mps";
+ beginfig(1);
+ fill colorbox withcolor col;
+ draw colorbox withpen pencircle scaled penw;
+ endfig;
+enddef;
+
+endinput
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-dvipsnam-def.mp b/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-dvipsnam-def.mp
new file mode 100644
index 00000000000..786f5d0bb71
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-dvipsnam-def.mp
@@ -0,0 +1,74 @@
+%%% file proof-spec-dvipsnam-def.mp
+input proof-mpcolornames
+dvipsnames;
+defaultcolormodel := 7;% CMYK
+specname := "dvipsnam-def";
+proof(GreenYellow);
+proof(Yellow);
+proof(Goldenrod);
+proof(Dandelion);
+proof(Apricot);
+proof(Peach);
+proof(Melon);
+proof(YellowOrange);
+proof(Orange);
+proof(BurntOrange);
+proof(Bittersweet);
+proof(RedOrange);
+proof(Mahogany);
+proof(Maroon);
+proof(BrickRed);
+proof(Red);
+proof(OrangeRed);
+proof(RubineRed);
+proof(WildStrawberry);
+proof(Salmon);
+proof(CarnationPink);
+proof(Magenta);
+proof(VioletRed);
+proof(Rhodamine);
+proof(Mulberry);
+proof(RedViolet);
+proof(Fuchsia);
+proof(Lavender);
+proof(Thistle);
+proof(Orchid);
+proof(DarkOrchid);
+proof(Purple);
+proof(Plum);
+proof(Violet);
+proof(RoyalPurple);
+proof(BlueViolet);
+proof(Periwinkle);
+proof(CadetBlue);
+proof(CornflowerBlue);
+proof(MidnightBlue);
+proof(NavyBlue);
+proof(RoyalBlue);
+proof(Blue);
+proof(Cerulean);
+proof(Cyan);
+proof(ProcessBlue);
+proof(SkyBlue);
+proof(Turquoise);
+proof(TealBlue);
+proof(Aquamarine);
+proof(BlueGreen);
+proof(Emerald);
+proof(JungleGreen);
+proof(SeaGreen);
+proof(Green);
+proof(ForestGreen);
+proof(PineGreen);
+proof(LimeGreen);
+proof(YellowGreen);
+proof(SpringGreen);
+proof(OliveGreen);
+proof(RawSienna);
+proof(Sepia);
+proof(Brown);
+proof(Tan);
+proof(Gray);
+proof(Black);
+proof(White);
+end
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-plain-mp.mp b/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-plain-mp.mp
new file mode 100644
index 00000000000..bed474144ef
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-plain-mp.mp
@@ -0,0 +1,10 @@
+%%% file proof-spec-plain-mp.mp
+input proof-mpcolornames
+defaultcolormodel := 5;% RGB
+specname := "plain-mp";
+proof(black);
+proof(white);
+proof(red);
+proof(green);
+proof(blue);
+end
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-svgnam-def.mp b/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-svgnam-def.mp
new file mode 100644
index 00000000000..6ec2aa87181
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-svgnam-def.mp
@@ -0,0 +1,156 @@
+%%% file proof-spec-svgnam-def.mp
+input proof-mpcolornames
+defaultcolormodel := 5;% RGB
+specname := "svgnam-def";
+proof(AliceBlue);
+proof(AntiqueWhite);
+proof(Aqua);
+proof(Aquamarine);
+proof(Azure);
+proof(Beige);
+proof(Bisque);
+proof(Black);
+proof(BlanchedAlmond);
+proof(Blue);
+proof(BlueViolet);
+proof(Brown);
+proof(BurlyWood);
+proof(CadetBlue);
+proof(Chartreuse);
+proof(Chocolate);
+proof(Coral);
+proof(CornflowerBlue);
+proof(Cornsilk);
+proof(Crimson);
+proof(Cyan);
+proof(DarkBlue);
+proof(DarkCyan);
+proof(DarkGoldenrod);
+proof(DarkGray);
+proof(DarkGreen);
+proof(DarkGrey);
+proof(DarkKhaki);
+proof(DarkMagenta);
+proof(DarkOliveGreen);
+proof(DarkOrange);
+proof(DarkOrchid);
+proof(DarkRed);
+proof(DarkSalmon);
+proof(DarkSeaGreen);
+proof(DarkSlateBlue);
+proof(DarkSlateGray);
+proof(DarkSlateGrey);
+proof(DarkTurquoise);
+proof(DarkViolet);
+proof(DeepPink);
+proof(DeepSkyBlue);
+proof(DimGray);
+proof(DimGrey);
+proof(DodgerBlue);
+proof(FireBrick);
+proof(FloralWhite);
+proof(ForestGreen);
+proof(Fuchsia);
+proof(Gainsboro);
+proof(GhostWhite);
+proof(Gold);
+proof(Goldenrod);
+proof(Gray);
+proof(Green);
+proof(GreenYellow);
+proof(Grey);
+proof(Honeydew);
+proof(HotPink);
+proof(IndianRed);
+proof(Indigo);
+proof(Ivory);
+proof(Khaki);
+proof(Lavender);
+proof(LavenderBlush);
+proof(LawnGreen);
+proof(LemonChiffon);
+proof(LightBlue);
+proof(LightCoral);
+proof(LightCyan);
+proof(LightGoldenrod);
+proof(LightGoldenrodYellow);
+proof(LightGray);
+proof(LightGreen);
+proof(LightGrey);
+proof(LightPink);
+proof(LightSalmon);
+proof(LightSeaGreen);
+proof(LightSkyBlue);
+proof(LightSlateBlue);
+proof(LightSlateGray);
+proof(LightSlateGrey);
+proof(LightSteelBlue);
+proof(LightYellow);
+proof(Lime);
+proof(LimeGreen);
+proof(Linen);
+proof(Magenta);
+proof(Maroon);
+proof(MediumAquamarine);
+proof(MediumBlue);
+proof(MediumOrchid);
+proof(MediumPurple);
+proof(MediumSeaGreen);
+proof(MediumSlateBlue);
+proof(MediumSpringGreen);
+proof(MediumTurquoise);
+proof(MediumVioletRed);
+proof(MidnightBlue);
+proof(MintCream);
+proof(MistyRose);
+proof(Moccasin);
+proof(NavajoWhite);
+proof(Navy);
+proof(NavyBlue);
+proof(OldLace);
+proof(Olive);
+proof(OliveDrab);
+proof(Orange);
+proof(OrangeRed);
+proof(Orchid);
+proof(PaleGoldenrod);
+proof(PaleGreen);
+proof(PaleTurquoise);
+proof(PaleVioletRed);
+proof(PapayaWhip);
+proof(PeachPuff);
+proof(Peru);
+proof(Pink);
+proof(Plum);
+proof(PowderBlue);
+proof(Purple);
+proof(Red);
+proof(RosyBrown);
+proof(RoyalBlue);
+proof(SaddleBrown);
+proof(Salmon);
+proof(SandyBrown);
+proof(SeaGreen);
+proof(Seashell);
+proof(Sienna);
+proof(Silver);
+proof(SkyBlue);
+proof(SlateBlue);
+proof(SlateGray);
+proof(SlateGrey);
+proof(Snow);
+proof(SpringGreen);
+proof(SteelBlue);
+proof(Tan);
+proof(Teal);
+proof(Thistle);
+proof(Tomato);
+proof(Turquoise);
+proof(Violet);
+proof(VioletRed);
+proof(Wheat);
+proof(White);
+proof(WhiteSmoke);
+proof(Yellow);
+proof(YellowGreen);
+end
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-x11nam-def.mp b/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-x11nam-def.mp
new file mode 100644
index 00000000000..16ff4b70a8a
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-x11nam-def.mp
@@ -0,0 +1,322 @@
+%%% file proof-spec-x11nam-def.mp
+input proof-mpcolornames
+defaultcolormodel := 5;% RGB
+specname := "x11nam-def";
+proof(AntiqueWhite1);
+proof(AntiqueWhite2);
+proof(AntiqueWhite3);
+proof(AntiqueWhite4);
+proof(Aquamarine1);
+proof(Aquamarine2);
+proof(Aquamarine3);
+proof(Aquamarine4);
+proof(Azure1);
+proof(Azure2);
+proof(Azure3);
+proof(Azure4);
+proof(Bisque1);
+proof(Bisque2);
+proof(Bisque3);
+proof(Bisque4);
+proof(Blue1);
+proof(Blue2);
+proof(Blue3);
+proof(Blue4);
+proof(Brown1);
+proof(Brown2);
+proof(Brown3);
+proof(Brown4);
+proof(Burlywood1);
+proof(Burlywood2);
+proof(Burlywood3);
+proof(Burlywood4);
+proof(CadetBlue1);
+proof(CadetBlue2);
+proof(CadetBlue3);
+proof(CadetBlue4);
+proof(Chartreuse1);
+proof(Chartreuse2);
+proof(Chartreuse3);
+proof(Chartreuse4);
+proof(Chocolate1);
+proof(Chocolate2);
+proof(Chocolate3);
+proof(Chocolate4);
+proof(Coral1);
+proof(Coral2);
+proof(Coral3);
+proof(Coral4);
+proof(Cornsilk1);
+proof(Cornsilk2);
+proof(Cornsilk3);
+proof(Cornsilk4);
+proof(Cyan1);
+proof(Cyan2);
+proof(Cyan3);
+proof(Cyan4);
+proof(DarkGoldenrod1);
+proof(DarkGoldenrod2);
+proof(DarkGoldenrod3);
+proof(DarkGoldenrod4);
+proof(DarkOliveGreen1);
+proof(DarkOliveGreen2);
+proof(DarkOliveGreen3);
+proof(DarkOliveGreen4);
+proof(DarkOrange1);
+proof(DarkOrange2);
+proof(DarkOrange3);
+proof(DarkOrange4);
+proof(DarkOrchid1);
+proof(DarkOrchid2);
+proof(DarkOrchid3);
+proof(DarkOrchid4);
+proof(DarkSeaGreen1);
+proof(DarkSeaGreen2);
+proof(DarkSeaGreen3);
+proof(DarkSeaGreen4);
+proof(DarkSlateGray1);
+proof(DarkSlateGray2);
+proof(DarkSlateGray3);
+proof(DarkSlateGray4);
+proof(DeepPink1);
+proof(DeepPink2);
+proof(DeepPink3);
+proof(DeepPink4);
+proof(DeepSkyBlue1);
+proof(DeepSkyBlue2);
+proof(DeepSkyBlue3);
+proof(DeepSkyBlue4);
+proof(DodgerBlue1);
+proof(DodgerBlue2);
+proof(DodgerBlue3);
+proof(DodgerBlue4);
+proof(Firebrick1);
+proof(Firebrick2);
+proof(Firebrick3);
+proof(Firebrick4);
+proof(Gold1);
+proof(Gold2);
+proof(Gold3);
+proof(Gold4);
+proof(Goldenrod1);
+proof(Goldenrod2);
+proof(Goldenrod3);
+proof(Goldenrod4);
+proof(Green1);
+proof(Green2);
+proof(Green3);
+proof(Green4);
+proof(Honeydew1);
+proof(Honeydew2);
+proof(Honeydew3);
+proof(Honeydew4);
+proof(HotPink1);
+proof(HotPink2);
+proof(HotPink3);
+proof(HotPink4);
+proof(IndianRed1);
+proof(IndianRed2);
+proof(IndianRed3);
+proof(IndianRed4);
+proof(Ivory1);
+proof(Ivory2);
+proof(Ivory3);
+proof(Ivory4);
+proof(Khaki1);
+proof(Khaki2);
+proof(Khaki3);
+proof(Khaki4);
+proof(LavenderBlush1);
+proof(LavenderBlush2);
+proof(LavenderBlush3);
+proof(LavenderBlush4);
+proof(LemonChiffon1);
+proof(LemonChiffon2);
+proof(LemonChiffon3);
+proof(LemonChiffon4);
+proof(LightBlue1);
+proof(LightBlue2);
+proof(LightBlue3);
+proof(LightBlue4);
+proof(LightCyan1);
+proof(LightCyan2);
+proof(LightCyan3);
+proof(LightCyan4);
+proof(LightGoldenrod1);
+proof(LightGoldenrod2);
+proof(LightGoldenrod3);
+proof(LightGoldenrod4);
+proof(LightPink1);
+proof(LightPink2);
+proof(LightPink3);
+proof(LightPink4);
+proof(LightSalmon1);
+proof(LightSalmon2);
+proof(LightSalmon3);
+proof(LightSalmon4);
+proof(LightSkyBlue1);
+proof(LightSkyBlue2);
+proof(LightSkyBlue3);
+proof(LightSkyBlue4);
+proof(LightSteelBlue1);
+proof(LightSteelBlue2);
+proof(LightSteelBlue3);
+proof(LightSteelBlue4);
+proof(LightYellow1);
+proof(LightYellow2);
+proof(LightYellow3);
+proof(LightYellow4);
+proof(Magenta1);
+proof(Magenta2);
+proof(Magenta3);
+proof(Magenta4);
+proof(Maroon1);
+proof(Maroon2);
+proof(Maroon3);
+proof(Maroon4);
+proof(MediumOrchid1);
+proof(MediumOrchid2);
+proof(MediumOrchid3);
+proof(MediumOrchid4);
+proof(MediumPurple1);
+proof(MediumPurple2);
+proof(MediumPurple3);
+proof(MediumPurple4);
+proof(MistyRose1);
+proof(MistyRose2);
+proof(MistyRose3);
+proof(MistyRose4);
+proof(NavajoWhite1);
+proof(NavajoWhite2);
+proof(NavajoWhite3);
+proof(NavajoWhite4);
+proof(OliveDrab1);
+proof(OliveDrab2);
+proof(OliveDrab3);
+proof(OliveDrab4);
+proof(Orange1);
+proof(Orange2);
+proof(Orange3);
+proof(Orange4);
+proof(OrangeRed1);
+proof(OrangeRed2);
+proof(OrangeRed3);
+proof(OrangeRed4);
+proof(Orchid1);
+proof(Orchid2);
+proof(Orchid3);
+proof(Orchid4);
+proof(PaleGreen1);
+proof(PaleGreen2);
+proof(PaleGreen3);
+proof(PaleGreen4);
+proof(PaleTurquoise1);
+proof(PaleTurquoise2);
+proof(PaleTurquoise3);
+proof(PaleTurquoise4);
+proof(PaleVioletRed1);
+proof(PaleVioletRed2);
+proof(PaleVioletRed3);
+proof(PaleVioletRed4);
+proof(PeachPuff1);
+proof(PeachPuff2);
+proof(PeachPuff3);
+proof(PeachPuff4);
+proof(Pink1);
+proof(Pink2);
+proof(Pink3);
+proof(Pink4);
+proof(Plum1);
+proof(Plum2);
+proof(Plum3);
+proof(Plum4);
+proof(Purple1);
+proof(Purple2);
+proof(Purple3);
+proof(Purple4);
+proof(Red1);
+proof(Red2);
+proof(Red3);
+proof(Red4);
+proof(RosyBrown1);
+proof(RosyBrown2);
+proof(RosyBrown3);
+proof(RosyBrown4);
+proof(RoyalBlue1);
+proof(RoyalBlue2);
+proof(RoyalBlue3);
+proof(RoyalBlue4);
+proof(Salmon1);
+proof(Salmon2);
+proof(Salmon3);
+proof(Salmon4);
+proof(SeaGreen1);
+proof(SeaGreen2);
+proof(SeaGreen3);
+proof(SeaGreen4);
+proof(Seashell1);
+proof(Seashell2);
+proof(Seashell3);
+proof(Seashell4);
+proof(Sienna1);
+proof(Sienna2);
+proof(Sienna3);
+proof(Sienna4);
+proof(SkyBlue1);
+proof(SkyBlue2);
+proof(SkyBlue3);
+proof(SkyBlue4);
+proof(SlateBlue1);
+proof(SlateBlue2);
+proof(SlateBlue3);
+proof(SlateBlue4);
+proof(SlateGray1);
+proof(SlateGray2);
+proof(SlateGray3);
+proof(SlateGray4);
+proof(Snow1);
+proof(Snow2);
+proof(Snow3);
+proof(Snow4);
+proof(SpringGreen1);
+proof(SpringGreen2);
+proof(SpringGreen3);
+proof(SpringGreen4);
+proof(SteelBlue1);
+proof(SteelBlue2);
+proof(SteelBlue3);
+proof(SteelBlue4);
+proof(Tan1);
+proof(Tan2);
+proof(Tan3);
+proof(Tan4);
+proof(Thistle1);
+proof(Thistle2);
+proof(Thistle3);
+proof(Thistle4);
+proof(Tomato1);
+proof(Tomato2);
+proof(Tomato3);
+proof(Tomato4);
+proof(Turquoise1);
+proof(Turquoise2);
+proof(Turquoise3);
+proof(Turquoise4);
+proof(VioletRed1);
+proof(VioletRed2);
+proof(VioletRed3);
+proof(VioletRed4);
+proof(Wheat1);
+proof(Wheat2);
+proof(Wheat3);
+proof(Wheat4);
+proof(Yellow1);
+proof(Yellow2);
+proof(Yellow3);
+proof(Yellow4);
+proof(Gray0);
+proof(Green0);
+proof(Grey0);
+proof(Maroon0);
+proof(Purple0);
+end
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-xcolor-sty.mp b/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-xcolor-sty.mp
new file mode 100644
index 00000000000..0d002c2e9ec
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/proof-spec-xcolor-sty.mp
@@ -0,0 +1,64 @@
+%%% file proof-spec-xcolor-sty.mp
+input proof-mpcolornames
+specname := "xcolor-sty";
+defaultcolormodel := 5;% RGB
+proof(rgb_red);
+proof(rgb_green);
+proof(rgb_blue);
+proof(rgb_brown);
+proof(rgb_lime);
+proof(rgb_orange);
+proof(rgb_pink);
+proof(rgb_purple);
+proof(rgb_teal);
+proof(rgb_violet);
+proof(rgb_cyan);
+proof(rgb_magenta);
+proof(rgb_yellow);
+proof(rgb_olive);
+proof(rgb_black);
+proof(rgb_darkgray);
+proof(rgb_gray);
+proof(rgb_lightgray);
+proof(rgb_white);
+defaultcolormodel := 7;% CMYK
+proof(cmyk_red);
+proof(cmyk_green);
+proof(cmyk_blue);
+proof(cmyk_brown);
+proof(cmyk_lime);
+proof(cmyk_orange);
+proof(cmyk_pink);
+proof(cmyk_purple);
+proof(cmyk_teal);
+proof(cmyk_violet);
+proof(cmyk_cyan);
+proof(cmyk_magenta);
+proof(cmyk_yellow);
+proof(cmyk_olive);
+proof(cmyk_black);
+proof(cmyk_darkgray);
+proof(cmyk_gray);
+proof(cmyk_lightgray);
+proof(cmyk_white);
+defaultcolormodel := 3;% grey scale
+proof(grey_red);
+proof(grey_green);
+proof(grey_blue);
+proof(grey_brown);
+proof(grey_lime);
+proof(grey_orange);
+proof(grey_pink);
+proof(grey_purple);
+proof(grey_teal);
+proof(grey_violet);
+proof(grey_cyan);
+proof(grey_magenta);
+proof(grey_yellow);
+proof(grey_olive);
+proof(grey_black);
+proof(grey_darkgray);
+proof(grey_gray);
+proof(grey_lightgray);
+proof(grey_white);
+end
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/tab-clash-svg-dvips.tex b/Master/texmf-dist/doc/metapost/mpcolornames/tab-clash-svg-dvips.tex
new file mode 100644
index 00000000000..89234e606c9
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/tab-clash-svg-dvips.tex
@@ -0,0 +1,50 @@
+%%% file tab-clash-svg-dvips.tex
+\vspace{\floatsep}
+\begin{multicols}{4}[\noindent\parbox{\textwidth}{%
+ \captionof{table}{Color names clashing in SVG (left) and DVIPS (right) specifications.}%
+ \label{tab:clash-svg-dvips}%
+ }]
+ \raggedcolumns
+ \setlength{\parindent}{0pt}
+ \ttfamily\small\color{mpcolor}
+\colorproof{Aquamarine}\par
+\colorproof{Black}\par
+\colorproof{Blue}\par
+\colorproof{BlueViolet}\par
+\colorproof{Brown}\par
+\colorproof{CadetBlue}\par
+\colorproof{CornflowerBlue}\par
+\colorproof{Cyan}\par
+\colorproof{DarkOrchid}\par
+\colorproof{ForestGreen}\par
+\colorproof{Fuchsia}\par
+\colorproof{Goldenrod}\par
+\colorproof{Gray}\par
+\colorproof{Green}\par
+\colorproof{GreenYellow}\par
+\colorproof{Lavender}\par
+\colorproof{LimeGreen}\par
+\colorproof{Magenta}\par
+\colorproof{Maroon}\par
+\colorproof{MidnightBlue}\par
+\colorproof{NavyBlue}\par
+\colorproof{Orange}\par
+\colorproof{OrangeRed}\par
+\colorproof{Orchid}\par
+\colorproof{Plum}\par
+\colorproof{Purple}\par
+\colorproof{Red}\par
+\colorproof{RoyalBlue}\par
+\colorproof{Salmon}\par
+\colorproof{SeaGreen}\par
+\colorproof{SkyBlue}\par
+\colorproof{SpringGreen}\par
+\colorproof{Tan}\par
+\colorproof{Thistle}\par
+\colorproof{Turquoise}\par
+\colorproof{Violet}\par
+\colorproof{VioletRed}\par
+\colorproof{White}\par
+\colorproof{Yellow}\par
+\colorproof{YellowGreen}\par
+\end{multicols}
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-dvipsnam-def.tex b/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-dvipsnam-def.tex
new file mode 100644
index 00000000000..e1d4ab93af7
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-dvipsnam-def.tex
@@ -0,0 +1,79 @@
+%%% file tab-spec-dvipsnam-def.tex
+\vspace{\floatsep}
+\begin{multicols}{4}[\noindent\parbox{\textwidth}{%
+ \captionof{table}{CMYK colors from DVIPS specification.}%
+ \label{tab:spec-dvipsnam-def}%
+ \footnotesize Taken from file \texttt{dvipsnam.def} v3.0i as distributed by \LaTeX\ package \name{color} (68 colors).
+ }]
+ \raggedcolumns
+ \setlength{\parindent}{0pt}
+ \ttfamily\small\color{mpcolor}
+\colorproof[dvipsnam-def]{GreenYellow}\par
+\colorproof[dvipsnam-def]{Yellow}\par
+\colorproof[dvipsnam-def]{Goldenrod}\par
+\colorproof[dvipsnam-def]{Dandelion}\par
+\colorproof[dvipsnam-def]{Apricot}\par
+\colorproof[dvipsnam-def]{Peach}\par
+\colorproof[dvipsnam-def]{Melon}\par
+\colorproof[dvipsnam-def]{YellowOrange}\par
+\colorproof[dvipsnam-def]{Orange}\par
+\colorproof[dvipsnam-def]{BurntOrange}\par
+\colorproof[dvipsnam-def]{Bittersweet}\par
+\colorproof[dvipsnam-def]{RedOrange}\par
+\colorproof[dvipsnam-def]{Mahogany}\par
+\colorproof[dvipsnam-def]{Maroon}\par
+\colorproof[dvipsnam-def]{BrickRed}\par
+\colorproof[dvipsnam-def]{Red}\par
+\colorproof[dvipsnam-def]{OrangeRed}\par
+\colorproof[dvipsnam-def]{RubineRed}\par
+\colorproof[dvipsnam-def]{WildStrawberry}\par
+\colorproof[dvipsnam-def]{Salmon}\par
+\colorproof[dvipsnam-def]{CarnationPink}\par
+\colorproof[dvipsnam-def]{Magenta}\par
+\colorproof[dvipsnam-def]{VioletRed}\par
+\colorproof[dvipsnam-def]{Rhodamine}\par
+\colorproof[dvipsnam-def]{Mulberry}\par
+\colorproof[dvipsnam-def]{RedViolet}\par
+\colorproof[dvipsnam-def]{Fuchsia}\par
+\colorproof[dvipsnam-def]{Lavender}\par
+\colorproof[dvipsnam-def]{Thistle}\par
+\colorproof[dvipsnam-def]{Orchid}\par
+\colorproof[dvipsnam-def]{DarkOrchid}\par
+\colorproof[dvipsnam-def]{Purple}\par
+\colorproof[dvipsnam-def]{Plum}\par
+\colorproof[dvipsnam-def]{Violet}\par
+\colorproof[dvipsnam-def]{RoyalPurple}\par
+\colorproof[dvipsnam-def]{BlueViolet}\par
+\colorproof[dvipsnam-def]{Periwinkle}\par
+\colorproof[dvipsnam-def]{CadetBlue}\par
+\colorproof[dvipsnam-def]{CornflowerBlue}\par
+\colorproof[dvipsnam-def]{MidnightBlue}\par
+\colorproof[dvipsnam-def]{NavyBlue}\par
+\colorproof[dvipsnam-def]{RoyalBlue}\par
+\colorproof[dvipsnam-def]{Blue}\par
+\colorproof[dvipsnam-def]{Cerulean}\par
+\colorproof[dvipsnam-def]{Cyan}\par
+\colorproof[dvipsnam-def]{ProcessBlue}\par
+\colorproof[dvipsnam-def]{SkyBlue}\par
+\colorproof[dvipsnam-def]{Turquoise}\par
+\colorproof[dvipsnam-def]{TealBlue}\par
+\colorproof[dvipsnam-def]{Aquamarine}\par
+\colorproof[dvipsnam-def]{BlueGreen}\par
+\colorproof[dvipsnam-def]{Emerald}\par
+\colorproof[dvipsnam-def]{JungleGreen}\par
+\colorproof[dvipsnam-def]{SeaGreen}\par
+\colorproof[dvipsnam-def]{Green}\par
+\colorproof[dvipsnam-def]{ForestGreen}\par
+\colorproof[dvipsnam-def]{PineGreen}\par
+\colorproof[dvipsnam-def]{LimeGreen}\par
+\colorproof[dvipsnam-def]{YellowGreen}\par
+\colorproof[dvipsnam-def]{SpringGreen}\par
+\colorproof[dvipsnam-def]{OliveGreen}\par
+\colorproof[dvipsnam-def]{RawSienna}\par
+\colorproof[dvipsnam-def]{Sepia}\par
+\colorproof[dvipsnam-def]{Brown}\par
+\colorproof[dvipsnam-def]{Tan}\par
+\colorproof[dvipsnam-def]{Gray}\par
+\colorproof[dvipsnam-def]{Black}\par
+\colorproof[dvipsnam-def]{White}\par
+\end{multicols}
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-plain-mp.tex b/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-plain-mp.tex
new file mode 100644
index 00000000000..9b60f2f4826
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-plain-mp.tex
@@ -0,0 +1,16 @@
+%%% file tab-spec-plain-mp.tex
+\vspace{\floatsep}
+\begin{multicols}{5}[\noindent\parbox{\textwidth}{%
+ \captionof{table}{Default RGB colors in MetaPost.}%
+ \label{tab:spec-plain-mp}%
+ \footnotesize Taken from file \texttt{plain.mp} 1.004 as distributed by MetaPost (5 colors).
+ }]
+ \raggedcolumns
+ \setlength{\parindent}{0pt}
+ \ttfamily\small\color{mpcolor}
+\colorproof[plain-mp]{black}\par
+\colorproof[plain-mp]{white}\par
+\colorproof[plain-mp]{red}\par
+\colorproof[plain-mp]{green}\par
+\colorproof[plain-mp]{blue}\par
+\end{multicols}
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-svgnam-def.tex b/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-svgnam-def.tex
new file mode 100644
index 00000000000..a1a81a8356f
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-svgnam-def.tex
@@ -0,0 +1,162 @@
+%%% file tab-spec-svgnam-def.tex
+\vspace{\floatsep}
+\begin{multicols}{4}[\noindent\parbox{\textwidth}{%
+ \captionof{table}{RGB colors from SVG specification.}%
+ \label{tab:spec-svgnam-def}%
+ \footnotesize Taken from file \texttt{svgnam.def} v2.11 as distributed by \LaTeX\ package \name{xcolor} (151 colors).
+ }]
+ \raggedcolumns
+ \setlength{\parindent}{0pt}
+ \ttfamily\small\color{mpcolor}
+\colorproof[svgnam-def]{AliceBlue}\par
+\colorproof[svgnam-def]{AntiqueWhite}\par
+\colorproof[svgnam-def]{Aqua}\par
+\colorproof[svgnam-def]{Aquamarine}\par
+\colorproof[svgnam-def]{Azure}\par
+\colorproof[svgnam-def]{Beige}\par
+\colorproof[svgnam-def]{Bisque}\par
+\colorproof[svgnam-def]{Black}\par
+\colorproof[svgnam-def]{BlanchedAlmond}\par
+\colorproof[svgnam-def]{Blue}\par
+\colorproof[svgnam-def]{BlueViolet}\par
+\colorproof[svgnam-def]{Brown}\par
+\colorproof[svgnam-def]{BurlyWood}\par
+\colorproof[svgnam-def]{CadetBlue}\par
+\colorproof[svgnam-def]{Chartreuse}\par
+\colorproof[svgnam-def]{Chocolate}\par
+\colorproof[svgnam-def]{Coral}\par
+\colorproof[svgnam-def]{CornflowerBlue}\par
+\colorproof[svgnam-def]{Cornsilk}\par
+\colorproof[svgnam-def]{Crimson}\par
+\colorproof[svgnam-def]{Cyan}\par
+\colorproof[svgnam-def]{DarkBlue}\par
+\colorproof[svgnam-def]{DarkCyan}\par
+\colorproof[svgnam-def]{DarkGoldenrod}\par
+\colorproof[svgnam-def]{DarkGray}\par
+\colorproof[svgnam-def]{DarkGreen}\par
+\colorproof[svgnam-def]{DarkGrey}\par
+\colorproof[svgnam-def]{DarkKhaki}\par
+\colorproof[svgnam-def]{DarkMagenta}\par
+\colorproof[svgnam-def]{DarkOliveGreen}\par
+\colorproof[svgnam-def]{DarkOrange}\par
+\colorproof[svgnam-def]{DarkOrchid}\par
+\colorproof[svgnam-def]{DarkRed}\par
+\colorproof[svgnam-def]{DarkSalmon}\par
+\colorproof[svgnam-def]{DarkSeaGreen}\par
+\colorproof[svgnam-def]{DarkSlateBlue}\par
+\colorproof[svgnam-def]{DarkSlateGray}\par
+\colorproof[svgnam-def]{DarkSlateGrey}\par
+\colorproof[svgnam-def]{DarkTurquoise}\par
+\colorproof[svgnam-def]{DarkViolet}\par
+\colorproof[svgnam-def]{DeepPink}\par
+\colorproof[svgnam-def]{DeepSkyBlue}\par
+\colorproof[svgnam-def]{DimGray}\par
+\colorproof[svgnam-def]{DimGrey}\par
+\colorproof[svgnam-def]{DodgerBlue}\par
+\colorproof[svgnam-def]{FireBrick}\par
+\colorproof[svgnam-def]{FloralWhite}\par
+\colorproof[svgnam-def]{ForestGreen}\par
+\colorproof[svgnam-def]{Fuchsia}\par
+\colorproof[svgnam-def]{Gainsboro}\par
+\colorproof[svgnam-def]{GhostWhite}\par
+\colorproof[svgnam-def]{Gold}\par
+\colorproof[svgnam-def]{Goldenrod}\par
+\colorproof[svgnam-def]{Gray}\par
+\colorproof[svgnam-def]{Green}\par
+\colorproof[svgnam-def]{GreenYellow}\par
+\colorproof[svgnam-def]{Grey}\par
+\colorproof[svgnam-def]{Honeydew}\par
+\colorproof[svgnam-def]{HotPink}\par
+\colorproof[svgnam-def]{IndianRed}\par
+\colorproof[svgnam-def]{Indigo}\par
+\colorproof[svgnam-def]{Ivory}\par
+\colorproof[svgnam-def]{Khaki}\par
+\colorproof[svgnam-def]{Lavender}\par
+\colorproof[svgnam-def]{LavenderBlush}\par
+\colorproof[svgnam-def]{LawnGreen}\par
+\colorproof[svgnam-def]{LemonChiffon}\par
+\colorproof[svgnam-def]{LightBlue}\par
+\colorproof[svgnam-def]{LightCoral}\par
+\colorproof[svgnam-def]{LightCyan}\par
+\colorproof[svgnam-def]{LightGoldenrod}\par
+\colorproof[svgnam-def]{LightGoldenrodYellow}\par
+\colorproof[svgnam-def]{LightGray}\par
+\colorproof[svgnam-def]{LightGreen}\par
+\colorproof[svgnam-def]{LightGrey}\par
+\colorproof[svgnam-def]{LightPink}\par
+\colorproof[svgnam-def]{LightSalmon}\par
+\colorproof[svgnam-def]{LightSeaGreen}\par
+\colorproof[svgnam-def]{LightSkyBlue}\par
+\colorproof[svgnam-def]{LightSlateBlue}\par
+\colorproof[svgnam-def]{LightSlateGray}\par
+\colorproof[svgnam-def]{LightSlateGrey}\par
+\colorproof[svgnam-def]{LightSteelBlue}\par
+\colorproof[svgnam-def]{LightYellow}\par
+\colorproof[svgnam-def]{Lime}\par
+\colorproof[svgnam-def]{LimeGreen}\par
+\colorproof[svgnam-def]{Linen}\par
+\colorproof[svgnam-def]{Magenta}\par
+\colorproof[svgnam-def]{Maroon}\par
+\colorproof[svgnam-def]{MediumAquamarine}\par
+\colorproof[svgnam-def]{MediumBlue}\par
+\colorproof[svgnam-def]{MediumOrchid}\par
+\colorproof[svgnam-def]{MediumPurple}\par
+\colorproof[svgnam-def]{MediumSeaGreen}\par
+\colorproof[svgnam-def]{MediumSlateBlue}\par
+\colorproof[svgnam-def]{MediumSpringGreen}\par
+\colorproof[svgnam-def]{MediumTurquoise}\par
+\colorproof[svgnam-def]{MediumVioletRed}\par
+\colorproof[svgnam-def]{MidnightBlue}\par
+\colorproof[svgnam-def]{MintCream}\par
+\colorproof[svgnam-def]{MistyRose}\par
+\colorproof[svgnam-def]{Moccasin}\par
+\colorproof[svgnam-def]{NavajoWhite}\par
+\colorproof[svgnam-def]{Navy}\par
+\colorproof[svgnam-def]{NavyBlue}\par
+\colorproof[svgnam-def]{OldLace}\par
+\colorproof[svgnam-def]{Olive}\par
+\colorproof[svgnam-def]{OliveDrab}\par
+\colorproof[svgnam-def]{Orange}\par
+\colorproof[svgnam-def]{OrangeRed}\par
+\colorproof[svgnam-def]{Orchid}\par
+\colorproof[svgnam-def]{PaleGoldenrod}\par
+\colorproof[svgnam-def]{PaleGreen}\par
+\colorproof[svgnam-def]{PaleTurquoise}\par
+\colorproof[svgnam-def]{PaleVioletRed}\par
+\colorproof[svgnam-def]{PapayaWhip}\par
+\colorproof[svgnam-def]{PeachPuff}\par
+\colorproof[svgnam-def]{Peru}\par
+\colorproof[svgnam-def]{Pink}\par
+\colorproof[svgnam-def]{Plum}\par
+\colorproof[svgnam-def]{PowderBlue}\par
+\colorproof[svgnam-def]{Purple}\par
+\colorproof[svgnam-def]{Red}\par
+\colorproof[svgnam-def]{RosyBrown}\par
+\colorproof[svgnam-def]{RoyalBlue}\par
+\colorproof[svgnam-def]{SaddleBrown}\par
+\colorproof[svgnam-def]{Salmon}\par
+\colorproof[svgnam-def]{SandyBrown}\par
+\colorproof[svgnam-def]{SeaGreen}\par
+\colorproof[svgnam-def]{Seashell}\par
+\colorproof[svgnam-def]{Sienna}\par
+\colorproof[svgnam-def]{Silver}\par
+\colorproof[svgnam-def]{SkyBlue}\par
+\colorproof[svgnam-def]{SlateBlue}\par
+\colorproof[svgnam-def]{SlateGray}\par
+\colorproof[svgnam-def]{SlateGrey}\par
+\colorproof[svgnam-def]{Snow}\par
+\colorproof[svgnam-def]{SpringGreen}\par
+\colorproof[svgnam-def]{SteelBlue}\par
+\colorproof[svgnam-def]{Tan}\par
+\colorproof[svgnam-def]{Teal}\par
+\colorproof[svgnam-def]{Thistle}\par
+\colorproof[svgnam-def]{Tomato}\par
+\colorproof[svgnam-def]{Turquoise}\par
+\colorproof[svgnam-def]{Violet}\par
+\colorproof[svgnam-def]{VioletRed}\par
+\colorproof[svgnam-def]{Wheat}\par
+\colorproof[svgnam-def]{White}\par
+\colorproof[svgnam-def]{WhiteSmoke}\par
+\colorproof[svgnam-def]{Yellow}\par
+\colorproof[svgnam-def]{YellowGreen}\par
+\end{multicols}
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-x11nam-def.tex b/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-x11nam-def.tex
new file mode 100644
index 00000000000..ebafafbe729
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-x11nam-def.tex
@@ -0,0 +1,328 @@
+%%% file tab-spec-x11nam-def.tex
+\vspace{\floatsep}
+\begin{multicols}{4}[\noindent\parbox{\textwidth}{%
+ \captionof{table}{RGB colors from X11 specification.}%
+ \label{tab:spec-x11nam-def}%
+ \footnotesize Taken from file \texttt{x11nam.def} v2.11 as distributed by \LaTeX\ package \name{xcolor} (317 colors).
+ }]
+ \raggedcolumns
+ \setlength{\parindent}{0pt}
+ \ttfamily\small\color{mpcolor}
+\colorproof[x11nam-def]{AntiqueWhite1}\par
+\colorproof[x11nam-def]{AntiqueWhite2}\par
+\colorproof[x11nam-def]{AntiqueWhite3}\par
+\colorproof[x11nam-def]{AntiqueWhite4}\par
+\colorproof[x11nam-def]{Aquamarine1}\par
+\colorproof[x11nam-def]{Aquamarine2}\par
+\colorproof[x11nam-def]{Aquamarine3}\par
+\colorproof[x11nam-def]{Aquamarine4}\par
+\colorproof[x11nam-def]{Azure1}\par
+\colorproof[x11nam-def]{Azure2}\par
+\colorproof[x11nam-def]{Azure3}\par
+\colorproof[x11nam-def]{Azure4}\par
+\colorproof[x11nam-def]{Bisque1}\par
+\colorproof[x11nam-def]{Bisque2}\par
+\colorproof[x11nam-def]{Bisque3}\par
+\colorproof[x11nam-def]{Bisque4}\par
+\colorproof[x11nam-def]{Blue1}\par
+\colorproof[x11nam-def]{Blue2}\par
+\colorproof[x11nam-def]{Blue3}\par
+\colorproof[x11nam-def]{Blue4}\par
+\colorproof[x11nam-def]{Brown1}\par
+\colorproof[x11nam-def]{Brown2}\par
+\colorproof[x11nam-def]{Brown3}\par
+\colorproof[x11nam-def]{Brown4}\par
+\colorproof[x11nam-def]{Burlywood1}\par
+\colorproof[x11nam-def]{Burlywood2}\par
+\colorproof[x11nam-def]{Burlywood3}\par
+\colorproof[x11nam-def]{Burlywood4}\par
+\colorproof[x11nam-def]{CadetBlue1}\par
+\colorproof[x11nam-def]{CadetBlue2}\par
+\colorproof[x11nam-def]{CadetBlue3}\par
+\colorproof[x11nam-def]{CadetBlue4}\par
+\colorproof[x11nam-def]{Chartreuse1}\par
+\colorproof[x11nam-def]{Chartreuse2}\par
+\colorproof[x11nam-def]{Chartreuse3}\par
+\colorproof[x11nam-def]{Chartreuse4}\par
+\colorproof[x11nam-def]{Chocolate1}\par
+\colorproof[x11nam-def]{Chocolate2}\par
+\colorproof[x11nam-def]{Chocolate3}\par
+\colorproof[x11nam-def]{Chocolate4}\par
+\colorproof[x11nam-def]{Coral1}\par
+\colorproof[x11nam-def]{Coral2}\par
+\colorproof[x11nam-def]{Coral3}\par
+\colorproof[x11nam-def]{Coral4}\par
+\colorproof[x11nam-def]{Cornsilk1}\par
+\colorproof[x11nam-def]{Cornsilk2}\par
+\colorproof[x11nam-def]{Cornsilk3}\par
+\colorproof[x11nam-def]{Cornsilk4}\par
+\colorproof[x11nam-def]{Cyan1}\par
+\colorproof[x11nam-def]{Cyan2}\par
+\colorproof[x11nam-def]{Cyan3}\par
+\colorproof[x11nam-def]{Cyan4}\par
+\colorproof[x11nam-def]{DarkGoldenrod1}\par
+\colorproof[x11nam-def]{DarkGoldenrod2}\par
+\colorproof[x11nam-def]{DarkGoldenrod3}\par
+\colorproof[x11nam-def]{DarkGoldenrod4}\par
+\colorproof[x11nam-def]{DarkOliveGreen1}\par
+\colorproof[x11nam-def]{DarkOliveGreen2}\par
+\colorproof[x11nam-def]{DarkOliveGreen3}\par
+\colorproof[x11nam-def]{DarkOliveGreen4}\par
+\colorproof[x11nam-def]{DarkOrange1}\par
+\colorproof[x11nam-def]{DarkOrange2}\par
+\colorproof[x11nam-def]{DarkOrange3}\par
+\colorproof[x11nam-def]{DarkOrange4}\par
+\colorproof[x11nam-def]{DarkOrchid1}\par
+\colorproof[x11nam-def]{DarkOrchid2}\par
+\colorproof[x11nam-def]{DarkOrchid3}\par
+\colorproof[x11nam-def]{DarkOrchid4}\par
+\colorproof[x11nam-def]{DarkSeaGreen1}\par
+\colorproof[x11nam-def]{DarkSeaGreen2}\par
+\colorproof[x11nam-def]{DarkSeaGreen3}\par
+\colorproof[x11nam-def]{DarkSeaGreen4}\par
+\colorproof[x11nam-def]{DarkSlateGray1}\par
+\colorproof[x11nam-def]{DarkSlateGray2}\par
+\colorproof[x11nam-def]{DarkSlateGray3}\par
+\colorproof[x11nam-def]{DarkSlateGray4}\par
+\colorproof[x11nam-def]{DeepPink1}\par
+\colorproof[x11nam-def]{DeepPink2}\par
+\colorproof[x11nam-def]{DeepPink3}\par
+\colorproof[x11nam-def]{DeepPink4}\par
+\colorproof[x11nam-def]{DeepSkyBlue1}\par
+\colorproof[x11nam-def]{DeepSkyBlue2}\par
+\colorproof[x11nam-def]{DeepSkyBlue3}\par
+\colorproof[x11nam-def]{DeepSkyBlue4}\par
+\colorproof[x11nam-def]{DodgerBlue1}\par
+\colorproof[x11nam-def]{DodgerBlue2}\par
+\colorproof[x11nam-def]{DodgerBlue3}\par
+\colorproof[x11nam-def]{DodgerBlue4}\par
+\colorproof[x11nam-def]{Firebrick1}\par
+\colorproof[x11nam-def]{Firebrick2}\par
+\colorproof[x11nam-def]{Firebrick3}\par
+\colorproof[x11nam-def]{Firebrick4}\par
+\colorproof[x11nam-def]{Gold1}\par
+\colorproof[x11nam-def]{Gold2}\par
+\colorproof[x11nam-def]{Gold3}\par
+\colorproof[x11nam-def]{Gold4}\par
+\colorproof[x11nam-def]{Goldenrod1}\par
+\colorproof[x11nam-def]{Goldenrod2}\par
+\colorproof[x11nam-def]{Goldenrod3}\par
+\colorproof[x11nam-def]{Goldenrod4}\par
+\colorproof[x11nam-def]{Green1}\par
+\colorproof[x11nam-def]{Green2}\par
+\colorproof[x11nam-def]{Green3}\par
+\colorproof[x11nam-def]{Green4}\par
+\colorproof[x11nam-def]{Honeydew1}\par
+\colorproof[x11nam-def]{Honeydew2}\par
+\colorproof[x11nam-def]{Honeydew3}\par
+\colorproof[x11nam-def]{Honeydew4}\par
+\colorproof[x11nam-def]{HotPink1}\par
+\colorproof[x11nam-def]{HotPink2}\par
+\colorproof[x11nam-def]{HotPink3}\par
+\colorproof[x11nam-def]{HotPink4}\par
+\colorproof[x11nam-def]{IndianRed1}\par
+\colorproof[x11nam-def]{IndianRed2}\par
+\colorproof[x11nam-def]{IndianRed3}\par
+\colorproof[x11nam-def]{IndianRed4}\par
+\colorproof[x11nam-def]{Ivory1}\par
+\colorproof[x11nam-def]{Ivory2}\par
+\colorproof[x11nam-def]{Ivory3}\par
+\colorproof[x11nam-def]{Ivory4}\par
+\colorproof[x11nam-def]{Khaki1}\par
+\colorproof[x11nam-def]{Khaki2}\par
+\colorproof[x11nam-def]{Khaki3}\par
+\colorproof[x11nam-def]{Khaki4}\par
+\colorproof[x11nam-def]{LavenderBlush1}\par
+\colorproof[x11nam-def]{LavenderBlush2}\par
+\colorproof[x11nam-def]{LavenderBlush3}\par
+\colorproof[x11nam-def]{LavenderBlush4}\par
+\colorproof[x11nam-def]{LemonChiffon1}\par
+\colorproof[x11nam-def]{LemonChiffon2}\par
+\colorproof[x11nam-def]{LemonChiffon3}\par
+\colorproof[x11nam-def]{LemonChiffon4}\par
+\colorproof[x11nam-def]{LightBlue1}\par
+\colorproof[x11nam-def]{LightBlue2}\par
+\colorproof[x11nam-def]{LightBlue3}\par
+\colorproof[x11nam-def]{LightBlue4}\par
+\colorproof[x11nam-def]{LightCyan1}\par
+\colorproof[x11nam-def]{LightCyan2}\par
+\colorproof[x11nam-def]{LightCyan3}\par
+\colorproof[x11nam-def]{LightCyan4}\par
+\colorproof[x11nam-def]{LightGoldenrod1}\par
+\colorproof[x11nam-def]{LightGoldenrod2}\par
+\colorproof[x11nam-def]{LightGoldenrod3}\par
+\colorproof[x11nam-def]{LightGoldenrod4}\par
+\colorproof[x11nam-def]{LightPink1}\par
+\colorproof[x11nam-def]{LightPink2}\par
+\colorproof[x11nam-def]{LightPink3}\par
+\colorproof[x11nam-def]{LightPink4}\par
+\colorproof[x11nam-def]{LightSalmon1}\par
+\colorproof[x11nam-def]{LightSalmon2}\par
+\colorproof[x11nam-def]{LightSalmon3}\par
+\colorproof[x11nam-def]{LightSalmon4}\par
+\colorproof[x11nam-def]{LightSkyBlue1}\par
+\colorproof[x11nam-def]{LightSkyBlue2}\par
+\colorproof[x11nam-def]{LightSkyBlue3}\par
+\colorproof[x11nam-def]{LightSkyBlue4}\par
+\colorproof[x11nam-def]{LightSteelBlue1}\par
+\colorproof[x11nam-def]{LightSteelBlue2}\par
+\colorproof[x11nam-def]{LightSteelBlue3}\par
+\colorproof[x11nam-def]{LightSteelBlue4}\par
+\colorproof[x11nam-def]{LightYellow1}\par
+\colorproof[x11nam-def]{LightYellow2}\par
+\colorproof[x11nam-def]{LightYellow3}\par
+\colorproof[x11nam-def]{LightYellow4}\par
+\colorproof[x11nam-def]{Magenta1}\par
+\colorproof[x11nam-def]{Magenta2}\par
+\colorproof[x11nam-def]{Magenta3}\par
+\colorproof[x11nam-def]{Magenta4}\par
+\colorproof[x11nam-def]{Maroon1}\par
+\colorproof[x11nam-def]{Maroon2}\par
+\colorproof[x11nam-def]{Maroon3}\par
+\colorproof[x11nam-def]{Maroon4}\par
+\colorproof[x11nam-def]{MediumOrchid1}\par
+\colorproof[x11nam-def]{MediumOrchid2}\par
+\colorproof[x11nam-def]{MediumOrchid3}\par
+\colorproof[x11nam-def]{MediumOrchid4}\par
+\colorproof[x11nam-def]{MediumPurple1}\par
+\colorproof[x11nam-def]{MediumPurple2}\par
+\colorproof[x11nam-def]{MediumPurple3}\par
+\colorproof[x11nam-def]{MediumPurple4}\par
+\colorproof[x11nam-def]{MistyRose1}\par
+\colorproof[x11nam-def]{MistyRose2}\par
+\colorproof[x11nam-def]{MistyRose3}\par
+\colorproof[x11nam-def]{MistyRose4}\par
+\colorproof[x11nam-def]{NavajoWhite1}\par
+\colorproof[x11nam-def]{NavajoWhite2}\par
+\colorproof[x11nam-def]{NavajoWhite3}\par
+\colorproof[x11nam-def]{NavajoWhite4}\par
+\colorproof[x11nam-def]{OliveDrab1}\par
+\colorproof[x11nam-def]{OliveDrab2}\par
+\colorproof[x11nam-def]{OliveDrab3}\par
+\colorproof[x11nam-def]{OliveDrab4}\par
+\colorproof[x11nam-def]{Orange1}\par
+\colorproof[x11nam-def]{Orange2}\par
+\colorproof[x11nam-def]{Orange3}\par
+\colorproof[x11nam-def]{Orange4}\par
+\colorproof[x11nam-def]{OrangeRed1}\par
+\colorproof[x11nam-def]{OrangeRed2}\par
+\colorproof[x11nam-def]{OrangeRed3}\par
+\colorproof[x11nam-def]{OrangeRed4}\par
+\colorproof[x11nam-def]{Orchid1}\par
+\colorproof[x11nam-def]{Orchid2}\par
+\colorproof[x11nam-def]{Orchid3}\par
+\colorproof[x11nam-def]{Orchid4}\par
+\colorproof[x11nam-def]{PaleGreen1}\par
+\colorproof[x11nam-def]{PaleGreen2}\par
+\colorproof[x11nam-def]{PaleGreen3}\par
+\colorproof[x11nam-def]{PaleGreen4}\par
+\colorproof[x11nam-def]{PaleTurquoise1}\par
+\colorproof[x11nam-def]{PaleTurquoise2}\par
+\colorproof[x11nam-def]{PaleTurquoise3}\par
+\colorproof[x11nam-def]{PaleTurquoise4}\par
+\colorproof[x11nam-def]{PaleVioletRed1}\par
+\colorproof[x11nam-def]{PaleVioletRed2}\par
+\colorproof[x11nam-def]{PaleVioletRed3}\par
+\colorproof[x11nam-def]{PaleVioletRed4}\par
+\colorproof[x11nam-def]{PeachPuff1}\par
+\colorproof[x11nam-def]{PeachPuff2}\par
+\colorproof[x11nam-def]{PeachPuff3}\par
+\colorproof[x11nam-def]{PeachPuff4}\par
+\colorproof[x11nam-def]{Pink1}\par
+\colorproof[x11nam-def]{Pink2}\par
+\colorproof[x11nam-def]{Pink3}\par
+\colorproof[x11nam-def]{Pink4}\par
+\colorproof[x11nam-def]{Plum1}\par
+\colorproof[x11nam-def]{Plum2}\par
+\colorproof[x11nam-def]{Plum3}\par
+\colorproof[x11nam-def]{Plum4}\par
+\colorproof[x11nam-def]{Purple1}\par
+\colorproof[x11nam-def]{Purple2}\par
+\colorproof[x11nam-def]{Purple3}\par
+\colorproof[x11nam-def]{Purple4}\par
+\colorproof[x11nam-def]{Red1}\par
+\colorproof[x11nam-def]{Red2}\par
+\colorproof[x11nam-def]{Red3}\par
+\colorproof[x11nam-def]{Red4}\par
+\colorproof[x11nam-def]{RosyBrown1}\par
+\colorproof[x11nam-def]{RosyBrown2}\par
+\colorproof[x11nam-def]{RosyBrown3}\par
+\colorproof[x11nam-def]{RosyBrown4}\par
+\colorproof[x11nam-def]{RoyalBlue1}\par
+\colorproof[x11nam-def]{RoyalBlue2}\par
+\colorproof[x11nam-def]{RoyalBlue3}\par
+\colorproof[x11nam-def]{RoyalBlue4}\par
+\colorproof[x11nam-def]{Salmon1}\par
+\colorproof[x11nam-def]{Salmon2}\par
+\colorproof[x11nam-def]{Salmon3}\par
+\colorproof[x11nam-def]{Salmon4}\par
+\colorproof[x11nam-def]{SeaGreen1}\par
+\colorproof[x11nam-def]{SeaGreen2}\par
+\colorproof[x11nam-def]{SeaGreen3}\par
+\colorproof[x11nam-def]{SeaGreen4}\par
+\colorproof[x11nam-def]{Seashell1}\par
+\colorproof[x11nam-def]{Seashell2}\par
+\colorproof[x11nam-def]{Seashell3}\par
+\colorproof[x11nam-def]{Seashell4}\par
+\colorproof[x11nam-def]{Sienna1}\par
+\colorproof[x11nam-def]{Sienna2}\par
+\colorproof[x11nam-def]{Sienna3}\par
+\colorproof[x11nam-def]{Sienna4}\par
+\colorproof[x11nam-def]{SkyBlue1}\par
+\colorproof[x11nam-def]{SkyBlue2}\par
+\colorproof[x11nam-def]{SkyBlue3}\par
+\colorproof[x11nam-def]{SkyBlue4}\par
+\colorproof[x11nam-def]{SlateBlue1}\par
+\colorproof[x11nam-def]{SlateBlue2}\par
+\colorproof[x11nam-def]{SlateBlue3}\par
+\colorproof[x11nam-def]{SlateBlue4}\par
+\colorproof[x11nam-def]{SlateGray1}\par
+\colorproof[x11nam-def]{SlateGray2}\par
+\colorproof[x11nam-def]{SlateGray3}\par
+\colorproof[x11nam-def]{SlateGray4}\par
+\colorproof[x11nam-def]{Snow1}\par
+\colorproof[x11nam-def]{Snow2}\par
+\colorproof[x11nam-def]{Snow3}\par
+\colorproof[x11nam-def]{Snow4}\par
+\colorproof[x11nam-def]{SpringGreen1}\par
+\colorproof[x11nam-def]{SpringGreen2}\par
+\colorproof[x11nam-def]{SpringGreen3}\par
+\colorproof[x11nam-def]{SpringGreen4}\par
+\colorproof[x11nam-def]{SteelBlue1}\par
+\colorproof[x11nam-def]{SteelBlue2}\par
+\colorproof[x11nam-def]{SteelBlue3}\par
+\colorproof[x11nam-def]{SteelBlue4}\par
+\colorproof[x11nam-def]{Tan1}\par
+\colorproof[x11nam-def]{Tan2}\par
+\colorproof[x11nam-def]{Tan3}\par
+\colorproof[x11nam-def]{Tan4}\par
+\colorproof[x11nam-def]{Thistle1}\par
+\colorproof[x11nam-def]{Thistle2}\par
+\colorproof[x11nam-def]{Thistle3}\par
+\colorproof[x11nam-def]{Thistle4}\par
+\colorproof[x11nam-def]{Tomato1}\par
+\colorproof[x11nam-def]{Tomato2}\par
+\colorproof[x11nam-def]{Tomato3}\par
+\colorproof[x11nam-def]{Tomato4}\par
+\colorproof[x11nam-def]{Turquoise1}\par
+\colorproof[x11nam-def]{Turquoise2}\par
+\colorproof[x11nam-def]{Turquoise3}\par
+\colorproof[x11nam-def]{Turquoise4}\par
+\colorproof[x11nam-def]{VioletRed1}\par
+\colorproof[x11nam-def]{VioletRed2}\par
+\colorproof[x11nam-def]{VioletRed3}\par
+\colorproof[x11nam-def]{VioletRed4}\par
+\colorproof[x11nam-def]{Wheat1}\par
+\colorproof[x11nam-def]{Wheat2}\par
+\colorproof[x11nam-def]{Wheat3}\par
+\colorproof[x11nam-def]{Wheat4}\par
+\colorproof[x11nam-def]{Yellow1}\par
+\colorproof[x11nam-def]{Yellow2}\par
+\colorproof[x11nam-def]{Yellow3}\par
+\colorproof[x11nam-def]{Yellow4}\par
+\colorproof[x11nam-def]{Gray0}\par
+\colorproof[x11nam-def]{Green0}\par
+\colorproof[x11nam-def]{Grey0}\par
+\colorproof[x11nam-def]{Maroon0}\par
+\colorproof[x11nam-def]{Purple0}\par
+\end{multicols}
diff --git a/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-xcolor-sty.tex b/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-xcolor-sty.tex
new file mode 100644
index 00000000000..e766872a88e
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/mpcolornames/tab-spec-xcolor-sty.tex
@@ -0,0 +1,34 @@
+%%% file tab-spec-xcolor-sty.tex
+\begingroup
+\ttfamily\small\color{mpcolor}
+\setlength{\tabcolsep}{.5\columnsep}
+\setlength{\tabcolwidth}{\textwidth}
+\addtolength{\tabcolwidth}{-4\tabcolsep}
+\setlength{\tabcolwidth}{.333\tabcolwidth}
+\begin{longtable}{@{}*{3}{p{\tabcolwidth}}@{}}
+ \caption{RGB, CMYK, and grey~scale colors from \LaTeX\ package \name{xcolor}.}%
+ \label{tab:spec-xcolor-sty}\\
+\multicolumn{3}{l}{\normalfont\footnotesize\normalcolor Taken from file \texttt{xcolor.sty} v1.0i as distributed by \LaTeX\ package \name{xcolor} (19 colors, with augmented names).}
+\endfirsthead
+
+\colorproof[xcolor-sty]{red}\\
+\colorproof[xcolor-sty]{green}\\
+\colorproof[xcolor-sty]{blue}\\
+\colorproof[xcolor-sty]{brown}\\
+\colorproof[xcolor-sty]{lime}\\
+\colorproof[xcolor-sty]{orange}\\
+\colorproof[xcolor-sty]{pink}\\
+\colorproof[xcolor-sty]{purple}\\
+\colorproof[xcolor-sty]{teal}\\
+\colorproof[xcolor-sty]{violet}\\
+\colorproof[xcolor-sty]{cyan}\\
+\colorproof[xcolor-sty]{magenta}\\
+\colorproof[xcolor-sty]{yellow}\\
+\colorproof[xcolor-sty]{olive}\\
+\colorproof[xcolor-sty]{black}\\
+\colorproof[xcolor-sty]{darkgray}\\
+\colorproof[xcolor-sty]{gray}\\
+\colorproof[xcolor-sty]{lightgray}\\
+\colorproof[xcolor-sty]{white}\\
+\end{longtable}
+\endgroup
diff --git a/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-dvipsnam-def.mp b/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-dvipsnam-def.mp
new file mode 100644
index 00000000000..cb84fc8d323
--- /dev/null
+++ b/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-dvipsnam-def.mp
@@ -0,0 +1,148 @@
+%%% file mpcolornames-spec-dvipsnam-def.mp
+%%% Copyright 2009, 2011 Stephan Hennig
+%
+% This work may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, either version 1.3 of this license
+% or (at your option) any later version. The latest version of this
+% license is in http://www.latex-project.org/lppl.txt
+%
+def _mpcolornames_spec_dvipsnam_def=
+cmykcolor
+GreenYellow,
+Yellow,
+Goldenrod,
+Dandelion,
+Apricot,
+Peach,
+Melon,
+YellowOrange,
+Orange,
+BurntOrange,
+Bittersweet,
+RedOrange,
+Mahogany,
+Maroon,
+BrickRed,
+Red,
+OrangeRed,
+RubineRed,
+WildStrawberry,
+Salmon,
+CarnationPink,
+Magenta,
+VioletRed,
+Rhodamine,
+Mulberry,
+RedViolet,
+Fuchsia,
+Lavender,
+Thistle,
+Orchid,
+DarkOrchid,
+Purple,
+Plum,
+Violet,
+RoyalPurple,
+BlueViolet,
+Periwinkle,
+CadetBlue,
+CornflowerBlue,
+MidnightBlue,
+NavyBlue,
+RoyalBlue,
+Blue,
+Cerulean,
+Cyan,
+ProcessBlue,
+SkyBlue,
+Turquoise,
+TealBlue,
+Aquamarine,
+BlueGreen,
+Emerald,
+JungleGreen,
+SeaGreen,
+Green,
+ForestGreen,
+PineGreen,
+LimeGreen,
+YellowGreen,
+SpringGreen,
+OliveGreen,
+RawSienna,
+Sepia,
+Brown,
+Tan,
+Gray,
+Black,
+White;
+GreenYellow:=(0.15,0,0.69,0);
+Yellow:=(0,0,1,0);
+Goldenrod:=(0,0.10,0.84,0);
+Dandelion:=(0,0.29,0.84,0);
+Apricot:=(0,0.32,0.52,0);
+Peach:=(0,0.50,0.70,0);
+Melon:=(0,0.46,0.50,0);
+YellowOrange:=(0,0.42,1,0);
+Orange:=(0,0.61,0.87,0);
+BurntOrange:=(0,0.51,1,0);
+Bittersweet:=(0,0.75,1,0.24);
+RedOrange:=(0,0.77,0.87,0);
+Mahogany:=(0,0.85,0.87,0.35);
+Maroon:=(0,0.87,0.68,0.32);
+BrickRed:=(0,0.89,0.94,0.28);
+Red:=(0,1,1,0);
+OrangeRed:=(0,1,0.50,0);
+RubineRed:=(0,1,0.13,0);
+WildStrawberry:=(0,0.96,0.39,0);
+Salmon:=(0,0.53,0.38,0);
+CarnationPink:=(0,0.63,0,0);
+Magenta:=(0,1,0,0);
+VioletRed:=(0,0.81,0,0);
+Rhodamine:=(0,0.82,0,0);
+Mulberry:=(0.34,0.90,0,0.02);
+RedViolet:=(0.07,0.90,0,0.34);
+Fuchsia:=(0.47,0.91,0,0.08);
+Lavender:=(0,0.48,0,0);
+Thistle:=(0.12,0.59,0,0);
+Orchid:=(0.32,0.64,0,0);
+DarkOrchid:=(0.40,0.80,0.20,0);
+Purple:=(0.45,0.86,0,0);
+Plum:=(0.50,1,0,0);
+Violet:=(0.79,0.88,0,0);
+RoyalPurple:=(0.75,0.90,0,0);
+BlueViolet:=(0.86,0.91,0,0.04);
+Periwinkle:=(0.57,0.55,0,0);
+CadetBlue:=(0.62,0.57,0.23,0);
+CornflowerBlue:=(0.65,0.13,0,0);
+MidnightBlue:=(0.98,0.13,0,0.43);
+NavyBlue:=(0.94,0.54,0,0);
+RoyalBlue:=(1,0.50,0,0);
+Blue:=(1,1,0,0);
+Cerulean:=(0.94,0.11,0,0);
+Cyan:=(1,0,0,0);
+ProcessBlue:=(0.96,0,0,0);
+SkyBlue:=(0.62,0,0.12,0);
+Turquoise:=(0.85,0,0.20,0);
+TealBlue:=(0.86,0,0.34,0.02);
+Aquamarine:=(0.82,0,0.30,0);
+BlueGreen:=(0.85,0,0.33,0);
+Emerald:=(1,0,0.50,0);
+JungleGreen:=(0.99,0,0.52,0);
+SeaGreen:=(0.69,0,0.50,0);
+Green:=(1,0,1,0);
+ForestGreen:=(0.91,0,0.88,0.12);
+PineGreen:=(0.92,0,0.59,0.25);
+LimeGreen:=(0.50,0,1,0);
+YellowGreen:=(0.44,0,0.74,0);
+SpringGreen:=(0.26,0,0.76,0);
+OliveGreen:=(0.64,0,0.95,0.40);
+RawSienna:=(0,0.72,1,0.45);
+Sepia:=(0,0.83,1,0.70);
+Brown:=(0,0.81,1,0.60);
+Tan:=(0.14,0.42,0.56,0);
+Gray:=(0,0,0,0.50);
+Black:=(0,0,0,1);
+White:=(0,0,0,0);
+enddef;
+endinput
diff --git a/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-plain-mp.mp b/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-plain-mp.mp
new file mode 100644
index 00000000000..e49c4a37c59
--- /dev/null
+++ b/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-plain-mp.mp
@@ -0,0 +1,22 @@
+%%% file mpcolornames-spec-plain-mp.mp
+%%% Copyright 2009, 2011 Stephan Hennig
+%
+% This work may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, either version 1.3 of this license
+% or (at your option) any later version. The latest version of this
+% license is in http://www.latex-project.org/lppl.txt
+%
+def _mpcolornames_spec_plain_mp=
+rgbcolor
+black,
+white,
+red,
+green,
+blue;
+black:=(0,0,0);
+white:=(1,1,1);
+red:=(1,0,0);
+green:=(0,1,0);
+blue:=(0,0,1);
+enddef;
+endinput
diff --git a/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-svgnam-def.mp b/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-svgnam-def.mp
new file mode 100644
index 00000000000..283b4011f28
--- /dev/null
+++ b/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-svgnam-def.mp
@@ -0,0 +1,314 @@
+%%% file mpcolornames-spec-svgnam-def.mp
+%%% Copyright 2009, 2011 Stephan Hennig
+%
+% This work may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, either version 1.3 of this license
+% or (at your option) any later version. The latest version of this
+% license is in http://www.latex-project.org/lppl.txt
+%
+def _mpcolornames_spec_svgnam_def=
+rgbcolor
+AliceBlue,
+AntiqueWhite,
+Aqua,
+Aquamarine,
+Azure,
+Beige,
+Bisque,
+Black,
+BlanchedAlmond,
+Blue,
+BlueViolet,
+Brown,
+BurlyWood,
+CadetBlue,
+Chartreuse,
+Chocolate,
+Coral,
+CornflowerBlue,
+Cornsilk,
+Crimson,
+Cyan,
+DarkBlue,
+DarkCyan,
+DarkGoldenrod,
+DarkGray,
+DarkGreen,
+DarkGrey,
+DarkKhaki,
+DarkMagenta,
+DarkOliveGreen,
+DarkOrange,
+DarkOrchid,
+DarkRed,
+DarkSalmon,
+DarkSeaGreen,
+DarkSlateBlue,
+DarkSlateGray,
+DarkSlateGrey,
+DarkTurquoise,
+DarkViolet,
+DeepPink,
+DeepSkyBlue,
+DimGray,
+DimGrey,
+DodgerBlue,
+FireBrick,
+FloralWhite,
+ForestGreen,
+Fuchsia,
+Gainsboro,
+GhostWhite,
+Gold,
+Goldenrod,
+Gray,
+Green,
+GreenYellow,
+Grey,
+Honeydew,
+HotPink,
+IndianRed,
+Indigo,
+Ivory,
+Khaki,
+Lavender,
+LavenderBlush,
+LawnGreen,
+LemonChiffon,
+LightBlue,
+LightCoral,
+LightCyan,
+LightGoldenrod,
+LightGoldenrodYellow,
+LightGray,
+LightGreen,
+LightGrey,
+LightPink,
+LightSalmon,
+LightSeaGreen,
+LightSkyBlue,
+LightSlateBlue,
+LightSlateGray,
+LightSlateGrey,
+LightSteelBlue,
+LightYellow,
+Lime,
+LimeGreen,
+Linen,
+Magenta,
+Maroon,
+MediumAquamarine,
+MediumBlue,
+MediumOrchid,
+MediumPurple,
+MediumSeaGreen,
+MediumSlateBlue,
+MediumSpringGreen,
+MediumTurquoise,
+MediumVioletRed,
+MidnightBlue,
+MintCream,
+MistyRose,
+Moccasin,
+NavajoWhite,
+Navy,
+NavyBlue,
+OldLace,
+Olive,
+OliveDrab,
+Orange,
+OrangeRed,
+Orchid,
+PaleGoldenrod,
+PaleGreen,
+PaleTurquoise,
+PaleVioletRed,
+PapayaWhip,
+PeachPuff,
+Peru,
+Pink,
+Plum,
+PowderBlue,
+Purple,
+Red,
+RosyBrown,
+RoyalBlue,
+SaddleBrown,
+Salmon,
+SandyBrown,
+SeaGreen,
+Seashell,
+Sienna,
+Silver,
+SkyBlue,
+SlateBlue,
+SlateGray,
+SlateGrey,
+Snow,
+SpringGreen,
+SteelBlue,
+Tan,
+Teal,
+Thistle,
+Tomato,
+Turquoise,
+Violet,
+VioletRed,
+Wheat,
+White,
+WhiteSmoke,
+Yellow,
+YellowGreen;
+AliceBlue:=(.94,.972,1);
+AntiqueWhite:=(.98,.92,.844);
+Aqua:=(0,1,1);
+Aquamarine:=(.498,1,.83);
+Azure:=(.94,1,1);
+Beige:=(.96,.96,.864);
+Bisque:=(1,.894,.77);
+Black:=(0,0,0);
+BlanchedAlmond:=(1,.92,.804);
+Blue:=(0,0,1);
+BlueViolet:=(.54,.17,.888);
+Brown:=(.648,.165,.165);
+BurlyWood:=(.87,.72,.53);
+CadetBlue:=(.372,.62,.628);
+Chartreuse:=(.498,1,0);
+Chocolate:=(.824,.41,.116);
+Coral:=(1,.498,.312);
+CornflowerBlue:=(.392,.585,.93);
+Cornsilk:=(1,.972,.864);
+Crimson:=(.864,.08,.235);
+Cyan:=(0,1,1);
+DarkBlue:=(0,0,.545);
+DarkCyan:=(0,.545,.545);
+DarkGoldenrod:=(.72,.525,.044);
+DarkGray:=(.664,.664,.664);
+DarkGreen:=(0,.392,0);
+DarkGrey:=(.664,.664,.664);
+DarkKhaki:=(.74,.716,.42);
+DarkMagenta:=(.545,0,.545);
+DarkOliveGreen:=(.332,.42,.185);
+DarkOrange:=(1,.55,0);
+DarkOrchid:=(.6,.196,.8);
+DarkRed:=(.545,0,0);
+DarkSalmon:=(.912,.59,.48);
+DarkSeaGreen:=(.56,.736,.56);
+DarkSlateBlue:=(.284,.24,.545);
+DarkSlateGray:=(.185,.31,.31);
+DarkSlateGrey:=(.185,.31,.31);
+DarkTurquoise:=(0,.808,.82);
+DarkViolet:=(.58,0,.828);
+DeepPink:=(1,.08,.576);
+DeepSkyBlue:=(0,.75,1);
+DimGray:=(.41,.41,.41);
+DimGrey:=(.41,.41,.41);
+DodgerBlue:=(.116,.565,1);
+FireBrick:=(.698,.132,.132);
+FloralWhite:=(1,.98,.94);
+ForestGreen:=(.132,.545,.132);
+Fuchsia:=(1,0,1);
+Gainsboro:=(.864,.864,.864);
+GhostWhite:=(.972,.972,1);
+Gold:=(1,.844,0);
+Goldenrod:=(.855,.648,.125);
+Gray:=(.5,.5,.5);
+Green:=(0,.5,0);
+GreenYellow:=(.68,1,.185);
+Grey:=(.5,.5,.5);
+Honeydew:=(.94,1,.94);
+HotPink:=(1,.41,.705);
+IndianRed:=(.804,.36,.36);
+Indigo:=(.294,0,.51);
+Ivory:=(1,1,.94);
+Khaki:=(.94,.9,.55);
+Lavender:=(.9,.9,.98);
+LavenderBlush:=(1,.94,.96);
+LawnGreen:=(.488,.99,0);
+LemonChiffon:=(1,.98,.804);
+LightBlue:=(.68,.848,.9);
+LightCoral:=(.94,.5,.5);
+LightCyan:=(.88,1,1);
+LightGoldenrod:=(.933,.867,.51);
+LightGoldenrodYellow:=(.98,.98,.824);
+LightGray:=(.828,.828,.828);
+LightGreen:=(.565,.932,.565);
+LightGrey:=(.828,.828,.828);
+LightPink:=(1,.712,.756);
+LightSalmon:=(1,.628,.48);
+LightSeaGreen:=(.125,.698,.668);
+LightSkyBlue:=(.53,.808,.98);
+LightSlateBlue:=(.518,.44,1);
+LightSlateGray:=(.468,.532,.6);
+LightSlateGrey:=(.468,.532,.6);
+LightSteelBlue:=(.69,.77,.87);
+LightYellow:=(1,1,.88);
+Lime:=(0,1,0);
+LimeGreen:=(.196,.804,.196);
+Linen:=(.98,.94,.9);
+Magenta:=(1,0,1);
+Maroon:=(.5,0,0);
+MediumAquamarine:=(.4,.804,.668);
+MediumBlue:=(0,0,.804);
+MediumOrchid:=(.73,.332,.828);
+MediumPurple:=(.576,.44,.86);
+MediumSeaGreen:=(.235,.7,.444);
+MediumSlateBlue:=(.484,.408,.932);
+MediumSpringGreen:=(0,.98,.604);
+MediumTurquoise:=(.284,.82,.8);
+MediumVioletRed:=(.78,.084,.52);
+MidnightBlue:=(.098,.098,.44);
+MintCream:=(.96,1,.98);
+MistyRose:=(1,.894,.884);
+Moccasin:=(1,.894,.71);
+NavajoWhite:=(1,.87,.68);
+Navy:=(0,0,.5);
+NavyBlue:=(0,0,.5);
+OldLace:=(.992,.96,.9);
+Olive:=(.5,.5,0);
+OliveDrab:=(.42,.556,.136);
+Orange:=(1,.648,0);
+OrangeRed:=(1,.27,0);
+Orchid:=(.855,.44,.84);
+PaleGoldenrod:=(.932,.91,.668);
+PaleGreen:=(.596,.985,.596);
+PaleTurquoise:=(.688,.932,.932);
+PaleVioletRed:=(.86,.44,.576);
+PapayaWhip:=(1,.936,.835);
+PeachPuff:=(1,.855,.725);
+Peru:=(.804,.52,.248);
+Pink:=(1,.752,.796);
+Plum:=(.868,.628,.868);
+PowderBlue:=(.69,.88,.9);
+Purple:=(.5,0,.5);
+Red:=(1,0,0);
+RosyBrown:=(.736,.56,.56);
+RoyalBlue:=(.255,.41,.884);
+SaddleBrown:=(.545,.27,.075);
+Salmon:=(.98,.5,.448);
+SandyBrown:=(.956,.644,.376);
+SeaGreen:=(.18,.545,.34);
+Seashell:=(1,.96,.932);
+Sienna:=(.628,.32,.176);
+Silver:=(.752,.752,.752);
+SkyBlue:=(.53,.808,.92);
+SlateBlue:=(.415,.352,.804);
+SlateGray:=(.44,.5,.565);
+SlateGrey:=(.44,.5,.565);
+Snow:=(1,.98,.98);
+SpringGreen:=(0,1,.498);
+SteelBlue:=(.275,.51,.705);
+Tan:=(.824,.705,.55);
+Teal:=(0,.5,.5);
+Thistle:=(.848,.75,.848);
+Tomato:=(1,.39,.28);
+Turquoise:=(.25,.88,.815);
+Violet:=(.932,.51,.932);
+VioletRed:=(.816,.125,.565);
+Wheat:=(.96,.87,.7);
+White:=(1,1,1);
+WhiteSmoke:=(.96,.96,.96);
+Yellow:=(1,1,0);
+YellowGreen:=(.604,.804,.196);
+enddef;
+endinput
diff --git a/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-x11nam-def.mp b/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-x11nam-def.mp
new file mode 100644
index 00000000000..034235d3f4f
--- /dev/null
+++ b/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-x11nam-def.mp
@@ -0,0 +1,409 @@
+%%% file mpcolornames-spec-x11nam-def.mp
+%%% Copyright 2009, 2011 Stephan Hennig
+%
+% This work may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, either version 1.3 of this license
+% or (at your option) any later version. The latest version of this
+% license is in http://www.latex-project.org/lppl.txt
+%
+def _mpcolornames_spec_xelevennam_def=
+rgbcolor
+AntiqueWhite[],
+Aquamarine[],
+Azure[],
+Bisque[],
+Blue[],
+Brown[],
+Burlywood[],
+CadetBlue[],
+Chartreuse[],
+Chocolate[],
+Coral[],
+Cornsilk[],
+Cyan[],
+DarkGoldenrod[],
+DarkOliveGreen[],
+DarkOrange[],
+DarkOrchid[],
+DarkSeaGreen[],
+DarkSlateGray[],
+DeepPink[],
+DeepSkyBlue[],
+DodgerBlue[],
+Firebrick[],
+Gold[],
+Goldenrod[],
+Green[],
+Honeydew[],
+HotPink[],
+IndianRed[],
+Ivory[],
+Khaki[],
+LavenderBlush[],
+LemonChiffon[],
+LightBlue[],
+LightCyan[],
+LightGoldenrod[],
+LightPink[],
+LightSalmon[],
+LightSkyBlue[],
+LightSteelBlue[],
+LightYellow[],
+Magenta[],
+Maroon[],
+MediumOrchid[],
+MediumPurple[],
+MistyRose[],
+NavajoWhite[],
+OliveDrab[],
+Orange[],
+OrangeRed[],
+Orchid[],
+PaleGreen[],
+PaleTurquoise[],
+PaleVioletRed[],
+PeachPuff[],
+Pink[],
+Plum[],
+Purple[],
+Red[],
+RosyBrown[],
+RoyalBlue[],
+Salmon[],
+SeaGreen[],
+Seashell[],
+Sienna[],
+SkyBlue[],
+SlateBlue[],
+SlateGray[],
+Snow[],
+SpringGreen[],
+SteelBlue[],
+Tan[],
+Thistle[],
+Tomato[],
+Turquoise[],
+VioletRed[],
+Wheat[],
+Yellow[],
+Gray[],
+Grey[];
+AntiqueWhite1:=(1,.936,.86);
+AntiqueWhite2:=(.932,.875,.8);
+AntiqueWhite3:=(.804,.752,.69);
+AntiqueWhite4:=(.545,.512,.47);
+Aquamarine1:=(.498,1,.83);
+Aquamarine2:=(.464,.932,.776);
+Aquamarine3:=(.4,.804,.668);
+Aquamarine4:=(.27,.545,.455);
+Azure1:=(.94,1,1);
+Azure2:=(.88,.932,.932);
+Azure3:=(.756,.804,.804);
+Azure4:=(.512,.545,.545);
+Bisque1:=(1,.894,.77);
+Bisque2:=(.932,.835,.716);
+Bisque3:=(.804,.716,.62);
+Bisque4:=(.545,.49,.42);
+Blue1:=(0,0,1);
+Blue2:=(0,0,.932);
+Blue3:=(0,0,.804);
+Blue4:=(0,0,.545);
+Brown1:=(1,.25,.25);
+Brown2:=(.932,.23,.23);
+Brown3:=(.804,.2,.2);
+Brown4:=(.545,.136,.136);
+Burlywood1:=(1,.828,.608);
+Burlywood2:=(.932,.772,.57);
+Burlywood3:=(.804,.668,.49);
+Burlywood4:=(.545,.45,.332);
+CadetBlue1:=(.596,.96,1);
+CadetBlue2:=(.556,.898,.932);
+CadetBlue3:=(.48,.772,.804);
+CadetBlue4:=(.325,.525,.545);
+Chartreuse1:=(.498,1,0);
+Chartreuse2:=(.464,.932,0);
+Chartreuse3:=(.4,.804,0);
+Chartreuse4:=(.27,.545,0);
+Chocolate1:=(1,.498,.14);
+Chocolate2:=(.932,.464,.13);
+Chocolate3:=(.804,.4,.112);
+Chocolate4:=(.545,.27,.075);
+Coral1:=(1,.448,.336);
+Coral2:=(.932,.415,.312);
+Coral3:=(.804,.356,.27);
+Coral4:=(.545,.244,.185);
+Cornsilk1:=(1,.972,.864);
+Cornsilk2:=(.932,.91,.804);
+Cornsilk3:=(.804,.785,.694);
+Cornsilk4:=(.545,.532,.47);
+Cyan1:=(0,1,1);
+Cyan2:=(0,.932,.932);
+Cyan3:=(0,.804,.804);
+Cyan4:=(0,.545,.545);
+DarkGoldenrod1:=(1,.725,.06);
+DarkGoldenrod2:=(.932,.68,.055);
+DarkGoldenrod3:=(.804,.585,.048);
+DarkGoldenrod4:=(.545,.396,.03);
+DarkOliveGreen1:=(.792,1,.44);
+DarkOliveGreen2:=(.736,.932,.408);
+DarkOliveGreen3:=(.635,.804,.352);
+DarkOliveGreen4:=(.43,.545,.24);
+DarkOrange1:=(1,.498,0);
+DarkOrange2:=(.932,.464,0);
+DarkOrange3:=(.804,.4,0);
+DarkOrange4:=(.545,.27,0);
+DarkOrchid1:=(.75,.244,1);
+DarkOrchid2:=(.698,.228,.932);
+DarkOrchid3:=(.604,.196,.804);
+DarkOrchid4:=(.408,.132,.545);
+DarkSeaGreen1:=(.756,1,.756);
+DarkSeaGreen2:=(.705,.932,.705);
+DarkSeaGreen3:=(.608,.804,.608);
+DarkSeaGreen4:=(.41,.545,.41);
+DarkSlateGray1:=(.592,1,1);
+DarkSlateGray2:=(.552,.932,.932);
+DarkSlateGray3:=(.475,.804,.804);
+DarkSlateGray4:=(.32,.545,.545);
+DeepPink1:=(1,.08,.576);
+DeepPink2:=(.932,.07,.536);
+DeepPink3:=(.804,.064,.464);
+DeepPink4:=(.545,.04,.312);
+DeepSkyBlue1:=(0,.75,1);
+DeepSkyBlue2:=(0,.698,.932);
+DeepSkyBlue3:=(0,.604,.804);
+DeepSkyBlue4:=(0,.408,.545);
+DodgerBlue1:=(.116,.565,1);
+DodgerBlue2:=(.11,.525,.932);
+DodgerBlue3:=(.094,.455,.804);
+DodgerBlue4:=(.064,.305,.545);
+Firebrick1:=(1,.19,.19);
+Firebrick2:=(.932,.172,.172);
+Firebrick3:=(.804,.15,.15);
+Firebrick4:=(.545,.1,.1);
+Gold1:=(1,.844,0);
+Gold2:=(.932,.79,0);
+Gold3:=(.804,.68,0);
+Gold4:=(.545,.46,0);
+Goldenrod1:=(1,.756,.145);
+Goldenrod2:=(.932,.705,.132);
+Goldenrod3:=(.804,.608,.112);
+Goldenrod4:=(.545,.41,.08);
+Green1:=(0,1,0);
+Green2:=(0,.932,0);
+Green3:=(0,.804,0);
+Green4:=(0,.545,0);
+Honeydew1:=(.94,1,.94);
+Honeydew2:=(.88,.932,.88);
+Honeydew3:=(.756,.804,.756);
+Honeydew4:=(.512,.545,.512);
+HotPink1:=(1,.43,.705);
+HotPink2:=(.932,.415,.655);
+HotPink3:=(.804,.376,.565);
+HotPink4:=(.545,.228,.385);
+IndianRed1:=(1,.415,.415);
+IndianRed2:=(.932,.39,.39);
+IndianRed3:=(.804,.332,.332);
+IndianRed4:=(.545,.228,.228);
+Ivory1:=(1,1,.94);
+Ivory2:=(.932,.932,.88);
+Ivory3:=(.804,.804,.756);
+Ivory4:=(.545,.545,.512);
+Khaki1:=(1,.965,.56);
+Khaki2:=(.932,.9,.52);
+Khaki3:=(.804,.776,.45);
+Khaki4:=(.545,.525,.305);
+LavenderBlush1:=(1,.94,.96);
+LavenderBlush2:=(.932,.88,.898);
+LavenderBlush3:=(.804,.756,.772);
+LavenderBlush4:=(.545,.512,.525);
+LemonChiffon1:=(1,.98,.804);
+LemonChiffon2:=(.932,.912,.75);
+LemonChiffon3:=(.804,.79,.648);
+LemonChiffon4:=(.545,.536,.44);
+LightBlue1:=(.75,.936,1);
+LightBlue2:=(.698,.875,.932);
+LightBlue3:=(.604,.752,.804);
+LightBlue4:=(.408,.512,.545);
+LightCyan1:=(.88,1,1);
+LightCyan2:=(.82,.932,.932);
+LightCyan3:=(.705,.804,.804);
+LightCyan4:=(.48,.545,.545);
+LightGoldenrod1:=(1,.925,.545);
+LightGoldenrod2:=(.932,.864,.51);
+LightGoldenrod3:=(.804,.745,.44);
+LightGoldenrod4:=(.545,.505,.298);
+LightPink1:=(1,.684,.725);
+LightPink2:=(.932,.635,.68);
+LightPink3:=(.804,.55,.585);
+LightPink4:=(.545,.372,.396);
+LightSalmon1:=(1,.628,.48);
+LightSalmon2:=(.932,.585,.448);
+LightSalmon3:=(.804,.505,.385);
+LightSalmon4:=(.545,.34,.26);
+LightSkyBlue1:=(.69,.888,1);
+LightSkyBlue2:=(.644,.828,.932);
+LightSkyBlue3:=(.552,.712,.804);
+LightSkyBlue4:=(.376,.484,.545);
+LightSteelBlue1:=(.792,.884,1);
+LightSteelBlue2:=(.736,.824,.932);
+LightSteelBlue3:=(.635,.71,.804);
+LightSteelBlue4:=(.43,.484,.545);
+LightYellow1:=(1,1,.88);
+LightYellow2:=(.932,.932,.82);
+LightYellow3:=(.804,.804,.705);
+LightYellow4:=(.545,.545,.48);
+Magenta1:=(1,0,1);
+Magenta2:=(.932,0,.932);
+Magenta3:=(.804,0,.804);
+Magenta4:=(.545,0,.545);
+Maroon1:=(1,.204,.7);
+Maroon2:=(.932,.19,.655);
+Maroon3:=(.804,.16,.565);
+Maroon4:=(.545,.11,.385);
+MediumOrchid1:=(.88,.4,1);
+MediumOrchid2:=(.82,.372,.932);
+MediumOrchid3:=(.705,.32,.804);
+MediumOrchid4:=(.48,.215,.545);
+MediumPurple1:=(.67,.51,1);
+MediumPurple2:=(.624,.475,.932);
+MediumPurple3:=(.536,.408,.804);
+MediumPurple4:=(.365,.28,.545);
+MistyRose1:=(1,.894,.884);
+MistyRose2:=(.932,.835,.824);
+MistyRose3:=(.804,.716,.71);
+MistyRose4:=(.545,.49,.484);
+NavajoWhite1:=(1,.87,.68);
+NavajoWhite2:=(.932,.81,.63);
+NavajoWhite3:=(.804,.7,.545);
+NavajoWhite4:=(.545,.475,.37);
+OliveDrab1:=(.752,1,.244);
+OliveDrab2:=(.7,.932,.228);
+OliveDrab3:=(.604,.804,.196);
+OliveDrab4:=(.41,.545,.132);
+Orange1:=(1,.648,0);
+Orange2:=(.932,.604,0);
+Orange3:=(.804,.52,0);
+Orange4:=(.545,.352,0);
+OrangeRed1:=(1,.27,0);
+OrangeRed2:=(.932,.25,0);
+OrangeRed3:=(.804,.215,0);
+OrangeRed4:=(.545,.145,0);
+Orchid1:=(1,.512,.98);
+Orchid2:=(.932,.48,.912);
+Orchid3:=(.804,.41,.79);
+Orchid4:=(.545,.28,.536);
+PaleGreen1:=(.604,1,.604);
+PaleGreen2:=(.565,.932,.565);
+PaleGreen3:=(.488,.804,.488);
+PaleGreen4:=(.33,.545,.33);
+PaleTurquoise1:=(.732,1,1);
+PaleTurquoise2:=(.684,.932,.932);
+PaleTurquoise3:=(.59,.804,.804);
+PaleTurquoise4:=(.4,.545,.545);
+PaleVioletRed1:=(1,.51,.67);
+PaleVioletRed2:=(.932,.475,.624);
+PaleVioletRed3:=(.804,.408,.536);
+PaleVioletRed4:=(.545,.28,.365);
+PeachPuff1:=(1,.855,.725);
+PeachPuff2:=(.932,.796,.68);
+PeachPuff3:=(.804,.688,.585);
+PeachPuff4:=(.545,.468,.396);
+Pink1:=(1,.71,.772);
+Pink2:=(.932,.664,.72);
+Pink3:=(.804,.57,.62);
+Pink4:=(.545,.39,.424);
+Plum1:=(1,.732,1);
+Plum2:=(.932,.684,.932);
+Plum3:=(.804,.59,.804);
+Plum4:=(.545,.4,.545);
+Purple1:=(.608,.19,1);
+Purple2:=(.57,.172,.932);
+Purple3:=(.49,.15,.804);
+Purple4:=(.332,.1,.545);
+Red1:=(1,0,0);
+Red2:=(.932,0,0);
+Red3:=(.804,0,0);
+Red4:=(.545,0,0);
+RosyBrown1:=(1,.756,.756);
+RosyBrown2:=(.932,.705,.705);
+RosyBrown3:=(.804,.608,.608);
+RosyBrown4:=(.545,.41,.41);
+RoyalBlue1:=(.284,.464,1);
+RoyalBlue2:=(.264,.43,.932);
+RoyalBlue3:=(.228,.372,.804);
+RoyalBlue4:=(.152,.25,.545);
+Salmon1:=(1,.55,.41);
+Salmon2:=(.932,.51,.385);
+Salmon3:=(.804,.44,.33);
+Salmon4:=(.545,.298,.224);
+SeaGreen1:=(.33,1,.624);
+SeaGreen2:=(.305,.932,.58);
+SeaGreen3:=(.264,.804,.5);
+SeaGreen4:=(.18,.545,.34);
+Seashell1:=(1,.96,.932);
+Seashell2:=(.932,.898,.87);
+Seashell3:=(.804,.772,.75);
+Seashell4:=(.545,.525,.51);
+Sienna1:=(1,.51,.28);
+Sienna2:=(.932,.475,.26);
+Sienna3:=(.804,.408,.224);
+Sienna4:=(.545,.28,.15);
+SkyBlue1:=(.53,.808,1);
+SkyBlue2:=(.494,.752,.932);
+SkyBlue3:=(.424,.65,.804);
+SkyBlue4:=(.29,.44,.545);
+SlateBlue1:=(.512,.435,1);
+SlateBlue2:=(.48,.404,.932);
+SlateBlue3:=(.41,.35,.804);
+SlateBlue4:=(.28,.235,.545);
+SlateGray1:=(.776,.888,1);
+SlateGray2:=(.725,.828,.932);
+SlateGray3:=(.624,.712,.804);
+SlateGray4:=(.424,.484,.545);
+Snow1:=(1,.98,.98);
+Snow2:=(.932,.912,.912);
+Snow3:=(.804,.79,.79);
+Snow4:=(.545,.536,.536);
+SpringGreen1:=(0,1,.498);
+SpringGreen2:=(0,.932,.464);
+SpringGreen3:=(0,.804,.4);
+SpringGreen4:=(0,.545,.27);
+SteelBlue1:=(.39,.72,1);
+SteelBlue2:=(.36,.675,.932);
+SteelBlue3:=(.31,.58,.804);
+SteelBlue4:=(.21,.392,.545);
+Tan1:=(1,.648,.31);
+Tan2:=(.932,.604,.288);
+Tan3:=(.804,.52,.248);
+Tan4:=(.545,.352,.17);
+Thistle1:=(1,.884,1);
+Thistle2:=(.932,.824,.932);
+Thistle3:=(.804,.71,.804);
+Thistle4:=(.545,.484,.545);
+Tomato1:=(1,.39,.28);
+Tomato2:=(.932,.36,.26);
+Tomato3:=(.804,.31,.224);
+Tomato4:=(.545,.21,.15);
+Turquoise1:=(0,.96,1);
+Turquoise2:=(0,.898,.932);
+Turquoise3:=(0,.772,.804);
+Turquoise4:=(0,.525,.545);
+VioletRed1:=(1,.244,.59);
+VioletRed2:=(.932,.228,.55);
+VioletRed3:=(.804,.196,.47);
+VioletRed4:=(.545,.132,.32);
+Wheat1:=(1,.905,.73);
+Wheat2:=(.932,.848,.684);
+Wheat3:=(.804,.73,.59);
+Wheat4:=(.545,.494,.4);
+Yellow1:=(1,1,0);
+Yellow2:=(.932,.932,0);
+Yellow3:=(.804,.804,0);
+Yellow4:=(.545,.545,0);
+Gray0:=(.745,.745,.745);
+Green0:=(0,1,0);
+Grey0:=(.745,.745,.745);
+Maroon0:=(.69,.19,.376);
+Purple0:=(.628,.125,.94);
+enddef;
+endinput
diff --git a/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-xcolor-sty.mp b/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-xcolor-sty.mp
new file mode 100644
index 00000000000..5f573414b72
--- /dev/null
+++ b/Master/texmf-dist/metapost/mpcolornames/mpcolornames-spec-xcolor-sty.mp
@@ -0,0 +1,128 @@
+%%% file mpcolornames-spec-xcolor-sty.mp
+%%% Copyright 2009, 2011 Stephan Hennig
+%
+% This work may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, either version 1.3 of this license
+% or (at your option) any later version. The latest version of this
+% license is in http://www.latex-project.org/lppl.txt
+%
+def _mpcolornames_spec_xcolor_sty=
+rgbcolor
+rgb_red,
+rgb_green,
+rgb_blue,
+rgb_brown,
+rgb_lime,
+rgb_orange,
+rgb_pink,
+rgb_purple,
+rgb_teal,
+rgb_violet,
+rgb_cyan,
+rgb_magenta,
+rgb_yellow,
+rgb_olive,
+rgb_black,
+rgb_darkgray,
+rgb_gray,
+rgb_lightgray,
+rgb_white;
+cmykcolor
+cmyk_red,
+cmyk_green,
+cmyk_blue,
+cmyk_brown,
+cmyk_lime,
+cmyk_orange,
+cmyk_pink,
+cmyk_purple,
+cmyk_teal,
+cmyk_violet,
+cmyk_cyan,
+cmyk_magenta,
+cmyk_yellow,
+cmyk_olive,
+cmyk_black,
+cmyk_darkgray,
+cmyk_gray,
+cmyk_lightgray,
+cmyk_white;
+numeric
+grey_red,
+grey_green,
+grey_blue,
+grey_brown,
+grey_lime,
+grey_orange,
+grey_pink,
+grey_purple,
+grey_teal,
+grey_violet,
+grey_cyan,
+grey_magenta,
+grey_yellow,
+grey_olive,
+grey_black,
+grey_darkgray,
+grey_gray,
+grey_lightgray,
+grey_white;
+rgb_red:=(1,0,0);
+rgb_green:=(0,1,0);
+rgb_blue:=(0,0,1);
+rgb_brown:=(.75,.5,.25);
+rgb_lime:=(.75,1,0);
+rgb_orange:=(1,.5,0);
+rgb_pink:=(1,.75,.75);
+rgb_purple:=(.75,0,.25);
+rgb_teal:=(0,.5,.5);
+rgb_violet:=(.5,0,.5);
+rgb_cyan:=(0,1,1);
+rgb_magenta:=(1,0,1);
+rgb_yellow:=(1,1,0);
+rgb_olive:=(.5,.5,0);
+rgb_black:=(0,0,0);
+rgb_darkgray:=(.25,.25,.25);
+rgb_gray:=(.5,.5,.5);
+rgb_lightgray:=(.75,.75,.75);
+rgb_white:=(1,1,1);
+cmyk_red:=(0,1,1,0);
+cmyk_green:=(1,0,1,0);
+cmyk_blue:=(1,1,0,0);
+cmyk_brown:=(0,.25,.5,.25);
+cmyk_lime:=(.25,0,1,0);
+cmyk_orange:=(0,.5,1,0);
+cmyk_pink:=(0,.25,.25,0);
+cmyk_purple:=(0,.75,.5,.25);
+cmyk_teal:=(.5,0,0,.5);
+cmyk_violet:=(0,.5,0,.5);
+cmyk_cyan:=(1,0,0,0);
+cmyk_magenta:=(0,1,0,0);
+cmyk_yellow:=(0,0,1,0);
+cmyk_olive:=(0,0,1,.5);
+cmyk_black:=(0,0,0,1);
+cmyk_darkgray:=(0,0,0,.75);
+cmyk_gray:=(0,0,0,.5);
+cmyk_lightgray:=(0,0,0,.25);
+cmyk_white:=(0,0,0,0);
+grey_red:=.3;
+grey_green:=.59;
+grey_blue:=.11;
+grey_brown:=.5475;
+grey_lime:=.815;
+grey_orange:=.595;
+grey_pink:=.825;
+grey_purple:=.2525;
+grey_teal:=.35;
+grey_violet:=.205;
+grey_cyan:=.7;
+grey_magenta:=.41;
+grey_yellow:=.89;
+grey_olive:=.39;
+grey_black:=0;
+grey_darkgray:=.25;
+grey_gray:=.5;
+grey_lightgray:=.75;
+grey_white:=1;
+enddef;
+endinput
diff --git a/Master/texmf-dist/metapost/mpcolornames/mpcolornames.mp b/Master/texmf-dist/metapost/mpcolornames/mpcolornames.mp
new file mode 100644
index 00000000000..68414cef2aa
--- /dev/null
+++ b/Master/texmf-dist/metapost/mpcolornames/mpcolornames.mp
@@ -0,0 +1,60 @@
+%%% file mpcolornames.mp
+%%% Copyright 2009, 2011 Stephan Hennig
+%
+% This work may be distributed and/or modified under the conditions of
+% the LaTeX Project Public License, either version 1.3 of this license
+% or (at your option) any later version. The latest version of this
+% license is in http://www.latex-project.org/lppl.txt
+%
+if known mpcolornames_fileversion: endinput fi;
+string mpcolornames_fileversion;
+mpcolornames_fileversion := "v0.20 (2011/07/14)";
+message "Loading package mpcolornames.mp " & mpcolornames_fileversion;
+
+%%% Load color name definitions.
+input mpcolornames-spec-dvipsnam-def
+input mpcolornames-spec-svgnam-def
+input mpcolornames-spec-x11nam-def
+input mpcolornames-spec-xcolor-sty
+
+%%% Declare all color variable identifiers.
+_mpcolornames_spec_dvipsnam_def;
+_mpcolornames_spec_svgnam_def;
+_mpcolornames_spec_xelevennam_def;
+_mpcolornames_spec_xcolor_sty;
+
+
+%%% This user macro saves all color identifiers clashing
+%%% in DVIPS and SVG specification and re-declares all
+%%% DVIPS color names (see macro svgnames).
+def dvipsnames=
+save Aquamarine, Black, Blue, BlueViolet, Brown, CadetBlue,
+ CornflowerBlue, Cyan, DarkOrchid, ForestGreen, Fuchsia, Goldenrod,
+ Gray, Green, GreenYellow, Lavender, LimeGreen, Magenta, Maroon,
+ MidnightBlue, NavyBlue, Orange, OrangeRed, Orchid, Plum, Purple, Red,
+ RoyalBlue, Salmon, SeaGreen, SkyBlue, SpringGreen, Tan, Thistle,
+ Turquoise, Violet, VioletRed, White, Yellow, YellowGreen;
+ _mpcolornames_spec_dvipsnam_def;
+enddef;
+
+%%% This user macro saves all color identifiers clashing
+%%% in DVIPS and SVG specification and re-declares all
+%%% SVG color names (see macro dvipsnames).
+def svgnames=
+save Aquamarine, Black, Blue, BlueViolet, Brown, CadetBlue,
+ CornflowerBlue, Cyan, DarkOrchid, ForestGreen, Fuchsia, Goldenrod,
+ Gray, Green, GreenYellow, Lavender, LimeGreen, Magenta, Maroon,
+ MidnightBlue, NavyBlue, Orange, OrangeRed, Orchid, Plum, Purple, Red,
+ RoyalBlue, Salmon, SeaGreen, SkyBlue, SpringGreen, Tan, Thistle,
+ Turquoise, Violet, VioletRed, White, Yellow, YellowGreen;
+ _mpcolornames_spec_svgnam_def;
+enddef;
+
+%%% Define color model constants.
+newinternal nomodel, greyscalemodel, rgbmodel, cmykmodel;
+nomodel := 1;
+greyscalemodel := 3;
+rgbmodel := 5;
+cmykmodel := 7;
+
+endinput
diff --git a/Master/texmf-dist/source/metapost/mpcolornames/Makefile b/Master/texmf-dist/source/metapost/mpcolornames/Makefile
new file mode 100644
index 00000000000..e4464e71fca
--- /dev/null
+++ b/Master/texmf-dist/source/metapost/mpcolornames/Makefile
@@ -0,0 +1,76 @@
+PDFLATEX = pdflatex
+MPOST = mpost
+MARKDOWN = markdown
+AWK = gawk
+CD = cd
+CP = cp
+RM = rm -f
+ZIP = zip
+PACKAGE=mpcolornames
+VERSION=v020
+
+
+.PHONY: all note clean doc todo release colorspecs
+
+
+note:
+ @echo "*** Makefile for $(PACKAGE) package ***"
+ @echo "Please type:"
+ @echo "make doc to build documentation."
+ @echo "make todo to build TODO list."
+ @echo "make clean to clean this directory."
+ @echo "make release to build a CTAN package."
+ @echo "make colorspecs to process .def files."
+
+
+all: doc
+
+
+doc: $(PACKAGE).pdf
+
+
+todo: TODO.html
+
+clean:
+ $(RM) *.aux *.bbl *.blg *.log *.out *.toc *.mps
+ $(RM) mpcolornames-spec-*.mp proof-spec-*.mp tab-spec-*.tex tab-clash-*.tex
+
+
+$(PACKAGE).pdf: colorspecs tab-clash
+ $(MPOST) expl-array-index
+ $(MPOST) fig-clash-svg-dvips
+ $(MPOST) proof-spec-dvipsnam-def
+ $(MPOST) proof-spec-svgnam-def
+ $(MPOST) proof-spec-x11nam-def
+ $(MPOST) proof-spec-xcolor-sty
+ $(MPOST) proof-spec-plain-mp
+ $(PDFLATEX) $(PACKAGE)
+ $(PDFLATEX) $(PACKAGE)
+ $(PDFLATEX) $(PACKAGE)
+
+
+TODO.html: TODO.mkd
+ $(MARKDOWN) $<
+
+
+colorspecs:
+ $(AWK) -f spec-svgnam-def.awk svgnam.def
+ $(AWK) -f spec-dvipsnam-def.awk dvipsnam.def
+ $(AWK) -f spec-x11nam-def.awk x11nam.def
+ $(AWK) -f spec-xcolor-sty.awk xcolor.sty
+ $(AWK) -f spec-plain-mp.awk plain.mp
+
+
+tab-clash:
+ $(AWK) -f tab-clash-svg-dvips.awk mpcolornames-spec-svgnam-def.mp mpcolornames-spec-dvipsnam-def.mp
+
+
+release: doc
+ $(RM) package/$(PACKAGE)-*.zip
+ $(RM) package/texmf/metapost/$(PACKAGE)/*
+ $(RM) package/texmf/doc/metapost/$(PACKAGE)/*
+ $(RM) package/texmf/source/metapost/$(PACKAGE)/*
+ $(CP) $(PACKAGE)*.mp package/texmf/metapost/$(PACKAGE)/
+ $(CP) $(PACKAGE).tex tab-*.tex expl-*.mp fig-*.mp CHANGES LICENSE README $(PACKAGE).pdf proof-*.mp package/texmf/doc/metapost/$(PACKAGE)/
+ $(CP) *.awk Makefile package/texmf/source/metapost/$(PACKAGE)/
+ $(CD) package && $(ZIP) -9r $(PACKAGE)-$(VERSION) texmf && $(CD) ..
diff --git a/Master/texmf-dist/source/metapost/mpcolornames/spec-dvipsnam-def.awk b/Master/texmf-dist/source/metapost/mpcolornames/spec-dvipsnam-def.awk
new file mode 100644
index 00000000000..5d57ac5c0db
--- /dev/null
+++ b/Master/texmf-dist/source/metapost/mpcolornames/spec-dvipsnam-def.awk
@@ -0,0 +1,72 @@
+### file spec-dvipsnam-def.awk
+### Copyright 2009, 2011 Stephan Hennig
+#
+# This work may be distributed and/or modified under the conditions of
+# the LaTeX Project Public License, either version 1.3 of this license
+# or (at your option) any later version. The latest version of this
+# license is in http://www.latex-project.org/lppl.txt
+#
+BEGIN {
+ FS = "{|}|,"
+ i = 0
+}
+# file version
+/\[[0-9]+\/[0-9]+\/[0-9]+ v[0-9.]+[a-z]* .*\]/ {
+ match($0, "v[0-9.]+[a-z]*")
+ version = substr($0, RSTART, RLENGTH)
+}
+# CMYK color spec
+/^\\DefineNamedColor\{named\}\{[a-zA-Z]+\} *\{cmyk\}\{[0-9.]+,[0-9.]+,[0-9.]+,[0-9.]+\}/ {
+ i++
+ name[i] = $4
+ c[i] = $8
+ m[i] = $9
+ y[i] = $10
+ k[i] = $11
+# print name[i] "=(" c[i] "," m[i] "," y[i] "," k[i] ")"
+}
+END {
+ print "Found " i " DVIPS colors (" version ")."
+# Build file mpcolornames-spec-dvipsnam-def.mp.
+ file = "mpcolornames-spec-dvipsnam-def.mp"
+ print "%%% file " file > file
+ print "%%% Copyright 2009, 2011 Stephan Hennig" >> file
+ print "%" >> file
+ print "% This work may be distributed and/or modified under the conditions of" >> file
+ print "% the LaTeX Project Public License, either version 1.3 of this license" >> file
+ print "% or (at your option) any later version. The latest version of this" >> file
+ print "% license is in http://www.latex-project.org/lppl.txt" >> file
+ print "%" >> file
+ print "def _mpcolornames_spec_dvipsnam_def=" >> file
+ print "cmykcolor" >> file
+ for (j = 1; j < i; j++) print name[j] "," >> file
+ print name[i] ";" >> file
+ for (j = 1; j <= i; j++) print name[j] ":=(" c[j] "," m[j] "," y[j] "," k[j] ");" >> file
+ print "enddef;" >> file
+ print "endinput" >> file
+
+# Build file proof-spec-dvipsnam-def.mp.
+ file = "proof-spec-dvipsnam-def.mp"
+ print "%%% file " file > file
+ print "input proof-mpcolornames" >> file
+ print "dvipsnames;" >> file
+ print "defaultcolormodel := 7;% CMYK" >> file
+ print "specname := \"dvipsnam-def\";" >> file
+ for (j = 1; j <= i; j++) print "proof(" name[j] ");" >> file
+ print "end" >> file
+
+# Build file tab-spec-dvipsnam-def.tex.
+ file = "tab-spec-dvipsnam-def.tex"
+ print "%%% file " file > file
+ print "\\vspace{\\floatsep}" >> file
+ print "\\begin{multicols}{4}[\\noindent\\parbox{\\textwidth}{%" >> file
+ print " \\captionof{table}{CMYK colors from DVIPS specification.}%" >> file
+ print " \\label{tab:spec-dvipsnam-def}%" >> file
+ print " \\footnotesize Taken from file \\texttt{dvipsnam.def} " version " as distributed by \\LaTeX\\ package \\name{color} (" i " colors)." >> file
+ print " }]" >> file
+ print " \\raggedcolumns" >> file
+ print " \\setlength{\\parindent}{0pt}" >> file
+ print " \\ttfamily\\small\\color{mpcolor}" >> file
+ for (j = 1; j <= i; j++) print "\\colorproof[dvipsnam-def]{" name[j] "}\\par" >> file
+ print "\\end{multicols}" >> file
+}
diff --git a/Master/texmf-dist/source/metapost/mpcolornames/spec-plain-mp.awk b/Master/texmf-dist/source/metapost/mpcolornames/spec-plain-mp.awk
new file mode 100644
index 00000000000..ab9c64eb97d
--- /dev/null
+++ b/Master/texmf-dist/source/metapost/mpcolornames/spec-plain-mp.awk
@@ -0,0 +1,72 @@
+### file spec-plain-mp.awk
+### Copyright 2009, 2011 Stephan Hennig
+#
+# This work may be distributed and/or modified under the conditions of
+# the LaTeX Project Public License, either version 1.3 of this license
+# or (at your option) any later version. The latest version of this
+# license is in http://www.latex-project.org/lppl.txt
+#
+BEGIN {
+ FS = " = |\\(|\\)|,"
+ i = 0
+}
+# file version
+/base_version=\"[0-9.]+[a-z]*\";/ {
+ match($0, "base_version=\"[0-9.]+[a-z]*\"")
+ version = substr($0, RSTART, RLENGTH)
+ match($0, "[0-9.]+[a-z]*")
+ version = substr($0, RSTART, RLENGTH)
+}
+# RGB color spec
+/^[a-z]+ = \([0-9.]+,[0-9.]+,[0-9.]+\);$/ {
+ i++
+ name[i] = $1
+ r[i] = $3
+ g[i] = $4
+ b[i] = $5
+# print name[i] "=(" r[i] "," g[i] "," b[i] ")"
+}
+END {
+ print "Found " i " plain.mp colors (" version ")."
+# Build file mpcolornames-spec-plain-mp.mp.
+ file = "mpcolornames-spec-plain-mp.mp"
+ print "%%% file " file > file
+ print "%%% Copyright 2009, 2011 Stephan Hennig" >> file
+ print "%" >> file
+ print "% This work may be distributed and/or modified under the conditions of" >> file
+ print "% the LaTeX Project Public License, either version 1.3 of this license" >> file
+ print "% or (at your option) any later version. The latest version of this" >> file
+ print "% license is in http://www.latex-project.org/lppl.txt" >> file
+ print "%" >> file
+ print "def _mpcolornames_spec_plain_mp=" >> file
+ print "rgbcolor" >> file
+ for (j = 1; j < i; j++) print name[j] "," >> file
+ print name[i] ";" >> file
+ for (j = 1; j <= i; j++) print name[j] ":=(" r[j] "," g[j] "," b[j] ");" >> file
+ print "enddef;" >> file
+ print "endinput" >> file
+
+# Build file proof-spec-plain-mp.mp.
+ file = "proof-spec-plain-mp.mp"
+ print "%%% file " file > file
+ print "input proof-mpcolornames" >> file
+ print "defaultcolormodel := 5;% RGB" >> file
+ print "specname := \"plain-mp\";" >> file
+ for (j = 1; j <= i; j++) print "proof(" name[j] ");" >> file
+ print "end" >> file
+
+# Build file tab-spec-plain-mp.tex.
+ file = "tab-spec-plain-mp.tex"
+ print "%%% file " file > file
+ print "\\vspace{\\floatsep}" >> file
+ print "\\begin{multicols}{5}[\\noindent\\parbox{\\textwidth}{%" >> file
+ print " \\captionof{table}{Default RGB colors in MetaPost.}%" >> file
+ print " \\label{tab:spec-plain-mp}%" >> file
+ print " \\footnotesize Taken from file \\texttt{plain.mp} " version " as distributed by MetaPost (" i " colors)." >> file
+ print " }]" >> file
+ print " \\raggedcolumns" >> file
+ print " \\setlength{\\parindent}{0pt}" >> file
+ print " \\ttfamily\\small\\color{mpcolor}" >> file
+ for (j = 1; j <= i; j++) print "\\colorproof[plain-mp]{" name[j] "}\\par" >> file
+ print "\\end{multicols}" >> file
+}
diff --git a/Master/texmf-dist/source/metapost/mpcolornames/spec-svgnam-def.awk b/Master/texmf-dist/source/metapost/mpcolornames/spec-svgnam-def.awk
new file mode 100644
index 00000000000..060be65b733
--- /dev/null
+++ b/Master/texmf-dist/source/metapost/mpcolornames/spec-svgnam-def.awk
@@ -0,0 +1,70 @@
+### file spec-svgnam-def.awk
+### Copyright 2009, 2011 Stephan Hennig
+#
+# This work may be distributed and/or modified under the conditions of
+# the LaTeX Project Public License, either version 1.3 of this license
+# or (at your option) any later version. The latest version of this
+# license is in http://www.latex-project.org/lppl.txt
+#
+BEGIN {
+ FS = ",|;|}"
+ i = 0
+}
+# file version
+/\[[0-9]+\/[0-9]+\/[0-9]+ v[0-9.]+[a-z]* .*\]/ {
+ match($0, "v[0-9.]+[a-z]*")
+ version = substr($0, RSTART, RLENGTH)
+}
+# RGB color spec
+/[a-z]+,[0-9.]+,[0-9.]+,[0-9.]+[;}]/ {
+ i++
+ name[i] = $1
+ r[i] = $2
+ g[i] = $3
+ b[i] = $4
+# print name[i] "=(" r[i] "," g[i] "," b[i] ")"
+}
+END {
+ print "Found " i " SVG colors (" version ")."
+# Build file mpcolornames-spec-svgnam-def.mp.
+ file = "mpcolornames-spec-svgnam-def.mp"
+ print "%%% file " file > file
+ print "%%% Copyright 2009, 2011 Stephan Hennig" >> file
+ print "%" >> file
+ print "% This work may be distributed and/or modified under the conditions of" >> file
+ print "% the LaTeX Project Public License, either version 1.3 of this license" >> file
+ print "% or (at your option) any later version. The latest version of this" >> file
+ print "% license is in http://www.latex-project.org/lppl.txt" >> file
+ print "%" >> file
+ print "def _mpcolornames_spec_svgnam_def=" >> file
+ print "rgbcolor" >> file
+ for (j = 1; j < i; j++) print name[j] "," >> file
+ print name[i] ";" >> file
+ for (j = 1; j <= i; j++) print name[j] ":=(" r[j] "," g[j] "," b[j] ");" >> file
+ print "enddef;" >> file
+ print "endinput" >> file
+
+# Build file proof-spec-svgnam-def.mp.
+ file = "proof-spec-svgnam-def.mp"
+ print "%%% file " file > file
+ print "input proof-mpcolornames" >> file
+ print "defaultcolormodel := 5;% RGB" >> file
+ print "specname := \"svgnam-def\";" >> file
+ for (j = 1; j <= i; j++) print "proof(" name[j] ");" >> file
+ print "end" >> file
+
+# Build file tab-spec-svgnam-def.tex.
+ file = "tab-spec-svgnam-def.tex"
+ print "%%% file " file > file
+ print "\\vspace{\\floatsep}" >> file
+ print "\\begin{multicols}{4}[\\noindent\\parbox{\\textwidth}{%" >> file
+ print " \\captionof{table}{RGB colors from SVG specification.}%" >> file
+ print " \\label{tab:spec-svgnam-def}%" >> file
+ print " \\footnotesize Taken from file \\texttt{svgnam.def} " version " as distributed by \\LaTeX\\ package \\name{xcolor} (" i " colors)." >> file
+ print " }]" >> file
+ print " \\raggedcolumns" >> file
+ print " \\setlength{\\parindent}{0pt}" >> file
+ print " \\ttfamily\\small\\color{mpcolor}" >> file
+ for (j = 1; j <= i; j++) print "\\colorproof[svgnam-def]{" name[j] "}\\par" >> file
+ print "\\end{multicols}" >> file
+}
diff --git a/Master/texmf-dist/source/metapost/mpcolornames/spec-x11nam-def.awk b/Master/texmf-dist/source/metapost/mpcolornames/spec-x11nam-def.awk
new file mode 100644
index 00000000000..64e4e9c6b4e
--- /dev/null
+++ b/Master/texmf-dist/source/metapost/mpcolornames/spec-x11nam-def.awk
@@ -0,0 +1,81 @@
+### file spec-x11nam-def.awk
+### Copyright 2009, 2011 Stephan Hennig
+#
+# This work may be distributed and/or modified under the conditions of
+# the LaTeX Project Public License, either version 1.3 of this license
+# or (at your option) any later version. The latest version of this
+# license is in http://www.latex-project.org/lppl.txt
+#
+BEGIN {
+ FS = ",|;|}"
+ i = 0
+ j = 0
+}
+# file version
+/\[[0-9]+\/[0-9]+\/[0-9]+ v[0-9.]+[a-z]* .*\]/ {
+ match($0, "v[0-9.]+[a-z]*")
+ version = substr($0, RSTART, RLENGTH)
+}
+# RGB color spec
+/^[a-zA-Z]+[0-9],[0-9.]+,[0-9.]+,[0-9.]+[;}]/ {
+ i++
+ name[i] = $1
+ r[i] = $2
+ g[i] = $3
+ b[i] = $4
+ basename = name[i]
+ sub(/[0-9]+$/, "", basename)
+ flag = 0
+ for (n = 1; n <= j; n++)
+ if (bname[n] == basename) flag = 1
+ if (flag == 0) {
+ j++
+ bname[j] = basename
+ }
+# print basename ":" name[i] "=(" r[i] "," g[i] "," b[i] ")"
+}
+END {
+ print "Found " i " X11 colors (" version ")."
+ print "Found " j " X11 color base names."
+# Build file mpcolornames-spec-x11nam-def.mp.
+ file = "mpcolornames-spec-x11nam-def.mp"
+ print "%%% file " file > file
+ print "%%% Copyright 2009, 2011 Stephan Hennig" >> file
+ print "%" >> file
+ print "% This work may be distributed and/or modified under the conditions of" >> file
+ print "% the LaTeX Project Public License, either version 1.3 of this license" >> file
+ print "% or (at your option) any later version. The latest version of this" >> file
+ print "% license is in http://www.latex-project.org/lppl.txt" >> file
+ print "%" >> file
+ print "def _mpcolornames_spec_xelevennam_def=" >> file
+ print "rgbcolor" >> file
+ for (n = 1; n < j; n++) print bname[n] "[]," >> file
+ print bname[j] "[];" >> file
+ for (n = 1; n <= i; n++) print name[n] ":=(" r[n] "," g[n] "," b[n] ");" >> file
+ print "enddef;" >> file
+ print "endinput" >> file
+
+# Build file proof-spec-x11nam-def.mp.
+ file = "proof-spec-x11nam-def.mp"
+ print "%%% file " file > file
+ print "input proof-mpcolornames" >> file
+ print "defaultcolormodel := 5;% RGB" >> file
+ print "specname := \"x11nam-def\";" >> file
+ for (n = 1; n <= i; n++) print "proof(" name[n] ");" >> file
+ print "end" >> file
+
+# Build file tab-spec-x11nam-def.tex.
+ file = "tab-spec-x11nam-def.tex"
+ print "%%% file " file > file
+ print "\\vspace{\\floatsep}" >> file
+ print "\\begin{multicols}{4}[\\noindent\\parbox{\\textwidth}{%" >> file
+ print " \\captionof{table}{RGB colors from X11 specification.}%" >> file
+ print " \\label{tab:spec-x11nam-def}%" >> file
+ print " \\footnotesize Taken from file \\texttt{x11nam.def} " version " as distributed by \\LaTeX\\ package \\name{xcolor} (" i " colors)." >> file
+ print " }]" >> file
+ print " \\raggedcolumns" >> file
+ print " \\setlength{\\parindent}{0pt}" >> file
+ print " \\ttfamily\\small\\color{mpcolor}" >> file
+ for (n = 1; n <= i; n++) print "\\colorproof[x11nam-def]{" name[n] "}\\par" >> file
+ print "\\end{multicols}" >> file
+}
diff --git a/Master/texmf-dist/source/metapost/mpcolornames/spec-xcolor-sty.awk b/Master/texmf-dist/source/metapost/mpcolornames/spec-xcolor-sty.awk
new file mode 100644
index 00000000000..fbf5e3db851
--- /dev/null
+++ b/Master/texmf-dist/source/metapost/mpcolornames/spec-xcolor-sty.awk
@@ -0,0 +1,130 @@
+### file spec-xcolor-sty.awk
+### Copyright 2009, 2011 Stephan Hennig
+#
+# This work may be distributed and/or modified under the conditions of
+# the LaTeX Project Public License, either version 1.3 of this license
+# or (at your option) any later version. The latest version of this
+# license is in http://www.latex-project.org/lppl.txt
+#
+BEGIN {
+ FS = ",|;|}|{| |/"
+ i = 0
+}
+# file version
+/\[[0-9]+\/[0-9]+\/[0-9]+ v[0-9.]+[a-z]* .*\]/ {
+ match($0, "v[0-9.]+[a-z]*")
+ version = substr($0, RSTART, RLENGTH)
+}
+# rgb/hsb/cmyk/gray
+/[a-z]+,[0-9.]+,[0-9.]+,[0-9.]+\/[0-9.]+,[0-9.]+,[0-9.]+\/[0-9.]+,[0-9.]+,[0-9.]+,[0-9.]+\/[0-9.]+[;}]/ {
+ i++
+ name[i] = $3
+ r[i] = $4
+ g[i] = $5
+ b[i] = $6
+ hu[i] = $7
+ sa[i] = $8
+ br[i] = $9
+ c[i] = $10
+ m[i] = $11
+ y[i] = $12
+ k[i] = $13
+ gry[i] = $14
+# print name[i] "=(" r[i] "," g[i] "," b[i] ")(" hu[i] "," sa[i] "," br[i] ")(" c[i] "," m[i] "," y[i] "," k[i] ")(" gry[i] ")"
+}
+# cmyk/rgb/hsb/gray
+/[a-z]+,[0-9.]+,[0-9.]+,[0-9.]+,[0-9.]+\/[0-9.]+,[0-9.]+,[0-9.]+\/[0-9.]+,[0-9.]+,[0-9.]+\/[0-9.]+[;}]/ {
+ i++
+ name[i] = $3
+ c[i] = $4
+ m[i] = $5
+ y[i] = $6
+ k[i] = $7
+ r[i] = $8
+ g[i] = $9
+ b[i] = $10
+ hu[i] = $11
+ sa[i] = $12
+ br[i] = $13
+ gry[i] = $14
+# print name[i] "=(" c[i] "," m[i] "," y[i] "," k[i] ")(" r[i] "," g[i] "," b[i] ")(" hu[i] "," sa[i] "," br[i] ")(" gry[i] ")"
+}
+# gray/rgb/hsb/cmyk
+/[a-z]+,[0-9.]+\/[0-9.]+,[0-9.]+,[0-9.]+\/[0-9.]+,[0-9.]+,[0-9.]+\/[0-9.]+,[0-9.]+,[0-9.]+,[0-9.]+[;}]/ {
+ i++
+ name[i] = $3
+ gry[i] = $4
+ r[i] = $5
+ g[i] = $6
+ b[i] = $7
+ hu[i] = $8
+ sa[i] = $9
+ br[i] = $10
+ c[i] = $11
+ m[i] = $12
+ y[i] = $13
+ k[i] = $14
+# print name[i] "=(" gry[i] ")(" r[i] "," g[i] "," b[i] ")(" hu[i] "," sa[i] "," br[i] ")(" c[i] "," m[i] "," y[i] "," k[i] ")"
+}
+END {
+ print "Found " i " base colors (" version ")."
+# Build file mpcolornames-spec-xcolor-sty.mp.
+ file = "mpcolornames-spec-xcolor-sty.mp"
+ print "%%% file " file > file
+ print "%%% Copyright 2009, 2011 Stephan Hennig" >> file
+ print "%" >> file
+ print "% This work may be distributed and/or modified under the conditions of" >> file
+ print "% the LaTeX Project Public License, either version 1.3 of this license" >> file
+ print "% or (at your option) any later version. The latest version of this" >> file
+ print "% license is in http://www.latex-project.org/lppl.txt" >> file
+ print "%" >> file
+ print "def _mpcolornames_spec_xcolor_sty=" >> file
+ print "rgbcolor" >> file
+ for (j = 1; j < i; j++) print "rgb_" name[j] "," >> file
+ print "rgb_" name[i] ";" >> file
+ print "cmykcolor" >> file
+ for (j = 1; j < i; j++) print "cmyk_" name[j] "," >> file
+ print "cmyk_" name[i] ";" >> file
+ print "numeric" >> file
+ for (j = 1; j < i; j++) print "grey_" name[j] "," >> file
+ print "grey_" name[i] ";" >> file
+ for (j = 1; j <= i; j++) print "rgb_" name[j] ":=(" r[j] "," g[j] "," b[j] ");" >> file
+ for (j = 1; j <= i; j++) print "cmyk_" name[j] ":=(" c[j] "," m[j] "," y[j] "," k[j] ");" >> file
+ for (j = 1; j <= i; j++) print "grey_" name[j] ":=" gry[j] ";" >> file
+ print "enddef;" >> file
+ print "endinput" >> file
+
+
+# Build file proof-spec-xcolor-sty.mp.
+ file = "proof-spec-xcolor-sty.mp"
+ print "%%% file " file > file
+ print "input proof-mpcolornames" >> file
+ print "specname := \"xcolor-sty\";" >> file
+ print "defaultcolormodel := 5;% RGB" >> file
+ for (j = 1; j <= i; j++) print "proof(rgb_" name[j] ");" >> file
+ print "defaultcolormodel := 7;% CMYK" >> file
+ for (j = 1; j <= i; j++) print "proof(cmyk_" name[j] ");" >> file
+ print "defaultcolormodel := 3;% grey scale" >> file
+ for (j = 1; j <= i; j++) print "proof(grey_" name[j] ");" >> file
+ print "end" >> file
+
+# Build file tab-spec-xcolor-sty.tex.
+ file = "tab-spec-xcolor-sty.tex"
+ print "%%% file " file > file
+# print "\\vspace{\\floatsep}" >> file
+ print "\\begingroup" >> file
+ print "\\ttfamily\\small\\color{mpcolor}" >> file
+ print "\\setlength{\\tabcolsep}{.5\\columnsep}" >> file
+ print "\\setlength{\\tabcolwidth}{\\textwidth}" >> file
+ print "\\addtolength{\\tabcolwidth}{-4\\tabcolsep}" >> file
+ print "\\setlength{\\tabcolwidth}{.333\\tabcolwidth}" >> file
+ print "\\begin{longtable}{@{}*{3}{p{\\tabcolwidth}}@{}}" >> file
+ print " \\caption{RGB, CMYK, and grey~scale colors from \\LaTeX\\ package \\name{xcolor}.}%" >> file
+ print " \\label{tab:spec-xcolor-sty}\\\\" >> file
+ print "\\multicolumn{3}{l}{\\normalfont\\footnotesize\\normalcolor Taken from file \\texttt{xcolor.sty} " version " as distributed by \\LaTeX\\ package \\name{xcolor} (" i " colors, with augmented names).}" >> file
+ print "\\endfirsthead" >> file
+ print "" >> file
+ for (j = 1; j <= i; j++) print "\\colorproof[xcolor-sty]{" name[j] "}\\\\" >> file
+ print "\\end{longtable}" >> file
+ print "\\endgroup" >> file
+}
diff --git a/Master/texmf-dist/source/metapost/mpcolornames/tab-clash-svg-dvips.awk b/Master/texmf-dist/source/metapost/mpcolornames/tab-clash-svg-dvips.awk
new file mode 100644
index 00000000000..0fd63a95f8a
--- /dev/null
+++ b/Master/texmf-dist/source/metapost/mpcolornames/tab-clash-svg-dvips.awk
@@ -0,0 +1,40 @@
+### file tab-clash-svg-dvips.awk
+### Copyright 2009, 2011 Stephan Hennig
+#
+# This work may be distributed and/or modified under the conditions of
+# the LaTeX Project Public License, either version 1.3 of this license
+# or (at your option) any later version. The latest version of this
+# license is in http://www.latex-project.org/lppl.txt
+#
+BEGIN {
+ FS = ":=|(|)|,"
+}
+/^[^:]+:=[(]*[0-9.,]+[)]*);$/ {
+ name = $1
+ color[$1] = color[$1] + 1
+# print name
+}
+END {
+# Build file tab-clash-dvips-svg.tex.
+ file = "tab-clash-svg-dvips.tex"
+ print "%%% file " file > file
+ print "\\vspace{\\floatsep}" >> file
+ print "\\begin{multicols}{4}[\\noindent\\parbox{\\textwidth}{%" >> file
+ print " \\captionof{table}{Color names clashing in SVG (left) and DVIPS (right) specifications.}%" >> file
+ print " \\label{tab:clash-svg-dvips}%" >> file
+ print " }]" >> file
+ print " \\raggedcolumns" >> file
+ print " \\setlength{\\parindent}{0pt}" >> file
+ print " \\ttfamily\\small\\color{mpcolor}" >> file
+ ncolors = asorti(color, sortcolor)# requires gawk
+ n = 0
+ for (i = 1; i <= ncolors; i++) {
+ name = sortcolor[i]
+ if (color[name] > 1) {
+ n++
+ print "\\colorproof{" name "}\\par" >> file
+ }
+ }
+ print "\\end{multicols}" >> file
+ print "Found " n " color names clashing in SVG and DVIPS specs."
+}
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 611d3230f91..a0ae7c4a808 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -244,7 +244,7 @@ my @TLP_working = qw(
mla-paper mlist mmap mnsymbol
moderncv modref modroman mongolian-babel montex
moreenum morefloats morehype moresize
- moreverb morewrites movie15 mp3d mparhack mpgraphics
+ moreverb morewrites movie15 mp3d mparhack mpcolornames mpgraphics
mpman-ru ms msc msg mslapa msuthesis mtgreek
multenum multibbl multibib multicap multirow
multido multiobjective munich musixguit musixtex muthesis
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index c2ee6510b44..c07a63f4587 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -538,6 +538,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'movie15', "&MAKEflatten",
'mp3d', "&MAKEflatten",
'mpattern', "&MAKEmpattern",
+ 'mpcolornames',"&MAKEcopy",
'mpdinbrief', "die 'skipping, nosell license'",
'mptopdf', "die 'skipping, not ready, sorry'", #"&MAKEflatten",
'msu-thesis', "die 'skipping, use msuthesis'",
diff --git a/Master/tlpkg/tlpsrc/collection-metapost.tlpsrc b/Master/tlpkg/tlpsrc/collection-metapost.tlpsrc
index 216f8421af8..93ff77c31b8 100644
--- a/Master/tlpkg/tlpsrc/collection-metapost.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-metapost.tlpsrc
@@ -25,6 +25,7 @@ depend metauml
depend mfpic
depend mfpic4ode
depend mp3d
+depend mpcolornames
depend mpgraphics
depend mpattern
depend piechartmp
diff --git a/Master/tlpkg/tlpsrc/mpcolornames.tlpsrc b/Master/tlpkg/tlpsrc/mpcolornames.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/mpcolornames.tlpsrc