5

I have a problem with my Latex

\documentclass[style=fyma,
mode=present %handout
]{powerdot}
\usepackage{polski}
\usepackage[utf8]{inputenc}
%\usepackage{pst-ovl}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\newtheorem{tw}{Twierdzenie}
\newtheorem{deff}{Definicja)}
\newtheorem{dow}{Dowód}

\title{Prezentacja - Pochodne}
\author{Patrycja}
\date{18.11}

\begin{document}


My text..

\end{document}

The following message is issued:

warning:  No file OT4phv.fd on input line 18  (\begin{document})
Font shape|OT4/phv/m/n' undefined(Font) using 'OT4/cmr/m/n' instead
Rerun to get \pageLabels entry

What should I do ?

2
  • Many thanks for posting a complete MWE. When I run it on my system, which has TeXLive2014 installed, I actually get a different warning message, issued by the hyperref package, about an incorrect DVI driver option (whatever that may mean). Which TeX distribution to you have?
    – Mico
    Jan 11 '15 at 9:26
  • @Mico latex->dvipdfmx Jan 11 '15 at 9:31
6

This is because the powerdot class issues a

\def\rmdefault{phv}

to redefine the default font as Helvetica, which has no support for the OT4 font encoding used by the polski package by default.

You have to load the polski package with the option T1

\usepackage[T1]{polski}

to avoid the warning and having the T1 font encoding, which characters are supported with the Helvetica font.

MWE

\documentclass[style=fyma,
mode=present %handout
]{powerdot}
\usepackage[T1]{polski}
\usepackage[utf8]{inputenc}
%\usepackage{pst-ovl}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\newtheorem{tw}{Twierdzenie}
\newtheorem{deff}{Definicja)}
\newtheorem{dow}{Dowód}

\title{Prezentacja - Pochodne}
\author{Patrycja}
\date{18.11}

\begin{document}

Po załadowaniu pakietu zmienione zostają wewnętrzne kody \TeX a dla odnośnych
liter polskiego alfabetu w Nowym Układzie (T1)

(from the \verb|polski| manual, I don't know what it means)

\end{document} 

Output

enter image description here

6
  • when I write \usepackage[T1]{polski} I see warning: Rerun to get /Pagelabel entry Jan 11 '15 at 9:47
  • @PatrycjaKaszyca - That's just a warning, not an error. As per the suggestion, just rerun LaTeX to fully update \Pagelabel.
    – Mico
    Jan 11 '15 at 9:51
  • @Mico no, because in the manual is typeset TEXa Jan 11 '15 at 9:51
  • always the same :< Jan 11 '15 at 10:00
  • 2
    @PatrycjaKaszyca Without any additional info, I can't help you... Jan 11 '15 at 10:02

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.