[tex-live] cm-super-minimal

jfbu jfbu at free.fr
Sat Nov 17 17:13:03 CET 2018

Hi Norbert,

Le 17 nov. 2018 à 16:33, Norbert Preining <preining at logic.at> a écrit :

> Hi,
> why not ask at
> 	debian-tex-maint at lists.debian.org
> which is the appropriate place for Debian?

Yes, that would have been more appropriate, I will know next time;

> On Sat, 17 Nov 2018, jfbu wrote:
>> I wonder thus how \Large and \small will work out on
>> a system having only texlive-lang-cyrillic and cm-super-minimal
> The Debian specific README in
> 	/usr/share/doc/cm-super-minimal/README.Debian
> (which is the same in /usr/share/doc/cm-super/README.Debian) comes to
> help:
>   0. For latex, load the type1ec package and then select T1 fontenc:
>        \usepackage{type1ec}
>        \usepackage[T1]{fontenc}
>   For tex, load the fonts with \font, see below
>   If you DON'T have cm-super (the full package) installed you have to use
>        \usepackage[10pt]{type1ec}
>   which uses only those cm-super fonts available in cm-super-minimal and
>   scale those fonts for other design sizes.

Indeed! OK, motivated by your mail

- I discovered that Mac OS X offers "ar" command (ar -x for extracion),
  thus I downloaded cm-super-minimal_0.3.4-9_all.deb and
  executed ar -x on it in a working repertory

- then ar -x on data.tar.gz

(later on I discovered I could simply hit RET in an Emacs buffer)

This allowed me to examine the cm-super-minimal-x2.map file,
to see the contents or the README you are quoting and then 
to examine the type1ec.sty file which has very clear header

% Copyright 2002 Vladimir Volovich
% Put \usepackage{type1ec} before \usepackage[...]{fontenc}
% in order to use CM-Super EC/TC/LH fonts at arbitrary sizes.
% To reduce the output PS or PDF file size, use \usepackage[10pt]{type1ec}
% (that will use only 10 pt fonts scaled to any desired size).

This entirely solves my problem, thanks a lot!

That file ends only with \input{t1cmr.fd}, but it has defined
\EC at family, which is used also in x2cmr.fd

So indeed the X2 encoded font definition will also use the ???000.pfb
files only from cm-super-minimal

> Otherwise, what will happen is that the fonts are GENERATED from the MF
> sources:
> ...
> kpathsea: Running mktexmf rxrm1000
> mf: /home/norbert/.texlive2018/texmf-var/fonts/source/lh/lh-x2/rxrm1000.mf: successfully generated.
> (/home/norbert/.texlive2018/texmf-var/fonts/source/lh/lh-x2/rxrm1000.mf
> ...
> Font metrics written on rxrm1000.tfm.
> Output written on rxrm1000.600gf (256 characters, 50700 bytes).
> Transcript written on rxrm1000.log.
> mktextfm: /home/norbert/.texlive2018/texmf-var/fonts/tfm/lh/lh-x2/rxrm1000.tfm: successfully generated.
> )
> No file cm-super-minimal-test.aux.
> (/usr/share/texlive/texmf-dist/tex/latex/cyrillic/x2cmss.fd)
> kpathsea: Running mktextfm rxss1000
> mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input rxss1000
> This is METAFONT, Version 2.7182818 (TeX Live 2019/dev/Debian) (preloaded base=mf)
> kpathsea: Running mktexmf rxss1000
> ...

Yes, but those are the TFM files. 

The Type-1 font files (.pfb) actually making their
way to PDF need to be there available.

Fortunately option 10pt of type1ec achieves what one wants, also for Cyrillic which was my main concern

Sorry for noise, and more importantly thanks for help,



More information about the tex-live mailing list