summaryrefslogtreecommitdiff
path: root/fonts/minion2newtx/doc/minion2newtxdoc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/minion2newtx/doc/minion2newtxdoc.tex')
-rw-r--r--fonts/minion2newtx/doc/minion2newtxdoc.tex167
1 files changed, 74 insertions, 93 deletions
diff --git a/fonts/minion2newtx/doc/minion2newtxdoc.tex b/fonts/minion2newtx/doc/minion2newtxdoc.tex
index 43d144a586..2bb5d267ff 100644
--- a/fonts/minion2newtx/doc/minion2newtxdoc.tex
+++ b/fonts/minion2newtx/doc/minion2newtxdoc.tex
@@ -3,18 +3,18 @@
\usepackage[margin=1in]{geometry}
\usepackage[parfill]{parskip}%
\usepackage{url}
-\pdfmapfile{=Minion2Pro.map}
+\pdfmapfile{=zmn.map}
%SetFonts
% Minion2Pro+newtxmath
-\usepackage{minion2pro}% no osf in math
-\usepackage{MyriadPro}
+\usepackage[osf,onlytext]{MinionPro}
\usepackage[T1]{fontenc}
+\usepackage{MyriadPro} % matching sans serif
\usepackage[scaled=0.85]{beramono}
-\usepackage[leqno]{amsmath}
-\usepackage[minion,vvarbb,bigdelims,cmintegrals]{newtxmath}
+\usepackage{amsthm}
+\usepackage[minion,vvarbb]{newtxmath}
\usepackage{bm}
-\usepackage[cal=boondoxo]{mathalfa}
%SetFonts
+\usepackage{fonttable}
\usepackage{booktabs,url}
\usepackage{hyperref}
\title{Minion2 (zmn) as an add-on to the New TX font package}
@@ -24,97 +24,71 @@
\begin{document}
\maketitle
\section{Preliminaries}
-The package \textsf{newtxmath} (versions 1.00 and higher) has an option {\tt minion} that allows the use of MinionPro as math letters (Latin and Greek) within the math font, with a modified math italic v ($v$) that is distinct from \verb|\nu| ($\nu$), unlike the MinionPro package on \textsc{CTAN}. There are some caveats:
+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.
-\item In addition, the fonts must installed under special names so they can be recognized by the support files and have distinct tfm and PostScript names which will not interfere with a separate installation of MinionPro as a text file---the details are spelled out below.
-\end{itemize}
-\subsection{How to install your MinionPro fonts}
-The underlying issue is that the new versions (version 2.00 and greater) have glyphs that were not present in the original family, and the names of some glyphs have been changed. (You may see this problem if you try to install the MinionPro package from 2007 (on CTAN) where the encoding files are no longer entirely appropriate.) My goal is to allow you to use older versions of the MinionPro fonts with that package for text only, while not raising conflicts with the use of the new versions in \textsf{newtxmath}. To cover the possible sources of problems, we need to give the new versions new filenames and, in addition, new PostScript names. The methods described below are revisions of the original, made necessary by the apparent failure in this case of cfftot1 to make pfb files compatible with those generated by FontForge.
+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.}
-The following subsection provides the basic procedure.
-\subsection{A method that works for all platforms}
-Navigate to \url{http://www.freefontconverter.com} and use their File Chooser to choose, one at a time, the files
+
+\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}
-MinionPro-Regular.otf
-MinionPro-Bold.otf
-MinionPro-It.otf
-MinionPro-BoldIt.otf
+https://github.com/sebschub/FontPro
\end{verbatim}
-choosing the {\tt pfa (PostScript)} as the output file format. Move the output files to a working folder and change their names to:
+
+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}
-zmnr.pfa ## from minionproregular.pfa
-zmnb.pfa ## from minionprobold.pfa
-zmnri.pfa ## from minionproit.pfa
-zmnbi.pfa ## from minionproboldit.pfa
+./scripts/makeall MinionPro
\end{verbatim}
-Using a plain text editor (\emph{not} Word), change the text in the line near the top starting with
+Watch for messages that may appear immediately following this command. If you see
\begin{verbatim}
-/FontName /MinionPro
+No matching glyph list found
\end{verbatim}
-to
+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}
-/FontName /Minion2Pro
+scripts/generate-glyph-list.sh >...
+./scripts/clean
+./scripts/makeall MinionPro
\end{verbatim}
-in each of the four {\tt.pfa} files.
-Finally, change the resulting {\tt pfa} files to {\tt pfb (PostScript)} format using once again the {\tt freefontconverter} site. You should now have four {\tt pfb} files named {\tt zmnr.pfb}, {\tt zmnri.pfb}, {\tt zmnb.pfb}, {\tt zmnbi.pfb}) that can be copied into the {\tt fonts/type1/adobe/minion2} subfolder of your downloaded {\tt minion2newtx.tds}, ready to install as instructed in the accompanying README.
-
-(These names are used to preserve the Karl Berry font naming scheme to some extent---{\tt mn} is the symbol for MinionPro, but your original versions most likely used {\tt pmn}, the initial {\tt p} indicating Adobe. We can't reuse {\tt pmn} so we use {\tt zmn}, the initial {\tt z} indicating a non-standard situation, but this avoids a naming conflict.)
-
-After refreshing your database, you need to enable the map file {\tt zmn.map} and run the appropriate version of {\tt updmap} for your setup. See the README for details.
-
-\subsection{Using the same fonts for text}
-If you wish to use the new versions also as text fonts with [pdf]latex, you will also need to convert them to {\tt .pfb} format without changing the names, which may be achieved as above to make
-{\tt MinionPro-Regular.pfb}, etc
- and using the MinionPro package from CTAN.
-
-If you wish to avoid encoding problems with version 2 MinionPro, replace the original encoding files
+\item Assuming no errors following the last commands, install the {\tt MinionPro} in {\tt texmf-local} with the command
\begin{verbatim}
-base-MinionPro-aa.enc
-base-MinionPro-ab.enc
-base-MinionPro-ac.enc
-base-MinionPro-ad.enc
-base-MinionPro-ae.enc
+./scripts/install
\end{verbatim}
- with those in the file {\tt attachment.zip} from\\
-\url{https://lists.berlios.de/pipermail/minionpro-devel/attachments/20090814/4e956ea2/}
-(This site seems to no longer exist.)
-
-Another option is to use \textsf{otfinst} or {\tt autoinst} to make a text package. One advantage over the package on CTAN is that you have the option to scale all text as you wish. (With Mac OS X, \textsf{TeXFontUtility2013} handles generating the text support files and enabling them automatically.) To use {\tt autoinst}, make a folder with just the {\tt.otf} files, create a subfolder named {\tt texmf}, and run the version of the following command line appropriate to your platform:
+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}
-# OS X
-/usr/texbin/autoinst --inferiors --fractions --verbose --noupdmap\
- --notitling --target=./texmf --encoding=OT1,LY1,T1 --vendor=adobe\
- --typeface=minion2pro *.otf
-
-# Linux---assumes you have added path to TeXLive's bin to your $PATH
-autoinst --inferiors --fractions --verbose --noupdmap\
- --notitling --target=./texmf --encoding=OT1,LY1,T1 --vendor=adobe\
- --typeface=minion2pro *.otf
-
-# Windows---assumes you have installed the current TeX Live.
-autoinst --inferiors --fractions --verbose --noupdmap\
- --notitling --target=./texmf --encoding=OT1,LY1,T1 --vendor=adobe\
- --typeface=minion2pro *.otf
+sudo ./scripts/install
\end{verbatim}
-The result will be \LaTeX\ support files created in standard TDS layout within the folder {\tt texmf}, which may be installed in the usual way. If you do use {\tt autoinst} to generate the support files, you may find that {\tt minion2pro.sty} (in a subfolder of the {\tt doc} folder) is much more capable than the one generated, and can be used in its place.
+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{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[lf,onlytext]{MinionPro}% no osf, no math
-\usepackage[sf]{myriad}
+\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}
-\usepackage[leqno]{amsmath}
-\usepackage[minion,vvarbb,bigdelims,cmintegrals]{newtxmath}
-\usepackage[bb=boondox,frak=boondox]{mathalfa}
+\usepackage[scaled=0.85]{beramono} or another mono font
+\usepackage{amsthm}
+\usepackage[minion,vvarbb]{newtxmath}
\usepackage{bm}
-\renewcommand{\rmdefault}{MinionPro-TOSF} % use osf except in math
\end{verbatim}
\textsc{Sample output}:
@@ -138,24 +112,31 @@ and variance $1$ on a probability space $(\Omega,\mathcal{F},\Pr)$. Then}
\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})$.}\]
-
-
-\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}
+\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} \ No newline at end of file