Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions for an updated procedure for Windows 10 / MiKTeX #68

Open
tstone-1 opened this issue Dec 6, 2020 · 1 comment
Open

Suggestions for an updated procedure for Windows 10 / MiKTeX #68

tstone-1 opened this issue Dec 6, 2020 · 1 comment

Comments

@tstone-1
Copy link

tstone-1 commented Dec 6, 2020

First of all, I would like to thank you a lot for providing FontPro! It helped me to make the MinionPro font available on quite a number of MiKTeX/TeX Live installations on Windows. However, the procedure in README.md is not totally up-to-date. I would like to share the experiences I made with MiKTeX 20.11 in 12/2020, maybe this is useful for others, too. It will be useful for me the next time I need to install MinionPro on a fresh Windows/MiKTeX installation...

  1. Download FontPro and extract it locally. I'm assuming you've thus created the directory C:\Users\<YOURACCOUNT>\Downloads\FontPro-master.

  2. Get the font files. I'm a subscriber of the Adobe Creative Cloud applications and have access to Adobe Fonts. So, after activating Minion (not Minion 3, not sure about the current status) here, the font files of version 2.115 should be copied to C:\Users\<YOURACCOUNT>\AppData\Roaming\Adobe\CoreSync\plugins\livetype\r - this is a hidden folder. In my case, eight files named 6812, 6813, ..., 6819 were put into this directory. Copy those to C:\Users\<YOURACCOUNT>\Downloads\FontPro-master/otf. Put the ending .otf to every single of the eight font files. If you open 6812.otf, the title bar will read 'MinionPro-Bold (OpenType)'. Use this info to rename all eight files. 6812.otf will become MinionPro-Bold.otf. You should end up with files MinionPro-Bold.otf, MinionPro-BoldIt.otf, MinionPro-It.otf, MinionPro-Medium.otf, MinionPro-MediumIt.otf, MinionPro-Regular.otf, MinionPro-Semibold.otf, MinionPro-SemiboldIt.otf.

  3. Install basic-miktex-20.11-x64.exe and Cygwin 3.1.6 to their respective default locations. For Cygwin, you must include the texlive-collection-fontutils (README.md says texlive-font-fontutils - I think this one was renamed!) and bc packages. From the MiKTeX package manager, you should install the packages fontinst, fontaxes, mnsymbol, fltpoint, tabfigures. I couldn't find fontware which is also suggested to be installed by README.md.

  4. Run Cygwin as admin, cd /cygdrive/c/Users/<YOURACCOUNT>/Downloads/FontPro-master. Then, run ./scripts/makeall MinionPro --expanded. This will take some time. Then, run ./scripts/install "/cygdrive/c/Program Files/MiKTeX". Note: if MiKTeX was not installed system-wide but on a per-user basis, the path is something like /cygdrive/c/Users/<YOURACCOUNT>/AppData/Local/Programs/MiKTeX instead of /cygdrive/c/Program Files/MiKTeX.

  5. Open cmd.exe as admin and run initexmf -u, then, initexmf --admin --edit-config-file updmap. Add Map MinionPro.map to a new line of the text file that pops up and save it. Back in the cmd.exe window, run initexmf --mkmaps. Note: if MiKTeX was not installed system-wide but on a per-user basis, leave out the --admin switch.

  6. According to README.md, things should be working now. This was not the case for me. I went to MiKTeX Console, switched to admin mode, and ran Tasks -> 'Refresh font map files' and Tasks -> 'Refresh file name database'. Afterwards, I was able to compile a .tex file which uses \usepackage{MinionPro}.

I don't know whether all of the steps are necessary. I followed README.md as closely as possible and started to improvise whenever things didn't work or required improvisation...

@sharadhr
Copy link

It appears that FontPro was written on a Unix/Unix-like system, hence the dependence on Cygwin. MiKTeX may be managed directly from the commandline in Windows itself, and I propose writing a series of batch/PowerShell scripts (preferably PowerShell) so that installation may be done completely natively on Windows. I have forked the repo and am working on a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants