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.

MikTeX 2.9: 'libertine' seems to have broken at some point today (9 Dec leading into 10 Dec). The following code should produce some material in libertine:

\documentclass[a4paper,10pt]{article}
\usepackage[no-math]{fontspec}
\usepackage{libertine}

\begin{document}
1234567890 This text should be typeset in Libertine
\end{document}

Expected output:

enter image description here

Actual output:

enter image description here

(I should stress that I have seen the output of a specific TeX file change over the course of the day, without any modifications to the file -- I was getting the right output in the afternoon, and now it's not working.)

Completely uninstalling and reinstalling MikTeX didn't fix the problem. Further, different repositories seem to have different packages. For example, anorien.csc.warcick.ac.uk has the 'libertine' package, whereas mirror.ox.ac.uk has libertine-legacy and libertineotf. (Edit: I just checked back, and it has now switched to 'libertine'.)

For what it's worth, the xelatex error messages are as follows:

LaTeX Font Warning: Font shape EU1/fxl/m/n' undefined (Font) usingEU1/lmr/m/n' instead on input line 5.

LaTeX Font Warning: Font shape EU1/fxl/bx/n' undefined (Font) usingEU1/fxl/m/n' instead on input line 6.

Does anyone know what's happening with the repositories? Is anyone able to get libertine to work on MikTeX?

 *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)
fontspec.sty    2012/05/06 v2.2b Advanced font selection for XeLaTeX/LuaLaTeX
   expl3.sty    2012/11/21 v4332 L3 Experimental code bundle wrapper
 l3names.sty    2012/09/24 v4230 L3 Namespace for primitives
l3bootstrap.sty    2012/07/16 v3991 L3 Experimental bootstrap code
    etex.sty    1998/03/26 v2.0 eTeX basic definition package (PEB)
l3basics.sty    2012/11/10 v4306 L3 Basic definitions
 l3expan.sty    2012/08/28 v4149 L3 Argument expansion
    l3tl.sty    2012/09/28 v4244 L3 Token lists
   l3seq.sty    2012/09/09 v4212 L3 Sequences and stacks
   l3int.sty    2012/09/26 v4237 L3 Integers
 l3quark.sty    2012/11/04 v4268 L3 Quarks
   l3prg.sty    2012/09/09 v4212 L3 Control structures
 l3clist.sty    2012/09/09 v4212 L3 Comma separated lists
 l3token.sty    2012/11/01 v4251 L3 Experimental token manipulation
  l3prop.sty    2012/09/09 v4212 L3 Property lists
   l3msg.sty    2012/09/09 v4212 L3 Messages
  l3file.sty    2012/09/09 v4212 L3 File and I/O operations
  l3skip.sty    2012/11/04 v4260 L3 Dimensions and skips
  l3keys.sty    2012/11/02 v4256 L3 Experimental key-value interfaces
    l3fp.sty    2012/11/10 v4305 L3 Floating points
   l3box.sty    2012/11/04 v4259 L3 Experimental boxes
l3coffins.sty    2012/09/09 v4212 L3 Coffin code layer
 l3color.sty    2012/08/29 v4156 L3 Experimental color support
l3luatex.sty    2012/08/03 v4049 L3 Experimental LuaTeX-specific functions
l3candidates.sty    2012/11/09 v4298 L3 Experimental additions to l3kernel
   ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
  xparse.sty    2012/11/21 v4332 L3 Experimental document command parser
fontspec-patches.sty    2012/05/06 v2.2b Advanced font selection for XeLaTeX/Lu
aLaTeX
fixltx2e.sty    2006/09/13 v1.1m fixes to LaTeX
fontspec-xetex.sty    2012/05/06 v2.2b Advanced font selection for XeLaTeX/LuaL
aTeX
 fontenc.sty
  eu1enc.def    2010/05/27 v0.1h Experimental Unicode font encodings
  eu1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
xunicode.sty    2011/09/09 v0.981 provides access to latin accents and many oth
er characters in Unicode lower plane
 eu1lmss.fd    2009/10/30 v1.6 Font defs for Latin Modern
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
   xetex.def    2009/11/22 v0.94 LaTeX color/graphics driver for XeTeX (RRM/JK)

fontspec.cfg
libertine.sty    2011/06/06 - 5.1.2: Font libertine - (License GPL) Michael Nie
dermair
lettrine.sty    2012/07/20 v1.63 (Daniel Flipo)
lettrine.cfg
    calc.sty    2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
     fxl.inc
     fxb.inc
     fxk.inc
     fxi.inc
   t3cmr.fd    2001/12/31 TIPA font definitions
 ***********
share|improve this question

closed as too localized by doncherry, Lev Bishop, Heiko Oberdiek, Mohan, Thorsten Dec 10 '12 at 7:14

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Make sure the server you update from is up-to-date itself, check on miktex.org/pkg/repositories. Make sure to use both the "Admin" and the normal update programs if you have both. Afterwards, put \listfiles at the beginning of your MWE, recompile, and edit the file list from the log file into your question. –  doncherry Dec 10 '12 at 2:03
1  
May be this can help tex.stackexchange.com/a/10967/15717 –  texenthusiast Dec 10 '12 at 2:09
1  
@Mohan Hmm, that libertine.sty (and some packages related to it) is not up-to-date, on my MiKTeX 2.9 it is libertine.sty 2012/12/01 (Bob Tennent) Supports Libertine and Biolinum fonts for all LaTeX engines.. Make sure libertineotf and libertine-legacy are uninstalled; usually they should get uninstalled during the updating process automatically. –  doncherry Dec 10 '12 at 2:28
1  
@Mohan I usually just use the closest repository, which for here often happens to be mirrors.med.harvard.edu. The libertine.sty your document uses is from libertine-legacy, so it must be somewhere. Try kpsewhich libertine.sty in the command line, that will display the location of the libertine.sty MiKTeX would use first, I think. (Dont forget to use @username replies to notify other users of your responses!) –  doncherry Dec 10 '12 at 2:59
1  
@Mohan Glad I could help :). I think there's a certain order of places in which MiKTeX looks for files, and the current directory has the highest priority. Since I don't think it's very likely that anybody else will have the same problem as you, we should probably close this question. –  doncherry Dec 10 '12 at 3:29

1 Answer 1

up vote 4 down vote accepted

The libertine font type one has been changed for two times, the last one not long ago.

There are two new packages supporting a part of the old libertine font. See question how does libertine type1 work.

You can -- if you have an archive of the old libertine font (libertine-legacy) -- install the old font in a local texmf tree and use the old font without changing your existing tex documents.

share|improve this answer
    
I tried libertine-legacy earlier and couldn't get it to work. –  Mohan Dec 10 '12 at 2:26
    
@Mohan: I'm running libertine-legacy without problems. I suppose you didn't refresh your FNDB after installing libertine-legacy. If not ask a new question for libertine-legacy with the exact error message(s) you get. –  Kurt Dec 10 '12 at 18:01

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