I updated the latex manual with a "git pull" and now it no longer produces the pdf for me. I get the error: packages.tex Error 10: File `substitutefont.sty' not found. \usepackage In packages.tex I have, from line 9 to line 15: 9 \usepackage{substitutefont} % so we can use fonts other than those specified in babel 10 \usepackage[english]{babel} % default language for document 11 % Cyrillic - if it is used, no Small Caps are available: 12 %\usepackage[scaled=0.925]{XCharter} % Подключение русифицированных 13 % шрифтов XCharter "Connection 14 % of Russified XCharter Fonts" 15 \usepackage[bitstream-charter]{mathdesign} % Согласование Do you have any idea what could have happened? Lately I have had updates to both texlive and TexStudio, which I use to work on the manual. I found this link: https://ctan.org/pkg/substitutefont?lang=en
Hi Andrea, The substitutefont package is obsolete. Quote from https://www.ctan.org/pkg/substitutefont:
This package used to facilitate the task of setting up a font family as a substitute for another one in a specified font encoding. It has been obsoleted by the NFSS command \DeclareFontFamilySubstitution added to the LATEX kernel in its 2020-02 release (cf. ltnews31). Existing documents can be updated by removing \usepackage{substitutefont} and replacing all instances of \substitutefont with \DeclareFontFamilySubstitution.
Best regards, Andrey пн, 8 апр. 2024 г. в 17:35, Andrea paz via Cin <[email protected]>:
I updated the latex manual with a "git pull" and now it no longer produces the pdf for me. I get the error:
packages.tex Error 10: File `substitutefont.sty' not found. \usepackage
In packages.tex I have, from line 9 to line 15:
9 \usepackage{substitutefont} % so we can use fonts other than those specified in babel 10 \usepackage[english]{babel} % default language for document 11 % Cyrillic - if it is used, no Small Caps are available: 12 %\usepackage[scaled=0.925]{XCharter} % Подключение русифицированных 13 % шрифтов XCharter "Connection 14 % of Russified XCharter Fonts" 15 \usepackage[bitstream-charter]{mathdesign} % Согласование
Do you have any idea what could have happened? Lately I have had updates to both texlive and TexStudio, which I use to work on the manual. I found this link: https://ctan.org/pkg/substitutefont?lang=en -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
Hi, I simply commented out that line and now everything works fine. Is it possible to remove it permanently? I couldn't find any \substitutefont entries in the code, so there are no substitutions to be made with \DeclareFontFamilySubstitution. Am I wrong?
I think that it should be commented out for now, and removed in the near future. пн, 8 апр. 2024 г. в 19:50, Andrea paz <[email protected]>:
Hi, I simply commented out that line and now everything works fine. Is it possible to remove it permanently? I couldn't find any \substitutefont entries in the code, so there are no substitutions to be made with \DeclareFontFamilySubstitution. Am I wrong?
Commented it out in common/packages.tex, ran latex build (not up to date install like Andrea), and checked into GIT so not lost. Thank you both ...Phyllis On Mon, Apr 8, 2024 at 11:04 AM Андрей Спицын via Cin < [email protected]> wrote:
I think that it should be commented out for now, and removed in the near future.
пн, 8 апр. 2024 г. в 19:50, Andrea paz <[email protected]>:
Hi, I simply commented out that line and now everything works fine. Is it possible to remove it permanently? I couldn't find any \substitutefont entries in the code, so there are no substitutions to be made with \DeclareFontFamilySubstitution. Am I wrong?
participants (3)
-
Andrea paz -
Phyllis Smith -
Андрей Спицын