[texhax] Using TTF, OTF and T1 fonts

Boris Veytsman borisv at lk.net
Tue Apr 12 18:20:44 CEST 2011


HV> Date: Tue, 12 Apr 2011 18:14:34 +0200
HV> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>


HV> \listfiles
HV> \documentclass{article}
HV> \usepackage{ifluatex}
HV> \usepackage{auto-pst-pdf}
HV> \ifluatex
HV>    \usepackage{fontspec}
HV>    \setmainfont{Linux Libertine O}
HV> \else
HV>    \usepackage[T1]{fontenc}
HV>    \usepackage{libertine}
HV>    \usepackage{pstricks-add}
HV> ...
HV> \fi

This will work, but also this will work:

\listfiles
\documentclass{article}
\usepackage{auto-pst-pdf}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\usepackage{pstricks-add}

i.e. why not use libertine inside luatex if we are already using it
outside it? 

-- 
Good luck

-Boris

Frankfort, Kentucky, makes it against the law to shoot off a policeman's tie.


More information about the texhax mailing list