We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MWE如下:
\documentclass{fduthesis} \fdusetup{ style={ font = palatino } } \begin{document} abcde \end{document}
报错如下:
/home/yijunyuan/paper/templete-test/test1.tex:10: Package fontspec Error: The font "LibertinusSans-BoldOblique" cannot be (fontspec) found. For immediate help type H <return>. ... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Package fontspec Error: The font "LibertinusSans-BoldOblique" cannot be (fontspec) found. For immediate help type H <return>. ... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Font \l_fontspec_font has only 7 fontdimen parameters. <recently read> \l_fontspec_font l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Undefined control sequence. <argument> \LaTeX3 error: Invalid operation fp_to_decimal(inf) l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTcountfeatures with nullfont; not an OpenType Layout font. <argument> \XeTeXOTcountfeatures \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Missing = inserted for \ifnum. <to be read again> \l__fontspec_script_int l.10 \begin{document} /home/yijunyuan/paper/templete-test/test1.tex:10: Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font. <argument> ...\XeTeXOTfeaturetag \l_fontspec_font \l__fontspec_script_int \l... l.10 \begin{document} (That makes 100 errors; please try again.) No pages of output. Transcript written on test1.log.
核心问题似乎是找不到字体LibertinusSans-BoldOblique。 在终端中运行fc-list | grep -i libertinus效果如下:
LibertinusSans-BoldOblique
fc-list | grep -i libertinus
/usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Regular.otf: Libertinus Serif:style=Regular /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusSerif-SemiboldItalic.pfb: Libertinus Serif:style=Semibold Italic /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Italic.otf: Libertinus Serif:style=Italic /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Bold.otf: Libertinus Serif:style=Bold /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusSerif-Bold.pfb: Libertinus Serif:style=Bold /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusSerif-Italic.pfb: Libertinus Serif:style=Italic /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusSerifDisplay-Regular.pfb: Libertinus Serif Display:style=Regular /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerifDisplay-Regular.otf: Libertinu Serif Display:style=Regular /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-SemiboldItalic.otf: Libertinu Serif,Libertinus Serif Semibold Italic:style=Semibold Italic,Regular /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusKeyboard-Regular.otf: Libertinus Keyboard:style=Regular /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinust1math/BDXsfmr-reg.pfb: BDXsfm:style=Medium /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinust1math/BDXsfmr-bol.pfb: BDXsfm:style=Bold /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSans-Bold.otf: Libertinus Sans:style=Bold /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerifInitials-Regular.otf: Libertinus Serif Initials:style=Regular /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusMono-Bold.pfb: Libertinus Mono:style=Bold /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSans-Italic.otf: Libertinus Sans:style=Italic /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusMath-Regular.otf: Libertinus Math:style=Regular /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinust1math/BDXsfmi-bol.pfb: BDXsfm:style=Bold /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinust1math/BDXsfmi-reg.pfb: BDXsfm:style=Medium /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusSerif-Semibold.pfb: Libertinus Serif:style=Semibold /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusSans-Regular.pfb: Libertinus Sans:style=Regular /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Semibold.otf: Libertinus Serif,Libertinus Serif Semibold:style=Semibold,Regular /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusSerif-BoldItalic.pfb: Libertinus Serif:style=Bold Italic /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusSans-Bold.pfb: Libertinus Sans:style=Bold /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusMono-Regular.pfb: Libertinus Mono:style=Regular /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSans-Regular.otf: Libertinus Sans:style=Regular /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusMono-Regular.otf: Libertinus Mono:style=Regular /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusSans-BoldOblique.pfb: Libertinus Sans:style=BoldOblique /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusMono-BoldOblique.pfb: Libertinus Mono:style=BoldOblique /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusMono-Oblique.pfb: Libertinus Mono:style=Oblique /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusSans-Italic.pfb: Libertinus Sans:style=Italic /usr/local/texlive/2020/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-BoldItalic.otf: Libertinus Serif:style=Bold Italic /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinust1math/LibertinusT1Math.pfb: LibertinusT1 Math:style=Regular /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusSerifInitials-Regular.pfb: Libertinus Serif Initials:style=Regular /usr/local/texlive/2020/texmf-dist/fonts/type1/public/libertinus-type1/LibertinusSerif-Regular.pfb: Libertinus Serif:style=Regular
但fonts使用lm或者times没有问题。
lm
times
操作系统:Ubuntu 20.04 focal(on the Windows Subsystem for Linux) TeX工具: Texlive 2020 (full installation)
The text was updated successfully, but these errors were encountered:
libertinus-otf 在后续版本删掉了 LibertinusSans-BoldOblique.otf 等几个字体文件。临时的解决方法是在导言区加上
libertinus-otf
LibertinusSans-BoldOblique.otf
\expandafter\def\csname g__fdu_font_style_libertinus_bfsl_tl\endcsname{Bold}
把粗斜版本重定向到粗(当然这样也就没有粗斜了,不过粗斜的无衬线体应该很少用到)。
Sorry, something went wrong.
Maybe we can try something like
\setsansfont[AutoFakeSlant,AutoFakeBold]{LibertinusSans-Regular.otf}
AutoFakeSlant is not so perfect, but it's a kind of temporary solution.
(The above line of code is just a demonstration.)
0a5782b
No branches or pull requests
问题复现:
MWE如下:
报错如下:
核心问题似乎是找不到字体
LibertinusSans-BoldOblique
。在终端中运行
fc-list | grep -i libertinus
效果如下:但fonts使用
lm
或者times
没有问题。环境信息:
操作系统:Ubuntu 20.04 focal(on the Windows Subsystem for Linux)
TeX工具: Texlive 2020 (full installation)
The text was updated successfully, but these errors were encountered: