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?

  • luatex 0.85 dropped most of the \pdf... commands replacing them by combinations with (in this case) \pdfextension mapfile the luatex85 package defines the old names but betetr long term is to update not to need it. the other is a latex change, once support fro lualatex was brought in to the core we no longer prefixed luatex primitives with luatex so \textdir is available under the name that it is documented as, rather than \luatextextdir as in early releases. – David Carlisle May 19 '17 at 20:31

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




\textdir TRT abc

  • 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 7:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.