diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-31 21:52:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-31 21:52:21 +0000 |
commit | 0a964418bc66e27bdc4733bd834819c2dd10d52d (patch) | |
tree | 4c8540601255e9a3845c345beb874e4262e108bd /Master/texmf-dist/tex/luatex/luavlna/luavlna.sty | |
parent | 629cc6d9525b419abb49e5a39e5b24c61e0cef60 (diff) |
luavlna (31may18)
git-svn-id: svn://tug.org/texlive/trunk@47892 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luavlna/luavlna.sty')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luavlna/luavlna.sty | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/luavlna/luavlna.sty b/Master/texmf-dist/tex/luatex/luavlna/luavlna.sty new file mode 100644 index 00000000000..059c260ea11 --- /dev/null +++ b/Master/texmf-dist/tex/luatex/luavlna/luavlna.sty @@ -0,0 +1,24 @@ +\ProvidesPackage{luavlna}[2017/09/30 luavlna] + +\def\nosingledefaults{\relax} +\input luavlna + +\def\singlechars#1#2{% + \ifcsname l@#1\endcsname% + \expandafter\directlua\expandafter{set_singlechars("\the\csname l@#1\endcsname","#2")}% + \fi% +} + +% Define compound initials +\def\compoundinitials#1#2{% + \ifcsname l@#1\endcsname% + \expandafter\directlua\expandafter{set_compounds("\the\csname l@#1\endcsname","#2")}% + \fi% +} + +\AtBeginDocument{% + \singlechars{czech}{AIiVvOoUuSsZzKk} + \singlechars{slovak}{AIiVvOoUuSsZzKk} + \compoundinitials{czech}{Ch,CH} +} +\endinput |