From 35a6b03343c20966985ff3b8a795f17739b0745c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 29 Nov 2009 00:16:42 +0000 Subject: luainputenc update (28nov09) git-svn-id: svn://tug.org/texlive/trunk@16226 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/lualatex/luainputenc/luainputenc.pdf | Bin 138909 -> 139197 bytes .../source/lualatex/luainputenc/luainputenc.dtx | 31 +++++++++++++-------- .../texmf-dist/tex/lualatex/luainputenc/eu2enc.def | 2 +- .../texmf-dist/tex/lualatex/luainputenc/eu2lmr.fd | 2 +- .../tex/lualatex/luainputenc/luainputenc.lua | 4 +-- .../tex/lualatex/luainputenc/luainputenc.sty | 7 +++-- .../texmf-dist/tex/lualatex/luainputenc/lutf8.def | 2 +- .../texmf-dist/tex/lualatex/luainputenc/lutf8x.def | 2 +- 8 files changed, 29 insertions(+), 21 deletions(-) diff --git a/Master/texmf-dist/doc/lualatex/luainputenc/luainputenc.pdf b/Master/texmf-dist/doc/lualatex/luainputenc/luainputenc.pdf index df817b5a357..c8fba75c092 100644 Binary files a/Master/texmf-dist/doc/lualatex/luainputenc/luainputenc.pdf and b/Master/texmf-dist/doc/lualatex/luainputenc/luainputenc.pdf differ diff --git a/Master/texmf-dist/source/lualatex/luainputenc/luainputenc.dtx b/Master/texmf-dist/source/lualatex/luainputenc/luainputenc.dtx index 06e7c6b8ce6..9d61411b298 100644 --- a/Master/texmf-dist/source/lualatex/luainputenc/luainputenc.dtx +++ b/Master/texmf-dist/source/lualatex/luainputenc/luainputenc.dtx @@ -41,7 +41,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: luainputenc 2009/09/23 v0.94 inputenc package for LuaTeX} +\Msg{* Package: luainputenc 2009/11/20 v0.95 inputenc package for LuaTeX} \Msg{************************************************************************} \keepsilent @@ -129,7 +129,7 @@ and the derived files % %\NeedsTeXFormat{LaTeX2e} %\ProvidesPackage{luainputenc} -% [2009/09/23 v0.94 inputenc package for LuaTeX] +% [2009/11/20 v0.95 inputenc package for LuaTeX] % % \fi %<*driver> @@ -164,7 +164,7 @@ and the derived files % \GetFileInfo{luainputenc.sty} % % \title{The \textsf{luainputenc} package} -% \date{2009/09/23 v0.94} +% \date{2009/11/20 v0.95} % \author{Elie Roux \\ \texttt{elie.roux@telecom-bretagne.eu}} % % \maketitle @@ -434,6 +434,12 @@ and the derived files % |\@inpenc@loop\^^?\^^ff|, because it made no sense in UTF-8 mode. We will % call this line for 8-bit encodings. % +% Note that the code has been changed for |\endlinechar|, because in new +% versions (from v0.43) of Lua\TeX{} the value cannot exceed 127. +% Thus, with the old version of \textsf{luainputenc}, when trying +% to add 10000, it fails silently, and when 10000 is substracted, the +% new value is -1, resulting in no end of lines at all in the document. +% % \begin{macrocode} \def\inputencoding#1{% @@ -444,11 +450,12 @@ and the derived files \@inpenc@loop\^^A\^^H% \@inpenc@loop\^^K\^^K% \@inpenc@loop\^^N\^^_% - \advance\endlinechar\@M + \xdef\saved@endlinechar{\the\endlinechar }% + \endlinechar=-1 \xdef\saved@space@catcode{\the\catcode`\ }% \catcode`\ 9\relax \input{#1.def}% - \advance\endlinechar-\@M + \endlinechar=\saved@endlinechar{}% \catcode`\ \saved@space@catcode\relax \ifx\@inpenc@test\relax\else \PackageWarning{inputenc}% @@ -763,7 +770,7 @@ and the derived files \ProvidesFile{lutf8.def} - [2009/09/23 v0.94 UTF-8 support for luainputenc] + [2009/11/20 v0.95 UTF-8 support for luainputenc] \makeatletter \catcode`\ \saved@space@catcode @@ -879,7 +886,7 @@ and the derived files % \begin{macrocode} \ProvidesFile{lutf8x.def} - [2009/09/23 v0.94 UTF-8 support for luainputenc] + [2009/11/20 v0.95 UTF-8 support for luainputenc] \makeatletter \catcode`\ \saved@space@catcode @@ -1024,7 +1031,7 @@ and the derived files % % \begin{macrocode} -\ProvidesFile{eu2enc.def}[2009/09/23 v0.1 a unicode font encoding for LuaTeX.] +\ProvidesFile{eu2enc.def}[2009/11/20 v0.1 a unicode font encoding for LuaTeX.] \DeclareFontEncoding{EU2}{}{} \DeclareErrorFont{EU2}{lmr}{m}{n}{10} \DeclareFontSubstitution{EU2}{lmr}{m}{n} @@ -1048,7 +1055,7 @@ and the derived files % \begin{macrocode} \ProvidesFile{eu2lmr.fd} - [2009/09/23 v0.2 Font defs for Latin Modern for LuaTeX's EU2 encoding] + [2009/11/20 v0.2 Font defs for Latin Modern for LuaTeX's EU2 encoding] \DeclareFontFamily{EU2}{lmr}{} \DeclareFontShape{EU2}{lmr}{m}{n}% {<-5.5> "lmroman5-regular:+tlig;+tsub;+liga;+rlig;" @@ -1121,8 +1128,8 @@ luainputenc = { } luainputenc.module = { name = "luainputenc", - version = 0.94, - date = "2009/09/23", + version = 0.95, + date = "2009/11/20", description = "Lua simple inputenc package.", author = "Elie Roux", copyright = "Elie Roux", @@ -1443,4 +1450,4 @@ end % \fi % % \Finale -\endinput +\endinput \ No newline at end of file diff --git a/Master/texmf-dist/tex/lualatex/luainputenc/eu2enc.def b/Master/texmf-dist/tex/lualatex/luainputenc/eu2enc.def index bf6f814128f..20a674886cf 100644 --- a/Master/texmf-dist/tex/lualatex/luainputenc/eu2enc.def +++ b/Master/texmf-dist/tex/lualatex/luainputenc/eu2enc.def @@ -26,7 +26,7 @@ %% eu2enc.def, eu2lmr.fd and luainputenc.pdf %% -\ProvidesFile{eu2enc.def}[2009/09/23 v0.1 a unicode font encoding for LuaTeX.] +\ProvidesFile{eu2enc.def}[2009/11/20 v0.1 a unicode font encoding for LuaTeX.] \DeclareFontEncoding{EU2}{}{} \DeclareErrorFont{EU2}{lmr}{m}{n}{10} \DeclareFontSubstitution{EU2}{lmr}{m}{n} diff --git a/Master/texmf-dist/tex/lualatex/luainputenc/eu2lmr.fd b/Master/texmf-dist/tex/lualatex/luainputenc/eu2lmr.fd index e231fc5f6aa..6c926f2d8ca 100644 --- a/Master/texmf-dist/tex/lualatex/luainputenc/eu2lmr.fd +++ b/Master/texmf-dist/tex/lualatex/luainputenc/eu2lmr.fd @@ -27,7 +27,7 @@ %% \ProvidesFile{eu2lmr.fd} - [2009/09/23 v0.2 Font defs for Latin Modern for LuaTeX's EU2 encoding] + [2009/11/20 v0.2 Font defs for Latin Modern for LuaTeX's EU2 encoding] \DeclareFontFamily{EU2}{lmr}{} \DeclareFontShape{EU2}{lmr}{m}{n}% {<-5.5> "lmroman5-regular:+tlig;+tsub;+liga;+rlig;" diff --git a/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.lua b/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.lua index 202493dff36..e5e27e76021 100644 --- a/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.lua +++ b/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.lua @@ -30,8 +30,8 @@ luainputenc = { } luainputenc.module = { name = "luainputenc", - version = 0.94, - date = "2009/09/23", + version = 0.95, + date = "2009/11/20", description = "Lua simple inputenc package.", author = "Elie Roux", copyright = "Elie Roux", diff --git a/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.sty b/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.sty index 495e2ee19e9..88f6468ea09 100644 --- a/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.sty +++ b/Master/texmf-dist/tex/lualatex/luainputenc/luainputenc.sty @@ -28,7 +28,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{luainputenc} - [2009/09/23 v0.94 inputenc package for LuaTeX] + [2009/11/20 v0.95 inputenc package for LuaTeX] %% This file was adapted from inputenc.sty, which copyright is: %% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 @@ -111,11 +111,12 @@ \@inpenc@loop\^^A\^^H% \@inpenc@loop\^^K\^^K% \@inpenc@loop\^^N\^^_% - \advance\endlinechar\@M + \xdef\saved@endlinechar{\the\endlinechar }% + \endlinechar=-1 \xdef\saved@space@catcode{\the\catcode`\ }% \catcode`\ 9\relax \input{#1.def}% - \advance\endlinechar-\@M + \endlinechar=\saved@endlinechar{}% \catcode`\ \saved@space@catcode\relax \ifx\@inpenc@test\relax\else \PackageWarning{inputenc}% diff --git a/Master/texmf-dist/tex/lualatex/luainputenc/lutf8.def b/Master/texmf-dist/tex/lualatex/luainputenc/lutf8.def index e388d713f06..b90bced1590 100644 --- a/Master/texmf-dist/tex/lualatex/luainputenc/lutf8.def +++ b/Master/texmf-dist/tex/lualatex/luainputenc/lutf8.def @@ -44,7 +44,7 @@ \ProvidesFile{lutf8.def} - [2009/09/23 v0.94 UTF-8 support for luainputenc] + [2009/11/20 v0.95 UTF-8 support for luainputenc] \makeatletter \catcode`\ \saved@space@catcode diff --git a/Master/texmf-dist/tex/lualatex/luainputenc/lutf8x.def b/Master/texmf-dist/tex/lualatex/luainputenc/lutf8x.def index 90919e1d47c..2f7bf95db30 100644 --- a/Master/texmf-dist/tex/lualatex/luainputenc/lutf8x.def +++ b/Master/texmf-dist/tex/lualatex/luainputenc/lutf8x.def @@ -44,7 +44,7 @@ \ProvidesFile{lutf8x.def} - [2009/09/23 v0.94 UTF-8 support for luainputenc] + [2009/11/20 v0.95 UTF-8 support for luainputenc] \makeatletter \catcode`\ \saved@space@catcode -- cgit v1.2.3