1

My LuaTeX 0.95.0 (TeX Live 2016) do not recognize command \pdfmapfile anymore, how can I load information on fonts?

The \luatexttextdir TRT is not recognized either, how can I request a different text direction?

I found no trace of the latter in the LuaTeX documentation (although by dad package developed a few years ago was heavily relying on it) and for the former it is only said that pdf.mapfile is replacing it, does this mean that I have to switch to Lua to call a map file?

yannis
  • 2,013
  • 19
  • 18

1 Answers1

3

For the \pdfmapfile use the luatex85 package, and \textdir instead of \luatextextdir:

\documentclass{article}

\usepackage{luatex85}

\pdfmapfile{=fontawesome.map}
\begin{document}
blbl

\textdir TRT abc

\end{document}
Ulrike Fischer
  • 327,261
  • Thanks, but since I would like my dad package to be stable in the long term, is it pertinent to use a "compatibility" package? – yannis May 20 '17 at 07:33
  • @yannis It's mentioned in the comment that the primitive syntax supported by LuaTeX is \pdfextension mapfile. – user202729 Jan 28 '24 at 01:32