Comprehensive TeX Archive Network

Direc­tory macros/luatex/latex/luainputenc

                        The luainputenc LaTeX2e package

luainputenc is an adaptation of inputenc for LuaTeX, as the old inputenc does
not work (at all) with the LuaTeX engine. It is used only for compatibility
with old documents. New documents should be encoded in UTF-8 and use Unicode
fonts (eg with a recent verion of the fontspec package).

This package automatically calls the old inputenc when running with pdfTeX, and
xetex-inputenc when running XeTeX, so you can safely use it with all your

This package is developed on <http://github.com/mpg/luainputenc>, see the 'NEWS'
file for version history.


Here are the recommended installation methods (preferred first).

1. If you are using TeX Live 2008 or later, use 'tlmgr install luainputenc'.
Alternatively, try your (TeX or Linux) distribution's package management system.

2. a. Grab luainputenc.tds.zip on the CTAN.
   b. Unzip it at the root of one or your TDS trees.
   c. You may need to update some filename database after, see your TeX
distribution's manual for details.

3. a. Grab the sources from CTAN or github.
   b. Run 'make install TEXMFROOT=/path/to/texmf'.
   c. See 2c.


Source files:
        luainputenc.dtx         the single file source & doc

Derived files:
        luainputenc.pdf         the documentation
        luainputenc.sty         the LaTeX package
        luainputenc.lua         the lua functions for encoding translation
        lutf8.def               replacement for utf8.def
        lutf8x.def              idem, with new functionalities for Unicode fonts
        inputenc.sty.diff:      patch for inputenc.sty to load luainputenc
                                automatically if running LuaTeX


This work is under the CC0 license, with an additional restriction: 
the article 6 of the LaTeX Project Public License (lppl), that applies to code
that has been taken from LaTeX files.

You can find the text of the lppl at

The lppl can be found at http://www.latex-project.org/lppl.txt

You can find the CC0 full text at


The file luainputenc.dtx contains code with the lppl restriction as well as the
derived files

For further details about their license, please see the comments in these files.

The other derived files are

These files are under the CC0 license only.

Down­load the con­tents of this pack­age in one zip archive (406.4k).

lu­ain­pu­tenc – Re­plac­ing in­pu­tenc for use in Lua

Lua op­er­ates by de­fault in UTF-8 in­put; thus doc­u­ments that need 8-bit char­ac­ter-sets need spe­cial treat­ment. (In fact, doc­u­ments us­ing UTF-8 with “tra­di­tional” — 256-glyph — fonts also need sup­port from this pack­age.)

The pack­age, there­fore, re­places the stan­dard in­pu­tenc for use un­der Lua. With a cur­rent Lua,the pack­age has the same be­haviour with Lua as in­pu­tenc has un­der pdf.

Li­cense Public Do­main Soft­ware
Main­tainer Manuel Pé­gourié-Gon­nard (in­ac­tive)
Élie Roux (in­ac­tive)
TDS archiveluainputenc.tds.zip
Con­tained inTeX Live as lu­ain­pu­tenc
MiKTeX as lu­ain­pu­tenc
Topics Lua and pack­ages that re­quire it
in­put en­cod­ing sup­port for en­gines
Guest Book Sitemap Contact Contact Author