[OS X TeX] warning: substitutefont.sty made obsolete

Murray Eisenberg murrayeisenberg at gmail.com
Thu Aug 17 11:22:39 EDT 2023


With pdfLaTeX, the substitutefont.sty package could be used to combine font families for different font encodings, e.g., to add a 
Cyrillic font with encoding T2A to a font for Latin-characters using T1 encoding.

Now, substitutefont.sty is marked as "obsolete" on CTAN, and it no longer seems to be part of TeXLive. 

I got "bitten" by that disappearance yesterday. Perhaps this message will spare you some head-scratching!

Instead of something like...

\usepackage[T2A,T1]{fontenc} 
\usepackage{substitutefont} % now obsolete!
\usepackage[russian,ngerman,polish,english]{babel}
\substitutefont{T2A}{\rmdefault}{Tempora-TLF} % for Cyrillic - old way
\usepackage{newtx}
...one must now use:
\usepackage[T2A,T1]{fontenc} 
\usepackage[russian,ngerman,polish,english]{babel}
\DeclareFontFamilySubstitution{T2A}{\rmdefault}{Tempora-TLF} % for Cyrillic - new way
\usepackage{newtx}
I posted this, with a bit more detail, also at https://tex.stackexchange.com/questions/693694/warning-substitutefont-no-longer-working.
---
Murray Eisenberg		murrayeisenberg at gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101		
Rockville, MD 20850-6667	



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20230817/a7d88fe8/attachment.htm>


More information about the MacOSX-TeX mailing list