As you can see from the log I'm getting the warning
Code: Select all
LaTeX Font Warning: Font shape `TU/ppl/b/n' undefined
(Font) using `TU/lmr/m/n' instead on input line 13.
\RequirePackage[palatino]{quotchap}
Package

Code: Select all
LaTeX Font Warning: Font shape `TU/ppl/b/n' undefined
(Font) using `TU/lmr/m/n' instead on input line 13.
\RequirePackage[palatino]{quotchap}
fc-cache
?I installed some other fonts to use specifically with this template and they're in the same directory as Palatino Linotype, so that shouldn't be the issue.Ijon Tichy wrote:With XeLaTeX (in opposite to LuaLaTeX) I often have problems, if fonts are not correctly installed system-wide. LuaLaTeX can use fonts in the TEXMF tree without system wide installation. XeLaTeX can't.
Yes, the fonts are available in Libreoffice, and the other fonts I installed with Palatino get picked up by xetex. I also ran fc-cache, even with the --force option. I think the problem is specific toIjon Tichy wrote:Usually copying font files is not the same as installing them. Are the fonts available in other applications e.g. libreoffice? Have you runfc-cache
?
Thanks, I'll try that. In order to use that though I'd have to use my own version of quotchap, what should I put in place of "ppl" at line 23 of the source code in order to make it work?Ijon Tichy wrote:BTW: Instead of Palatino you could also try TeX Gyre Pagella which is part of TeX Live (but for XeLaTeX it could be necessary to install it system-wide too).
Code: Select all
\RequirePackage{color}
\RequirePackage{xcolor}
\usepackage{hyperref}
\RequirePackage{url}
\chapnumfont
. If the document uses a utf8 native engine, i. e. is either lualatex or xelatex based, you should replace the definition by a fontspec font selection command.Code: Select all
\documentclass{book}
\usepackage{fontspec}
\usepackage{quotchap}
\newfontfamily{\fontPalatino}{TeX Gyre Pagella}
\renewcommand*{\chapnumfont}{\fontPalatino\fontsize{100}{300}\selectfont\color{chaptergrey}}
\usepackage{mwe}% useful for minimal working examples only
\begin{document}
\blinddocument
\end{document}
\chapnumfont
itself. If it does no, this would be one more "do not use this class" sign!Code: Select all
\renewcommand*{\chapnumfont}{\bfseries\fontPalatino\fontsize{100}{130}\selectfont\color{chaptergrey}}
The class is based on xelatex and it was probably written by somebody with a Mac, so I'm guessing they didn't have my same problem because Adobe Palatino comes preinstalled on Macs, so they already had a Unicode ppl font on their system.Ijon Tichy wrote:BTW: If the used class already bases on xelatex or lualatex and loads quotchap, it should redefine\chapnumfont
itself. If it does no, this would be one more "do not use this class" sign!