[go: up one dir, main page]

0% found this document useful (0 votes)
538 views7 pages

Mpro Installation Miktex Windows Machine PDF

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 7

Minion Pro and Myriad Pro for MikTeX 2

on a PC with Windows XP and higher


Version: September 26, 2010 at 22:31 h
Preamble: This is a simple guide for installing Minion Pro and Myriad Pro for the use with MikTeX on a machine that runs with Windows. The guide works for any of the following operating systems: XP, Vista or Seven. Also is this document intended for entry-level users. If you know how to install a font for MikTeX, you can close this document. There may be other ways to correctly install a font consider this more of a log of the steps that I (successfully) took. This guide is solely based on the advice I got and the steps I took and of all the steps I took especially the steps that worked.

Contents
1 Short guide 2 Requirements for software 2.1 Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 Steps/Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Download the LaTeX-files for Minion Pro 4 Download the LaTeX-files for Myriad Pro 5 Install LCDF typetools 6 Conversion of .otf files 7 The Right Place 7.1 LaTeX-files (metrics) 7.1.1 Minion Pro . 7.1.2 Myriad Pro . 7.2 Converted font-files . 8 The Final Steps 9 Usage and ligatures 10 Miscellaneous notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 2 2 3 3 4 4 4 4 4 4 5 5 6 7

2 Requirements for software

1 Short guide
This section contains a short overview, just to give you an idea of the whole operation. You do not need to understand and know about each phrase I mention. :-) 1) Download all the software you most likely do not have on your PC. A 2) Download all the LTEX-font-files (called metrics) for Minion Pro and Myriad Pro you most likely do not have on your PC. 3) Install LCDF typetools for MikTeX. 4) Convert the .otf-files. 5) Put the files into the right place. 6) Get ready.

2 Requirements for software


2.1 Warning
A This subsection is meant as a friendly warning. The thing is. . . LTEX is free. Adobes fonts are not. Usually. To explain it really short: There are limitations to the use of this Adobe font since you will use Adobes font files to install Minion Pro and Myriad Pro on your MikTeX system. You will not buy and not steal/illegaly download the fonts. You will download them legally. You might already have them on your PC. So later on, you will convert these free font files. Even if you buy them, I do not know whether it is legal to convert Adobes font files. You would have to see for yourself. If you want to know more about the aforementioned limitations, you can read the following listed things:

Adobes policy on its Reader and other products that are relevant Adobes License Agreement on Adobe fonts Adobes legal statement concerning piracy and fonts Adobes Western Fonts End User License Agreement

2.2 Steps/Downloads
Here are some steps you might need to take in advance: 1) Create a folder somewhere on your PC, preferrably your desktop, and name it mpro-workingfolder. 2) In the folder mpro-workingfolder, create two folders named minionpro-stuff and myriadpro-stuff. 3) Check if you have the Adobe Reader installed. If not, download the version you want (but please mind that it has to be version 7 or higher) and install it. Also, for the next step, please remember where you installed it. 4) Go to the Adobe Readers program folder and follow the path \Resource\Font. You find the .otf-files of the Minion Pro and Myriad Pro font there. Copy these files into the folder mpro-workingfolder.

4 Download the LaTeX-files for Myriad Pro 5) You will need a program that can extract (also called unpack) archived files, especially of the type .zip and .gz. You could download WinRaR or 7-zip. You need to know how to use the program you downloaded. 6) You will need a program that can convert .otf-files into Type 1 format. For your convenience, download the file lcdf-typetools-w32.tar.gz on the homepage of the LCDF-project. If you printed this document, please google/bing this term. Also: You do not need to understand right away what it does and what the font-formats mean. To explain it really short and simple: A LTEX cannot directly use the usual font formats that work for software like OpenOffice.org or MS Office (e.g. .ttf, which is the most common file type for a font).

3 Download the LaTeX-files for Minion Pro


