summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/babel/locale/km/babel-khmer.tex
blob: 3ba0fa6a5b798ff1a50da577cb24556900dc8bb1 (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
% 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{km}{%
}

\addto\datekhmer{%
  \babel@save\BabelDated
  \def\BabelDated#1{{\expandafter\khmerdigits\expandafter{#1}}}%
  \babel@save\BabelDatey
  \def\BabelDatey#1{{\expandafter\khmerdigits\expandafter{#1}}}}
  
\ifcase\bbl@engine\or\or
  \bbl@tentative{khmer}%
  \bbl@add\extraskhmer{%
    \XeTeXlinebreaklocale "kh" 
    \bbl@xeisp@Khmr
    \bbl@xeipn@Khmr
  }
  \bbl@add\noextraskhmer{% 
   \XeTeXlinebreaklocale "en"
  }
\fi

\endinput