[tex-live] Issues with Latin Modern

jfbu jfbu at free.fr
Mon Mar 23 17:38:28 CET 2015


Hi all, 

I hope this mail will not be considered as too much off-list,
but I am trying to find a way to signal some problems in
the Latin Modern font definition files (or style file) I became 
aware of some years back already, reported back then (for 3 out of 4), 
but to no avail.

Notice that Problem A has recently re-surfaced on tex.stackexchange
and this is the reason why I end up writing this here.

http://tex.stackexchange.com/a/234020/4686

----

Problem A. Originally reported by mail to one of the maintainers
on January 11, 2011

> 
> Dear Mr Jackowski
> 
> I wanted to try out the options lighttt and
> variablett which I discovered through reading lmodern.sty
> 
> (I use the distribution TeXLive 2010)
> 
> It seems that some font shape substitutions are afflicted by typos
> in the files
> ./il2lmvtt.fd
> ./l7xlmvtt.fd
> ./ly1lmvtt.fd
> ./ot1lmvtt.fd
> ./ot4lmvtt.fd
> ./qxlmvtt.fd
> ./t1lmvtt.fd
> ./t5lmvtt.fd
> ./ts1lmvtt.fd
> 
> The typos appear inside the 
> \ifx\lmtt at use@light at as@normal\@empty
> ...
> \else
> 
> conditional. Here is from t1lmvtt.fd
> 
> \ifx\lmtt at use@light at as@normal\@empty
> % macro defined, so we use the light variant as medium (m), and
> % medium as semi-bold (sb):
> \DeclareFontShape{T1}{lmvtt}{sb}{n}
>     {<-> ec-lmvtt10}{}
> \DeclareFontShape{T1}{lmvtt}{sb}{sl}
>     {<-> ec-lmvtto10}{}
> \DeclareFontShape{T1}{lmvtt}{sb}{it}
> TYPO A     {<->sub*lmvtt/m/sl}{}
> %%%%%%%% light (l) and dark (b) variants:
> \DeclareFontShape{T1}{lmvtt}{m}{n}
>     {<-> ec-lmvtl10}{}
> \DeclareFontShape{T1}{lmvtt}{m}{sl}
>     {<-> ec-lmvtlo10}{}
> \DeclareFontShape{T1}{lmvtt}{m}{it}
> TYPO B     {<->sub*lmvtt/l/sl}{}
> 
> I think the "TYPO A" line should read {<->sub*lmvtt/sb/sl}{}
> and "TYPO B" line should read {<->sub*lmvtt/m/sl}{}
> 
> Furthermore the commented line in the middle should read "light (l) as medium"
> 
> Best regards


Problem A, part II. 

Similarly reported by mail on January 11, 2011. 

[the letter was on ot4lmtt.fd, but it is the same for T1 etc...; I checked on my up-to-date TL2014 today that nothing has changed at least for T1, I did not go and check again OT4]

> Dear Boguslaw
> 
> the same problems I mentioned for the *lmvtt.fd files is present also in the *lmtt.fd files
> 
> e.g. from ot4lmtt.fd, inside the \ifx\lmtt at use@light at as@normal\@empty conditional
> 
> \DeclareFontShape{OT4}{lmtt}{m}{it}
>     {<->sub*lmtt/l/sl}{}
> 
> but \DeclareFontShape{OT4}{lmtt}{l}{sl} appears only after the \else (and before the \fi)
> 
> so I think it should be
> \DeclareFontShape{OT4}{lmtt}{m}{it}
>     {<->sub*lmtt/m/sl}{}
> 
> quite probably this is the same in all other *lmtt.fd files
> 
> regards,
> 
> Jean-Francois

----

Problem B. reported by mail on October 22, 2012.
 
> Dear Boguslaw Jackowski
> 
> the lmodern.sty file contains the line 
> 
> \SetMathAlphabet{\mathtt}{bold}  {OT1}{lmtt}{m}{n} 
> 
> but there is a bold lmtt, so shouldn't the above line
> be
> 
> \SetMathAlphabet{\mathtt}{bold}  {OT1}{lmtt}{b}{n} 
> 
> ?
> 
> regards,
> 
> Jean-François Burnol

other version found in my outbox

> Hi,
> 
> the Latin Modern fonts include a bold typewriter that
> you can see with \texttt{\textbf{hello}} for example
> 
> (true of OT1 as well as T1 encoding for example)
> 
> however the lmodern.sty file contains the line
> 
> \SetMathAlphabet{\mathtt}{bold}  {OT1}{lmtt}{m}{n}
> 
> As a result \mathversion{bold} $\mathtt{hello}$
> is not bold (contrarily to what happens with \mathsf or
> \mathit)
> 
> Thus I believe the above line should be
> 
> \SetMathAlphabet{\mathtt}{bold}  {OT1}{lmtt}{b}{n}
> 
> What is the best way to inform the lmodern maintainers?
> 
> Regards,
> 
> Jean-Francois

----

Problem C. Reported on c.t.tex on October 5, 2012.

I see now that I should report it to the current maintainer
Claudio Beccari, perhaps he sees this on TeXLive mailing list,
else I will also report to him. (I checked that the bug 
still holds for the 2014 version). Thus this problem was
not properly transmitted to maintainer so far. (I think)

> Hi,
> 
> There is a problem with font definition file for
> Latin Modern in LGR encoding which on my system is
> there:
> 
> /usr/local/texlive/2012/texmf-dist/tex/generic/babel/lgrlmr.fd
> 
> This problem show up in size 6 for the bold variant,
> there are two missing letters at the ends of lines 88 and 93
> of the file. These lines should read, respectively:
> 
>     {<-5.5>    grxn0500      <5.5-6.5> grxn0600
> 
> and
> 
>     {<-5.5>    gmxn0500      <5.5-6.5> gmxn0600
> 
> I don't know to whom communicate that information in the most
> efficient manner, this is why I post here.
> 
> The fix is to put a copy of the original file, modified
> as above in your local texmf tree.
> 

----

Problem D. Reported by mail to Latin Modern maintainer on October 27, 2012.

> \documentclass{article}
> % Time-stamp: <27-10-2012 12:25:25 CEST jfb>
> % TL2012 (updated today October 27) on a mac os x
> 
> % \setminus does not show up with TGTermes-Math, TGPagella-math,
> % LatinModern-Math Math (but ok with Asana-Math or xits-math.)
> % 
> 
> \usepackage{ifluatex}
> \usepackage{unicode-math} 
> \ifluatex
> \setmathfont{TGTermes-Math}
> \else 
> % xetex
> \setmathfont[ExternalLocation]{texgyretermes-math}
> \fi
> 
> \begin{document}
> The setminus symbol does not show up:
> $A\setminus B$
> 
> Identical results whether XeTeX or LuaLatex.
> 
> Same with Latin Modern Math and TeX Gyre Pagella Math, but ok
> with XITS and Asana-Math.
> \end{document}

Note that in the above one should now use

\setmathfont{TeX Gyre Termes Math}

for the lualatex branch

because font names have changed since TL2012. 

The other branch for xelatex has this form because I am
on mac os x, and the files have not been made known to the system

But anyhow the problem about \setminus is still there.

Thank you for your patience

Jean-François


More information about the tex-live mailing list