1) Go the CTAN page for Minion Pro. If you printed this document, simply google/bing the term ctan Minion Pro and one of the first three hits should be the CTAN page for Minion Pro. 2) Download the files enc-2.000.zip, metrics-base.zip and scripts.zip. 3) Copy all the downloaded files -except for scripts.zip- into the folder minionpro-stuff. 4) Copy scripts.zip into the folder mpro-workingfolder. Notes: If you like, also download metrics-full.zip and metrics-optical.zip and copy them into minionprostuff. According to the README of the minionpro-package, heres what these metrics are good for: metrics-base.zip: Contains the metrics for Regular, Italic, Bold, and BoldItalic. metrics-full.zip: Contains additional metrics for Medium, MediumItalic, Semibold, and SemiboldItalic. metrics-opticals.zip: Contains additional metrics for the Capt, Subh, and Disp optical shapes. In case you want more, do not only download metrics-full.zip. You need at least metrics-base.zip. As the description says, the other metrics are additional.

4 Download the LaTeX-files for Myriad Pro


1) Open the following link http://faq.ktug.or.kr/wiki/uploads/MyriadProAR7.zip in your browser. If you printed this document, you need to type it and hit Enter. 2) You should be prompted to download the file MyriadPro7.zip. Click on Yes . 3) Extract1 this file into the folder myriadpro-stuff.
1

Extract is meant to be used via WinRaR or 7-zip. This applies to all Extracts in this document.

7 The Right Place

5 Install LCDF typetools


1) 2) 3) 4) Extract the archive lcdf-typetools-w32.tar.gz. Go into the extracted folder. Mark all files in this folder and cut them (ctrl+x). Lets say you installed MikTeX 2.x in F:\Program Files\. Go to
F:\Program Files\MikTeX 2.x\miktex and insert the copied files. Click on Yes if the dialogue about existing folders/files pops up.

5) Start MikTeXs settings manager and click on Refresh FNDB .

6 Conversion of .otf files


1) 2) 3) 4) 5) 6) 7) 8) Go into the folder mpro-workingfolder. Mark all the .otf-files and copy or cut them (ctrl+c or ctrl+x). Extract the file scripts.zip into the folder mpro-workingfolder. Double-click on the folder scripts and then again on the folder otf. Right-click on the empty space and then click on insert (ctrl+v). Go one folder up, so that you see the file convert.bat. Then double-click on convert.bat. You should now see a new folder named pfb. In this folder, you should see 16 files, 16 .pfb-files with Myriad/Minion Pro in their name. You can delete the files with the term LCDF in their name.

7 The Right Place


7.1 LaTeX-files (metrics)
This subsection is a bit tricky. As I already stated, this guide contains the steps I took to make it work. In theory, putting the metrics for both fonts into your local TEXMF-folder should work. 7.1.1 Minion Pro 1) Go into the folder minionpro-stuff. 2) Mark all the files you put there in section 3. So you should at least mark enc-2.000.zip and metrics-base.zip. You might also mark metrics-full.zip and metrics-optical.zip. 3) Extract them into F:\Program Files\MikTeX 2.x\. This might take a while . . . 7.1.2 Myriad Pro 1) Go into the folder myriadpro-stuff. 2) Mark the folder fonts. 3) Copy it (ctrl+c).

8 The Final Steps 4) Insert it into your local TEXMF-folder. If you dont know where that is, heres a description: Lets say you installed your Windows OS on drive C: and your username on your Windows OS is Phil. Then choose one of the following locations: a) For Windows XP: Insert the copied files into the folder
C:\Dokumente und Einstellungen\Phil\Lokale. . . . . . Einstellungen\Anwendungsdaten\MikTeX\2.x\.

I know that this is the path in German, so I can only guess that in English it would be C:\Documents and Settings\Phil\Local. . . . . . Properties\Application Data\MikTeX\2.x\. b) For Windows Vista the folder would be:
C:\Users\Phil\AppData\Local\MikTeX\2.8

c) For Windows 7 it is:


C:\Users\Phil\AppData\Local\MikTeX\2.8

5) 6) 7) 8)

Go into the folder myriadpro-stuff. Mark the folders dvips and tex. Copy them (ctrl+c). Insert them into the folder F:\Program Files\MikTeX 2.x\.

7.2 Converted font-files


