blob: a5565970982eb09370b19faba8ff0ac673e180cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
% LaTeX package to enforce some basic Czech language typography
% rules. Requires LuaLaTeX.
%
% (c) 2016 Václav Haisman
%
%% This program can be redistributed and/or modified under the terms of the
%% MIT license. See LICENSE file.
%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{cstypo}
[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}{%
This requires LuaTeX or LuaLaTeX
}{%
Compile this with LuaTeX or LuaLaTeX.
}
\fi
\endinput
%%
%% End of file `cstypo.sty'.
|