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

Murray Eisenberg murrayeisenberg at gmail.com
Thu Aug 17 17:22:39 CEST 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://tug.org/pipermail/macostex-archives/attachments/20230817/a7d88fe8/attachment-0001.htm>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: https://www.tug.org/mactex/faq/index.html
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: https://www.tug.org/mactex/index.html
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list.