Debian Codegraph @

texmf-dist/tex/lualatex/cstypo/cstypo.sty

raw
1 % LaTeX package to enforce some basic Czech language typography
2 % rules. Requires LuaLaTeX.
3 %
4 % (c) 2016 Václav Haisman
5 %
6 %% This program can be redistributed and/or modified under the terms of the
7 %% MIT license. See LICENSE file.
8 %
9 \NeedsTeXFormat{LaTeX2e}[1994/06/01]
10 \ProvidesPackage{cstypo}
11 [2016/08/31 v0.03 LaTeX package to enforce some basic Czech language
12 typography rules. Requires Lua(La)TeX.]
13
14 \RequirePackage{ifluatex}
15
16 \ifluatex
17
18 \makeatletter
19 \ifcsname l@czech\endcsname
20 \PackageInfo{cstypo}{%
21 Czech language ID is \the\l@czech
22 }
23 \else
24 \PackageError{cstypo}{%
25 \protect\l@czech\space is not defined
26 }{%
27 Include cstypo package after polyglossia or babel.
28 }
29 \fi
30 \makeatother
31
32 \input{cstypo-tex}
33 \else
34 \PackageError{cstypo}{%
35 This requires LuaTeX or LuaLaTeX
36 }{%
37 Compile this with LuaTeX or LuaLaTeX.
38 }
39
40 \fi
41
42 \endinput
43
44 %%
45 %% End of file `cstypo.sty'.