The following MWE compiles with pdftex
but produces a mysterious warning.
\documentclass{article}
\usepackage{libertine}
\usepackage{mathastext}
\usepackage{microtype}
\begin{document}
Here is some text
\end{document}
The warning is:
Package microtype Warning: Unknown slot number of character
(microtype) `\%'
(microtype) in font encoding `OT1' in protrusion list
(microtype) `default'.
There doesn't seem to be anything wrong with the compiled document, but I get dozens of this error in the full doc and I was wondering what it meant...
Adding \usepackage[T1]{fontenc}
doesn't help (except the error is now about T1 encoding instead. Permuting the order of the packages doesn't seem to help either.
A \listfiles
:
*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
libertine.sty 2009/05/22a - 4.5.1a -LaTeX: Font libertine - (License GPL) Michael Niedermair
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
calc.sty 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
pdftex.def 2010/03/12 v0.04p Graphics/color for pdfTeX
xspace.sty 2006/05/08 v1.12 Space after command names (DPC,MH)
fxl.inc
fxb.inc
microtype.sty 2009/03/27 v2.3d Micro-typography with pdfTeX (RS)
microtype.cfg 2009/03/27 v2.3d microtype main configuration file (RS)
mathastext.sty 2011/02/07 1.12 Use the text font in simple mathematics
t1fxl.fd 2009/05/22 scaled font definitions for libertine T1/fxl (Nm).
supp-pdf.mkii
***********
Like I said, this error doesn't seem to translate into anything wrong with the output PDF, but I'd like to know what's going on. (I'm trying to get rid of the clutter from my log file...
I've learned that the silence
package can hide these errors, but I'd like to know what's causing it. It seems that it's not a conflict with that particular font, since it also works if you substitute other fonts for libertine
.
Can anyone confirm that they get this error?
mathastext
on CTAN has corrected this issue of compatibility withmicrotype
.