[OS X TeX] Issues with XeLaTeX and LuaLatex

Gerben Wierda gerben.wierda at rna.nl
Fri Jun 14 16:27:51 EDT 2019


Hello world,

I’ve been experimenting with XeLaTeX and LuaLaTeX. This is in my preamble:

\documentclass[10pt]{article}
\usepackage{relsize}
\usepackage[dutch]{babel}
\usepackage{multicol}
\usepackage[colorlinks=true]{hyperref}
\usepackage{cleveref}
\crefformat{footnote}{#2\footnotemark[#1]#3}
\usepackage{fontspec}
\usepackage{textcomp}
\usepackage{enumitem}% http://ctan.org/pkg/enumitem
\usepackage[scale=0.9]{geometry} % see geometry.pdf on how to lay out the page. There's lots.
\geometry{a4paper} % or letter or a5paper or ... etc
\usepackage[protrusion=true]{microtype}
\setmainfont{Optima}
\begin{document}

When using LuaLatex, I get 

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

and neither \textsl{} or \emph{} work.

With either LuaLaTeX or XeLaTeX I get tons of:

Package microtype Warning: Unknown slot number of character
(microtype)                `\r u'
(microtype)                in font encoding `TU' in inheritance list
(microtype)                `microtype.cfg/376(protrusion)'.


Package microtype Warning: Unknown slot number of character
(microtype)                `\'Z'
(microtype)                in font encoding `TU' in inheritance list
(microtype)                `microtype.cfg/376(protrusion)'.

Apparently, I don’t know what I’m doing. Finally moving away from my very outdated pdfTeX approach is probably the reason.



Gerben Wierda
Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
Architecture for Real Enterprises <https://www.infoworld.com/blog/architecture-for-real-enterprises/> at InfoWorld
On Slippery Ice <https://eapj.org/on-slippery-ice/> at EAPJ

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20190614/a9600c41/attachment.html>


More information about the MacOSX-TeX mailing list