Re: TexShop e i font MinionPro : risolto

#48642
Up
0
Down
::

forse non mi è chiaro come si usa il codice di enrico: va fatto solo compilare o inserire ogni volta nel preambolo del documento?

Va messo nel preambolo del documento. Lo riporto di seguito:

`
\usepackage{MinionPro}
%
\makeatletter
\catcode`\'=12
\def\qu@te{'}
\catcode`'=\active
\begingroup
\obeylines\obeyspaces%
\gdef\@resetactivechars{%
\def^^M{\@activechar@info{EOL}\space}%
\def {\@activechar@info{space}\space}%
}%
\endgroup
\providecommand{\texorpdfstring}{\@firstoftwo}
\protected\def'{\texorpdfstring{\active@quote}{\qu@te}}
\def\active@quote{\relax
\ifmmode
\expandafter^\expandafter\bgroup\expandafter\prim@s
\else
\expandafter\futurelet\expandafter\@let@token\expandafter\qu@t@
\fi}
\def\qu@t@{%
\ifx'\@let@token
\qu@te\qu@te\expandafter\@gobble
\else
{}\qu@te{}\penalty\@M\hskip\expandafter\z@skip
\fi}
\scantokens\expandafter{%
\expandafter\def\expandafter\pr@m@s\expandafter{\pr@m@s}}
\makeatother`

Ciao
Ivan

Go to top