# [lltx] [tex-live] Updating TeXLive 2010 using tlgmr

Khaled Hosny khaledhosny at eglug.org
Thu Sep 15 16:30:52 CEST 2011

On Thu, Sep 15, 2011 at 11:53:09AM +0930, Will Robertson wrote:
> On 14/09/2011, at 6:26 AM, Reinhard Kotucha wrote:
>
> > On 2011-09-13 at 17:03:23 +0200, SKL wrote:
> >
> >> Checking some discussion boards I believe that this might be a bug
> >> in XeTex - I am not using any of the LM fonts AFAIK as I have
> >> substituted everything with Apple fonts, but nevertheless XeTeX
> >> requires those fonts to be present for some reason (of course it
> >> might also be that I am still using LM in some of the less obvious
> >> places because I failed to specify a correct font, but I am not
> >> sure how to test for this
>
> [snip]
>
> > It doesn't happen with
> > ---------------------------------
> > \documentclass{minimal}
> > \usepackage{mathpazo}
> > \stop
> > ---------------------------------
> > , presumably because mathpazo correctly switches to Palatino before
> > switching to T1.  It would be nice if fontspec can do the same.
>
> Nope, mathpazo doesn't switch to T1 at all.
>
> I've read through this thread and I can't figure out what fontspec is
> doing wrong here. Years ago there was an option to not load the LM
> fonts, but don't minimal TeX installations come with LM by default?
>
> FWIW, the code that fontspec uses to select Latin Modern is
>
> %<xetexx>\tl_set:Nn \g_fontspec_encoding_tl {EU1}
> %<luatex>\tl_set:Nn \g_fontspec_encoding_tl {EU2}
> \tl_set:Nn \rmdefault {lmr}
> \tl_set:Nn \sfdefault {lmss}
> \tl_set:Nn \ttdefault {lmtt}
> \RequirePackage[\g_fontspec_encoding_tl]{fontenc}
>
> Are you saying there should there be a \normalfont before loading
> fontenc?

I'm not sure what is the issue here either, but I think it would be good
to not try to load fonts that is never used in the document, e.g. if I
use fontspec and set a roman font and don't have any text using sans or
typewriter fonts then why I need LM or any other font that I'm not using
at all?

Regards,
Khaled

--
Khaled Hosny
Egyptian
Arab