Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have little doubt, usually, in the Linux Libertine font with LaTeX / pdflatex, but a couple of weeks ago, the following happened to me: I have the file with the following test.tex

\documentclass{article} 
\usepackage[T1]{fontenc}
\usepackage{libertine}
\begin{document}
\emph{Texto de prueba enfatizado} y no \textit{enfatizado}
\end{document}

compile it without problems, but I want to make small booklets pdfpages with the following file booklet.tex

\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages=-]{test.pdf}
\end{document}

and compile it via pdfLaTeX, and see in .aux this line:

pdfTeX warning: pdflatex.exe (file c:/texlive/2011/texmf-dist/fonts/type1/publi
c/libertine/fxli.pfb): glyph `a' undefined

I can not see the characters in italics or emphasized, but if change to lualatex booklet.tex, it WORKS OK, why is this happening? Is it a pdfpages package problem? or is my configuration? Using TeXLive 2011 (updated) in Win XP 32 SP3.

share|improve this question
    
It's not necessary to add "[solved]" to the question title -- accepting an answer marks the question as solved. –  lockstep Nov 16 '11 at 21:52
add comment

1 Answer

up vote 18 down vote accepted

Use in the document with pdfpages \pdfinclusioncopyfonts=1. (The source of the problem is that two fonts of libertine now have the same internal fontname, and this leads to problems).

share|improve this answer
    
Too many billions of thanks (took days thinking) and I dont know LuTeX (for now) in depth –  Pablo González L Sep 13 '11 at 18:39
5  
To avoid misunderstandings: \pdfinclusioncopyfonts is a work-around. It forces pdftex to include the fonts even if it thinks that they have already been included before. The real solution would be to correct the internal font names. You don't get the problem with luatex as the libertine package use with luatex the open type versions of the fonts. –  Ulrike Fischer Sep 14 '11 at 8:07
    
Thanks for the explanation, in general use pdfTeX (and not LuaTeX) for adjustment of text (microtype). I will update as soon as I LuaTeX of the time to read the documentation, apparently is more powerful than pdfTeX in some ways. –  Pablo González L Sep 14 '11 at 11:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.