I successfully installed the font (*.tfm, *.pfb and *.vf files) of my university, I'm now struggling to use them with XeLaTeX. About my specifications:
I am running TeXLive 2011 using AucTex 11.86.
My LaTeX file looks as follow:
%!TEX TS-program = xelatex-xdvipdfmx
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{fontspec}
\setmainfont[Path = /usr/local/texlive/texmf-local/fonts/type1/ETH,
Extension= .pfb]
%\setmainfont{Arial}
\usepackage{enumerate}
\usepackage{fullpage}
\usepackage{amssymb}
\usepackage{amsmath}
%\usepackage[usenames]{color}
\usepackage{lineno}
%\usepackage[pdftex]{graphicx}
\usepackage{epstopdf}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
\usepackage[margin=10pt,font=small,labelfont=bf]{caption}
% \usepackage{wrapfig}
\usepackage{subfig}
\usepackage{fixltx2e}
\usepackage{multirow}
\setlength{\parskip}{\baselineskip}
\setlength{\parindent}{0pt}
\renewcommand{\baselinestretch}{1.35}
\title{test Xelatex}
\author{Tonkiplis}
\begin{document}
\maketitle
\abstract{Abstract: only an outline for now.}
\noindent{\bf Keywords:}
\section{Introduction}
lol
\section{Methodology}
\clearpage
\end{document}
And I tried the different extensions (tfm, pfb and vf). The compilation is successful but the output pdf only contains an empty page.
- What am I doing wrong?
- How shall I specify the font path to be successful?
- What is the meaning of those tfm, pfb and vf types?
\begin{document}
somewhere;fontspec
would be required as well; your\setmainfont
doesn't look like you're trying to load a font at all. A mere path and extension won't suffice to tellfontspec
what font it's supposed to load.