summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-08-03 16:53:27 +0000
committerKarl Berry <karl@freefriends.org>2014-08-03 16:53:27 +0000
commit6493ff809c01bf214a27f16adf993ca101b7b8c3 (patch)
treec30ba8cdbee32f847f72dbd9538840aa92a81b06 /Master/texmf-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.sty
parent685b5dc94ea5ebab0435f4f24c7a77183aac27b5 (diff)
lua-check-hyphen
git-svn-id: svn://tug.org/texlive/trunk@34810 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.sty')
-rw-r--r--Master/texmf-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.sty11
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.sty b/Master/texmf-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.sty
index a4253fb0579..b919bd3b654 100644
--- a/Master/texmf-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.sty
+++ b/Master/texmf-dist/tex/lualatex/lua-check-hyphen/lua-check-hyphen.sty
@@ -1,7 +1,9 @@
-% see lua file for copyright information (MIT License)
+% Copyright 2012 Patrick Gundlach (patrick@gundla.ch)
+% Public repository: https://github.com/pgundlach/lua-check-hyphen
+% Licensed under the MIT license. See the file 'mit-license.txt' for exact terms.
-\def\luachekchyphenpkgdate{2012/06/20}
-\def\luachekchyphenversion{0.1}
+\def\luachekchyphenpkgdate{2014/07/30}
+\def\luachekchyphenversion{0.3}
\RequirePackage{ifluatex}
@@ -10,6 +12,8 @@
\RequirePackage{keyval}
\DeclareOption{final}{\setkeys{luacheckhyphen}{final}}
+\DeclareOption{nofile}{\setkeys{luacheckhyphen}{nofile}}
+
\DeclareOption*{\setkeys{luacheckhyphen}{\CurrentOption}}
\ProvidesPackage{lua-check-hyphen}[\luachekchyphenpkgdate\space v\luachekchyphenversion\space Hyphenation checking for LuaTeX (PGU)]
@@ -18,6 +22,7 @@
\def\luachekchyphendothings{\directlua{luachekchyphen.enable() }}
+\define@key{luacheckhyphen}{nofile}[true]{\directlua{luachekchyphen.nofile = "\luatexluaescapestring{#1}"}}
\define@key{luacheckhyphen}{final}[true]{\directlua{luachekchyphen.final = "\luatexluaescapestring{#1}"}}
\define@key{luacheckhyphen}{mark}[true]{\directlua{luachekchyphen.mark = "\luatexluaescapestring{#1}"}}
\define@key{luacheckhyphen}{whitelist}{\directlua{luachekchyphen.whitelist = "\luatexluaescapestring{#1}"}}