2

I run the following MWE using LuaLaTeX in TeXworks

\documentclass[11pt,twoside,a4paper]{article}
\usepackage{MinionPro}

\begin{document} 
   \textsc{Hello World.}
\end{document} 

and it gives an error File MinionPro.sty not found.

If I now input the file name with the full path,

C:/texlive/2017/texmf-dist/tex/latex/MinionPro/MinionPro.sty

it finds the file, but produces an output that isn't in small caps so there seems to be a substitution at work.

The log file says

Try loading font information for TU+MinionPro-OsF" and "No file TUMinionPro-OsF.fd

which is correct - there are OT1, OT2 fds (among others) but no TU file.

So where should the .sty (and Fd) files be put so that TeXworks will find them? And will the TU issue then resolve itself?

  • (1) welcome, (2) How did that MinionPro.sty get there? My TeXLive 2017 does not include it. – daleif Feb 9 '18 at 17:53
  • Do you actually have the MinionPro font? The files from CTAN, does not include the font (as far as I know) – daleif Feb 9 '18 at 17:55
  • I went through a partially successful fontinst process that created the .sty file and then I copied the files by hand into TeXworks and added the path (apparently unsuccessfully) using its Preferences. I copied the fd files from Adobe Acrobat and added a online ones as an experiment. – DLyons Feb 9 '18 at 17:57
  • (1) did you update the file name database? Searching disk is a costly operation, so latex relies on prebuild lists of file locations. (2) personal stuff should not go into the texmf-dist tree, probably better in texmf-local\tex\latex – daleif Feb 9 '18 at 17:59
  • You can always test whether latex can find a file by using e.g.kpsewhich MinionPro.sty in a terminal/dos prompt. – daleif Feb 9 '18 at 18:00
5

Using luatex you can use the full Truetype font directly, you do not need to take a 127 (OT1) or 256 (T1) character subset of it as needed for classic TeX, you just need the font to be installed.

enter image description here

 \documentclass[11pt,twoside,a4paper]{article}

  \usepackage{fontspec}
  \setmainfont{Minion Pro}

  \begin{document} 

    \textsc{Hello World.} Hello World.

  \end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.