From c5eb42407f4dca7e0651d9f78eac32007261407b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 23 Jun 2009 00:18:01 +0000 Subject: new lualatex package luainputenc git-svn-id: svn://tug.org/texlive/trunk@13903 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/lualatex/luainputenc/README | 90 +++++++++++++++++++++ .../doc/lualatex/luainputenc/inputenc.sty.diff | 24 ++++++ .../doc/lualatex/luainputenc/luainputenc.pdf | Bin 0 -> 136487 bytes 3 files changed, 114 insertions(+) create mode 100644 Master/texmf-dist/doc/lualatex/luainputenc/README create mode 100644 Master/texmf-dist/doc/lualatex/luainputenc/inputenc.sty.diff create mode 100644 Master/texmf-dist/doc/lualatex/luainputenc/luainputenc.pdf (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/lualatex/luainputenc/README b/Master/texmf-dist/doc/lualatex/luainputenc/README new file mode 100644 index 00000000000..80a5f4c833a --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/luainputenc/README @@ -0,0 +1,90 @@ + 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. + +You need luatextra to use this package. + +Please note that you have to use this package even for UTF-8 encoded sources. +This is needed for compatibility with non-Unicode fonts and may be worked around +in the future. + +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 +documents. + +Please see luatextra-reference.pdf for an introduction. + +This package is developed on . + +Installation +------------ + +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 TEXMF=/path/to/texmf'. + c. See 2c. + +4. Try to figure it out by looking at the Makefile and comments in the sources. + + +Manifest +-------- + +Source files: + luainputenc.dtx the single file source & doc + luainputenc.pdf the documentation + +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 + eu2enc.def definition of the EU2 (Unicode) font encoding + for LuaTeX + eu2lmr.fd: lmodern font definition for the EU2 encoding + inputenc.sty.diff: patch for inputenc.sty to load luainputenc + automatically if running LuaTeX + +License +------- + +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 + +http://creativecommons.org/publicdomain/zero/1.0/legalcode + +The file luainputenc.dtx contains code with the lppl restriction as well as the +derived files + luainputenc.sty + lutf8.def + lutf8x.def + +For further details about their license, please see the comments in these files. + +The other derived files are + luainputenc.lua + inputenc.sty.diff + eu2enc.def + eu2lmr.fd + +These files are under the CC0 license only. + diff --git a/Master/texmf-dist/doc/lualatex/luainputenc/inputenc.sty.diff b/Master/texmf-dist/doc/lualatex/luainputenc/inputenc.sty.diff new file mode 100644 index 00000000000..80e17e3c746 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/luainputenc/inputenc.sty.diff @@ -0,0 +1,24 @@ + + \ifnum\@tempcnta<`#2\relax + \advance\@tempcnta\@ne + \repeat} ++ ++\begingroup\expandafter\expandafter\expandafter\endgroup ++\expandafter\ifx\csname XeTeXversion\endcsname\relax\else ++ \RequirePackage{xetex-inputenc} ++ \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{xetex-inputenc}} ++ \ProcessOptions* ++ \expandafter\endinput ++\fi ++\begingroup\expandafter\expandafter\expandafter\endgroup ++\expandafter\ifx\csname directlua\endcsname\relax\else ++ \RequirePackage{luainputenc} ++ \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{luainputenc}} ++ \ProcessOptions* ++ \expandafter\endinput ++\fi ++ + \ProcessOptions + \endinput + %% + diff --git a/Master/texmf-dist/doc/lualatex/luainputenc/luainputenc.pdf b/Master/texmf-dist/doc/lualatex/luainputenc/luainputenc.pdf new file mode 100644 index 00000000000..8c063918cfe Binary files /dev/null and b/Master/texmf-dist/doc/lualatex/luainputenc/luainputenc.pdf differ -- cgit v1.2.3