% !TEX TS-program = pdflatexmk
\documentclass[11pt]{article} 
\usepackage[margin=1in]{geometry} 
\usepackage[parfill]{parskip}% 
\usepackage{url} 
\pdfmapfile{=zmn.map}
%SetFonts 
% Minion2Pro+newtxmath
\usepackage[osf,onlytext]{MinionPro}
\usepackage[T1]{fontenc}
\usepackage{MyriadPro} % matching sans serif
\usepackage[scaled=0.85]{beramono}
\usepackage{amsthm} 
\usepackage[minion,vvarbb]{newtxmath}
\usepackage{bm}
%SetFonts
\usepackage{fonttable}
\usepackage{booktabs,url}
\usepackage{hyperref}
\title{Minion2 (zmn) as an add-on to the New TX font package}
\author{Michael Sharpe}
\date{\today}  % Activate to display a given date or no date

\begin{document}
\maketitle
\section{Preliminaries}
This is an update of the now non-functional {\tt minion2newtx} from 2012. The package \textsf{newtxmath} (versions 1.626 and higher) with option {\tt minion} makes available MinionPro letters (Latin and Greek) within as math alphabets within the math fonts,  with a modified math italic v ($v$) that is distinct from \verb|\nu| ($\nu$). There is also a matching $w$.
\begin{itemize}
\item
You must use a recent version (2.0 or higher) of MinionPro, such as the version that comes with recent versions of Adobe Reader. As of this writing, version 2.112 is provided. In the version for Mac OS, these fonts are provided in the application file itself, which is, in reality, a folder. The path to the font folder is
\begin{verbatim}
"/Applications/Adobe Acrobat Reader DC.app/Contents/Resources/Resource/Font"
\end{verbatim}
\item You might also be interested in {\tt MyriadPro} from the same source. \textsf{Sample: MyriadPro is a sans serif font that is an excellent partner to MinionPro.}

 
\end{itemize}
\subsection{How to install your MinionPro fonts for \LaTeX}
The production of MinionPro support files for \LaTeX is handled by the FontPro package by Sebastian Schubert, available from:
\begin{verbatim}
https://github.com/sebschub/FontPro
\end{verbatim}

The result of your download, after expansion, should be a folder named {\tt FontPro-Master} containing at its top level a file {\tt README.md} with processing instructions. For almost all \LaTeX\ users, the default options will suffice, in which case the following steps will work: 
\begin{itemize}
\item
Make a new folder {\tt otf} at the top level of {\tt FontPro-Master}.
\item Copy the {\tt MinionPro} {\tt otf} files into that {\tt otf} folder.
\item Start a new {\tt Terminal} window and {\tt cd} into {\tt FontPro-Master}.
\item Type in the command
\begin{verbatim}
./scripts/makeall MinionPro
\end{verbatim}
Watch for messages that may appear immediately following this command. If you see
\begin{verbatim}
No matching glyph list found
\end{verbatim}
then, after processing is complete,
run the following. (The first line below should be exactly as specified in the error message, beginning with \verb|"scripts/generate-glyph-list.sh >"|.)
\begin{verbatim}
scripts/generate-glyph-list.sh >...
./scripts/clean
./scripts/makeall MinionPro
\end{verbatim}
\item Assuming no errors following the last commands, install the {\tt MinionPro} in {\tt texmf-local} with the command
\begin{verbatim}
./scripts/install
\end{verbatim}
which will return a permission error if your {\tt texmf-local} is owned by {\tt root}, in which case you will need to use instead
\begin{verbatim}
sudo ./scripts/install
\end{verbatim}
which will require you to enter administrator password.
\end{itemize}

You need to enable the map files {\tt MinionPro.map} and {\tt zmn.map} using the appropriate version of {\tt updmap} for your setup. See the README for details. You may wish to make a similar package to support {\tt MyriadPro}, a sans serif font family located in the same folder as {\tt MinionPro}.


