0

I'm trying to use Minion Pro but I get an error.

This works:

\IfFileExists{lucimatx.sty}{\usepackage[stdmathitalics=true,math-style=default,lucidasmallscale=true,romanfamily=bright]{lucimatx}}{\usepackage{times}}

This won't work:

\IfFileExists{MinionPro.sty}{\usepackage[mathlf,textlf,minionint,openg]{MinionPro}}{\usepackage{times}}
\IfFileExists{lucimatx.sty}{\usepackage[bb=lucida,bbscaled=1,cal=boondoxo]{mathalfa}}{}

The error is

! Missing $ inserted.
<inserted text> 
                $
l.475 \settowidth{\notwd}{$\not$}

It's problematic because this worked with Tex Live 2016 on my old laptop.

  • 2
    please provide a small test file and show the log, with disconnected fragments it's impossible to even guess which packages you have used, since you have guarded the \usepackage inside conditionals. – David Carlisle Sep 23 '21 at 23:29
  • the idea is to load that if and only if lucimatx is installed, otherwise "bb=lucida" is meaningless – pachadotdev Sep 27 '21 at 15:59
  • sorry I didn't notice lucida option, I deleted my 2nd comment (1st comment still applies though) – David Carlisle Sep 27 '21 at 16:00
  • on a MWE it creates a PDF, and after commenting thing in my template I see a clash between AMS packages and Minion, as I get many "already defined" errors – pachadotdev Sep 27 '21 at 18:55
  • as you have provided no example document and no log, I don't see how anyone will be able to debug your issue, sorry. – David Carlisle Sep 27 '21 at 19:24

0 Answers0