Issues installing palatino font.

Peter Flynn peter at silmaril.ie
Thu Aug 1 23:41:56 CEST 2019


On 31/07/2019 10:11, Pedro Bonilla Villalba wrote:
> I would be grateful if you could help me install palatino fonts in I my
> Windows 10 machine with TexLive 2019 fresh installed (yesterday).

As far as I know you don't need to install them separately, as they come
built into every modern TeX installation. Test:

\documentclass{article}
\usepackage{palatino}
\begin{document}
This is Palatino.
\end{document}

That should show you Palatino.

As Bob said, the real error is that arial.sty is NOT included in TeX
installations. If you got the error message saying:

> ! LaTeX Error: File `arial.sty' not found.
> 
> Type X to quit or <RETURN> to proceed,
> or enter new name. (Default extension: sty)
> 
> Enter file name: 
> ! Emergency stop.
> <read *> 
>          
> l.22 \RequirePackage
>                     {palatino}^^M

Look at ij4uq.cls at line 21 where it says:

\RequirePackage{arial}
\RequirePackage{palatino}

The error message means that the error is "File `arial.sty' not found"
but it was only noticed when LaTeX processed the following line, which
mentions palatino, but this has nothing to do with the error.

In any case, there is no arial.sty. The file is called uarial.sty and
you get it by installing the URW Arial font from
https://ctan.org/pkg/urw-arial package. If you have a recent MikTeX,
then change

\RequirePackage{arial}
to
\RequirePackage{uarial}

and see if MiKTeX's auto-installer finds it and installs it for you.

I just installed it manually and it works fine because Palatino is
already installed.

There is one other error, though, because ij4uq.cls asks for arial TWICE
(that once at line 21, and again in line 33. You need to comment out the
second one at line 33 by putting a percent sign at the start:

%\usepackage{arial}

then the whole fine works fine.

The ij4uq.cls could probably do with a little tidying up.

Peter


More information about the texhax mailing list