1) Go into the folder pfb from the last step in section 6. 2) Mark the .pfb-files for Minion Pro and copy them. 3) You have to insert the copied .pfb-files into your local TEXMF-folder. (Remember, your username is Phil.) a) For Windows XP: Insert the copied files into the folder
C:\Documents and Settings\Phil\Local Properties\Application. . . . . . Data\MikTeX\2.x\fonts\type1\Adobe\MinionPro\.

b) For Windows Vista the folder would be:


C:\Users\Phil\AppData\Local\MikTeX\2.x\fonts\type1\Adobe\MinionPro\

c) For Windows 7 it is:


C:\Users\Phil\AppData\Local\MikTeX\2.x\fonts\type1\Adobe\MinionPro\

If prompted, click on Yes . 4) Do the preceeding 3 steps similarly for the Myriad Pro font files, meaning MinionPro is MyriadPro.

8 The Final Steps


1) Click down the path F:\Program Files\MikTeX 2.x\miktex\config. 2) Right-click on updmap.cfg and open with Windows Wordpad.

9 Usage and ligatures 3) At the very end of the file, add Map MinionPro.map and Map MyriadPro.map. Close the file, click on Yes (so that you save the changes) when the dialogue pops up. Please mind: Do not change the filename. The filename has to stay updmap.cfg. 4) In Windows, click on Start (left bottom). 5) Click on Run2 . 6) Enter cmd and hit Enter. 7) For the following steps, the procedure for each term is to type in the term, hit Enter, wait for the computer to finish the process and go on to the next term. a) texhash (which equals Refresh FNDB from the MikTeX settings manager GUI.) b) initexmf -u c) updmap 8) You can now use the command
\usepackage{MinionPro}.

Youll get Minion Pro as the main text and math font for your document. For the use of Myriad Pro as your usual font for captions, use
\renewcommand{\sfdefault}{Minion-LF}.

Do not use
\usepackage{MyriadPro} or \usepackage{Minion-LF}.
A For the first build of your LTEX document with these two commands, you have to wait a bit for it to finish.

9 Usage and ligatures


In case you would like to search in your generated .pdf-file later on and you are looking for words with ligatures (e.g. definition; for further information see your local wikipedia page A for this term, please) or German Umlauten, you are not going to find them. But LTEX can unmask these symbols so that they become searchable, if you will. It also enables to copy text out of the generated .pdf-file without any problems.3 For that, write/copy
http://www.tug.org/texlive/devsrc/Master/texmf/tex/generic/pdftex/

into your browsers adress bar and hit Enter. You have to put the file glyphtounicode.tex into your main .tex-files folder, meaning the folder of the file you compile when generating your .pdf- or .ps-file. Use the file via \input and then activate the unmasking via \pdfgentounicode=1.
2 3

Ausfhren in German. Without any problems when compiled via PDFTEX (pdflatex.exe), that is. Ironically, the old file I created was created via PS PDF (latex.exe) and that apparently omits ligatures. So if anyone copied and pasted the link: it didnt work because of the ligature ft, which was in the old link.

10 Miscellaneous notes In the end, it could look like this:


\usepackage{MinionPro} \renewcommand{\sfdefault}{Myriad-LF} \input{glyphtounicode} \pdfgentounicode=1 \usepackage{inconsolata}

10 Miscellaneous notes
1) Just in case the Myriad Pro resources vanish some day from the server where they are located, you could take a look at the A LTEX Font Catalogue (http://www.tug.dk/FontCatalogue/). I think that the Bera Sans font looks quite alright with Minion Pro. 2) In math mode, MnSymbol will should be chosen and installed automatically, but this requires the activated on-the-fly option in the MikTeX settings manager. If you have a firewall (say such as ZoneAlarm), make sure that the relevant executables (pdflatex.exe and some other executables from MikTeX called mpm_mfc.exe and so on) may connect to the internet. 3) There wasnt any typewriter style supplied with Adobes original Minion Pro files. Thats why there is the line \usepackage{inconsolata}. It loads a typewriter font. There are lots of other typewriter style fonts available, just take a look at the Font Catalogue. You could also type \renewcommand{\ttdefault}{lmtt}, then you would get the typewriter style of the Latin Modern fonts (usually loaded via \usepackage{lmodern}).

You might also like