%\textsc{Notes for Windows users:}
%To install \TeX\ Live, navigate to \url{https://www.tug.org/texlive/quickinstall.html} and follow the directions. Choose the full installation. You will end up, after a lengthy download, with the full array of packages, the binaries (this is the part you really want) and scripts. After installation, your PATH will be modified to place the {\tt texlive} installation {\tt bin} ahead of MikTeX's binaries, and you will most likely wish to undo that after finishing the project. There is no need after that to erase the {\tt texlive} installation unless you are short of space on your machine. By the way, the support files can be made on any platform, so you can simply take your {\tt.otf} files to a friendly mathematician who has an account on a {\tt *nix} machine (even a Raspberry Pi) with \TeX Live installed and ask them to make the support files.


\textsc{Example:}
\begin{verbatim}
\usepackage[osf,onlytext]{MinionPro}% use osf in text, lining figures in math
\usepackage{MyriadPro} % or another sans serif font
\usepackage[T1]{fontenc}
\usepackage[scaled=0.85]{beramono} or another mono font
\usepackage{amsthm} 
\usepackage[minion,vvarbb]{newtxmath}
\usepackage{bm}
\end{verbatim}

\textsc{Sample output}:

\def\Pr{\ensuremath{\mathbb{P}}}
\def\rmd{\mathrm{d}}
The typeset math below follows the ISO recommendations that only variables
be set in italic. Note the use of upright shapes for $\rmd$, $\mathrm{e}$
and $\uppi$. (The first two are entered as \verb|\mathrm{d}| and
\verb|\mathrm{e}|, and in fonts derived from {\tt newtxmath} or {\tt mtpro2},
 the last is entered as \verb|\uppi|.)

\textbf{Simplest form of the \textit{Central Limit Theorem}:} \textit{Let
$X_1$, $X_2,\cdots$ be a sequence of iid random variables with mean $0$ 
and variance $1$ on a probability space $(\Omega,\mathcal{F},\Pr)$. Then}
\[\Pr\left(\frac{X_1+\cdots+X_n}{\sqrt{n}}\le y\right)\to\mathfrak{N}(y)\coloneq
\int_{-\infty}^y \frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\uppi}}\,
\mathrm{d}t\quad\mbox{as $n\to\infty$,}\]
\textit{or, equivalently, letting} $S_n\coloneq\sum_1^n X_k$,
\[\mathbb{E} f(S_n/\sqrt{n})\to \int_{-\infty}^\infty f(t)
\frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\uppi}}\,\mathrm{d}t
\quad\mbox{as $n\to\infty$, for every $f\in\mathrm{b}
\mathcal{C}(\mathbb{R})$.}\]
\newpage
\section*{Math Letters {\tt zmnmi.tfm}}
\fonttable{zmnmi}
\newpage
\section*{Math LettersA {\tt zmnmia.tfm}}
\fonttable{zmnmia}

It is clear that the glyphs in slots $91$--$94$ and $251$ are from Times, not MinionPro. These are placeholders which, in actual usage, are replaced by composite glyphs based on MinionPro glyphs and the glyphs in slots $252$--$254$.

%\section{Manifest}
%
%\begin{verbatim}
%rzmn-gr-b.tfm     % bold greek from new MinionPro (zmn)
%rzmn-gr-bit.tfm   % bold italic greek from new MinionPro
%rzmn-gr-it.tfm    % italic greek from new MinionPro
%rzmn-gr-r.tfm     % regular greek from new MinionPro
%rzmnb.tfm         % raw tfm for bold new MinionPro
%rzmnbi.tfm        % raw tfm for bold italic new MinionPro
%rzmnr.tfm         % raw tfm for regular new MinionPro 
%rzmnri.tfm        % raw tfm for italic new MinionPro
%zmnbmi.{tfm,vf}   % virtual font---bold math italic, zmn letters
%zmnbmia.{tfm,vf}  % virtual font---bold math italicA, zmn letters
%zmnmi.{tfm,vf}    % virtual font---math italic, zmn letters
%zmnmia.{tfm,vf}   % virtual font---math italicA, zmn letters
%\end{verbatim}


 \end{document}  