summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/csplain-params.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/csplain-params.opm')
-rw-r--r--macros/luatex/optex/csplain-params.opm24
1 files changed, 24 insertions, 0 deletions
diff --git a/macros/luatex/optex/csplain-params.opm b/macros/luatex/optex/csplain-params.opm
new file mode 100644
index 0000000000..f92d19ffce
--- /dev/null
+++ b/macros/luatex/optex/csplain-params.opm
@@ -0,0 +1,24 @@
+%% This is part of OpTeX project, see http://petr.olsak.net/optex
+
+\_codedecl \uv {CSplain settings for backward compatibiity <2020-01-23>}
+
+
+% for compatibility with csplain:
+
+\_chardef\clqq=8222 \_chardef\crqq=8220
+\_chardef\flqq=171 \_chardef\frqq=187
+\_chardef\promile=8240
+
+\_def\uv#1{\clqq#1\crqq}
+
+\_let\uslang=\enlang \_let\ehyph=\enlang
+\_let\chyph=\cslang \_let\shyph=\sklang
+\_let\csUnicode=\csPatt \_let\czUnicode=\csPatt \_let\skUnicode=\skPatt
+
+\_let \letfont = \_fontlet
+
+\_endcode
+
+These codes are usable only after Unicode font is loaded using \fontfam.
+If you don't use Unicode fonts then more characters from Czech language stay
+unavailable (ř, ů, for example). See the notice in `fonts-preoad.opm`.