On Linux Mint, how can I install the font Antiqua for XeLaTeX?
2
votes
1
answer
169
views
In Linux Mint, how can I install the font "Book Antiqua" to my system. Namely, I have the following LaTeX document:
\documentclass[12pt]{article}
\title{\textbf{Gummi 0.8.0}}
\author{x}
\date{}
\addtolength{\topmargin}{-3cm}
\addtolength{\textheight}{3cm}
\usepackage{setspace}
%\usepackage{mathpazo}
\usepackage{xurl}
\usepackage[%
left=3cm,%
right=3cm,%
top=2.5cm,%3
bottom=2.5cm,%
headheight=33pt,%
]{geometry}%
\usepackage[finnish]{babel}
%\usepackage{newtxtext,newtxmath} % Antiqua-fontti
\usepackage{hyperref}
\usepackage{scrlayer-scrpage}
\usepackage{fontspec}
\usepackage[T1]{fontenc}
\clearpairofpagestyles
\ohead*{\pagemark}
\begin{document}
\setlength{\footheight}{17.99445pt}
\topskip0pt
\vspace*{\fill}
\thispagestyle{empty}
\setmainfont{Book Antiqua}
\begin{center}
asijdo
dsad
\end{center}
When I tried to compile the document by the command
xelatex demo.tex
, the output was
Package hyperref Warning: Rerun to get /PageLabels entry.
kpathsea:make_tex: Invalid filename `Book Antiqua', contains ' '
! Package fontspec Error: The font "Book Antiqua" cannot be found.
For immediate help type H .
...
l.32 \begin
{center}
?
How can I solve the issue?
Asked by Jaakko Seppälä
(137 rep)
Oct 17, 2022, 12:31 PM
Last activity: Oct 17, 2022, 03:22 PM
Last activity: Oct 17, 2022, 03:22 PM