summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/babel/locale/km/babel-khmer.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel/locale/km/babel-khmer.tex')
-rw-r--r--Master/texmf-dist/tex/generic/babel/locale/km/babel-khmer.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/babel/locale/km/babel-khmer.tex b/Master/texmf-dist/tex/generic/babel/locale/km/babel-khmer.tex
index f8cf086111a..3ba0fa6a5b7 100644
--- a/Master/texmf-dist/tex/generic/babel/locale/km/babel-khmer.tex
+++ b/Master/texmf-dist/tex/generic/babel/locale/km/babel-khmer.tex
@@ -9,4 +9,23 @@
\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 \ No newline at end of file