summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/cstypo
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-09-03 21:36:23 +0000
committerKarl Berry <karl@freefriends.org>2016-09-03 21:36:23 +0000
commitc22ab9576265f84ca4d5a4a331998e171aa3872d (patch)
tree2a67326fbb1bcbc774fe3ba8fe090a599a37f7e7 /Master/texmf-dist/tex/lualatex/cstypo
parent25b22d051f604243eafddac4e9e54e56f80f0f66 (diff)
cstypo (3sep16)
git-svn-id: svn://tug.org/texlive/trunk@41986 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/cstypo')
-rw-r--r--Master/texmf-dist/tex/lualatex/cstypo/cstypo.sty17
1 files changed, 16 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/lualatex/cstypo/cstypo.sty b/Master/texmf-dist/tex/lualatex/cstypo/cstypo.sty
index 5fe04b38d35..a5565970982 100644
--- a/Master/texmf-dist/tex/lualatex/cstypo/cstypo.sty
+++ b/Master/texmf-dist/tex/lualatex/cstypo/cstypo.sty
@@ -8,12 +8,27 @@
%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{cstypo}
- [2016/08/30 v0.02 LaTeX package to enforce some basic Czech language
+ [2016/08/31 v0.03 LaTeX package to enforce some basic Czech language
typography rules. Requires Lua(La)TeX.]
\RequirePackage{ifluatex}
\ifluatex
+
+\makeatletter
+\ifcsname l@czech\endcsname
+\PackageInfo{cstypo}{%
+ Czech language ID is \the\l@czech
+}
+\else
+\PackageError{cstypo}{%
+ \protect\l@czech\space is not defined
+}{%
+ Include cstypo package after polyglossia or babel.
+}
+\fi
+\makeatother
+
\input{cstypo-tex}
\else
\PackageError{cstypo}{%