summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/babel/locale/th/babel-thai.tex
blob: e8c2517a87d9d0ef2417cdbcb64a578bedee73eb (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
% This file is part of babel. For further details see:
% https://www.ctan.org/pkg/babel
\ifx\BabelBeforeIni\undefined
  \PackageError{babel}%
    {This file is a component of babel and cannot\MessageBreak
     be loaded directly. I'll stop immediately}%
    {Just use babel as documented.}%
  \stop
\fi
\BabelBeforeIni{th}{%
}

\addto\datethai{%
  \babel@save\BabelDatey
  \def\BabelDatey#1{{\number\numexpr#1+543}}}

\ifcase\bbl@engine\or\or
  \bbl@tentative{thai}%
  \addto\extrasthai{%
    \XeTeXlinebreaklocale "th"
    \bbl@xeisp@Thai
    \bbl@xeipn@Thai}
  \addto\noextrasthai{%
    \XeTeXlinebreaklocale "en"}
\fi

\endinput