| 1 |
The luainputenc LaTeX2e package |
| 2 |
|
| 3 |
|
| 4 |
luainputenc is an adaptation of inputenc for LuaTeX, as the old inputenc does |
| 5 |
not work (at all) with the LuaTeX engine. It is used only for compatibility |
| 6 |
with old documents. New documents should be encoded in UTF-8 and use Unicode |
| 7 |
fonts (eg with a recent verion of the fontspec package). |
| 8 |
|
| 9 |
This package automatically calls the old inputenc when running with pdfTeX, and |
| 10 |
xetex-inputenc when running XeTeX, so you can safely use it with all your |
| 11 |
documents. |
| 12 |
|
| 13 |
This package is developed on <http://github.com/mpg/luainputenc>, see the 'NEWS' |
| 14 |
file for version history. |
| 15 |
|
| 16 |
Installation |
| 17 |
------------ |
| 18 |
|
| 19 |
Here are the recommended installation methods (preferred first). |
| 20 |
|
| 21 |
1. If you are using TeX Live 2008 or later, use 'tlmgr install luainputenc'. |
| 22 |
Alternatively, try your (TeX or Linux) distribution's package management system. |
| 23 |
|
| 24 |
2. a. Grab luainputenc.tds.zip on the CTAN. |
| 25 |
b. Unzip it at the root of one or your TDS trees. |
| 26 |
c. You may need to update some filename database after, see your TeX |
| 27 |
distribution's manual for details. |
| 28 |
|
| 29 |
3. a. Grab the sources from CTAN or github. |
| 30 |
b. Run 'make install TEXMFROOT=/path/to/texmf'. |
| 31 |
c. See 2c. |
| 32 |
|
| 33 |
|
| 34 |
Manifest |
| 35 |
-------- |
| 36 |
|
| 37 |
Source files: |
| 38 |
luainputenc.dtx the single file source & doc |
| 39 |
|
| 40 |
Derived files: |
| 41 |
luainputenc.pdf the documentation |
| 42 |
luainputenc.sty the LaTeX package |
| 43 |
luainputenc.lua the lua functions for encoding translation |
| 44 |
lutf8.def replacement for utf8.def |
| 45 |
lutf8x.def idem, with new functionalities for Unicode fonts |
| 46 |
inputenc.sty.diff: patch for inputenc.sty to load luainputenc |
| 47 |
automatically if running LuaTeX |
| 48 |
|
| 49 |
License |
| 50 |
------- |
| 51 |
|
| 52 |
This work is under the CC0 license, with an additional restriction: |
| 53 |
the article 6 of the LaTeX Project Public License (lppl), that applies to code |
| 54 |
that has been taken from LaTeX files. |
| 55 |
|
| 56 |
You can find the text of the lppl at |
| 57 |
|
| 58 |
The lppl can be found at http://www.latex-project.org/lppl.txt |
| 59 |
|
| 60 |
You can find the CC0 full text at |
| 61 |
|
| 62 |
http://creativecommons.org/publicdomain/zero/1.0/legalcode |
| 63 |
|
| 64 |
The file luainputenc.dtx contains code with the lppl restriction as well as the |
| 65 |
derived files |
| 66 |
luainputenc.sty |
| 67 |
luainputenc.pdf |
| 68 |
lutf8.def |
| 69 |
lutf8x.def |
| 70 |
|
| 71 |
For further details about their license, please see the comments in these files. |
| 72 |
|
| 73 |
The other derived files are |
| 74 |
luainputenc.lua |
| 75 |
inputenc.sty.diff |
| 76 |
|
| 77 |
These files are under the CC0 license only. |
| 78 |
|