summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/cstypo/cstypo-tex.tex
blob: 28488daec1db0f2380634cef40caf07fde5922e9 (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
\catcode`\@=11
\directlua{cstypo_czech_language_id = \the\l@czech}
\catcode`\@=12
\directlua{require('cstypo')}

\long\def\cstypoSingleLetterEnable{%
  \directlua{cstypo_single_letter_enable()}}
\long\def\cstypoSingleLetterDisable{%
  \directlua{cstypo_single_letter_disable()}}

\long\def\cstypoALetterEnable{%
  \directlua{cstypo_a_letter_enable()}}
\long\def\cstypoALetterDisable{%
  \directlua{cstypo_a_letter_disable()}}

\long\def\cstypoPercentsEnable{%
  \directlua{cstypo_percents_enable()}}
\long\def\cstypoPercentsDisable{%
  \directlua{cstypo_percents_disable()}}

\long\def\cstypoParagraphEnable{%
  \directlua{cstypo_paragraph_enable()}}
\long\def\cstypoParagraphDisable{%
  \directlua{cstypo_paragraph_disable()}}