summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luavlna/luavlna.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luavlna/luavlna.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luavlna/luavlna.sty24
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