You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.4 KiB
60 lines
1.4 KiB
\ProvidesFile{gloss-divehi.ldf}[polyglossia: module for divehi]
|
|
\ifluatex
|
|
\xpg@warning{Divehi is not supported with LuaTeX.\MessageBreak
|
|
I will proceed with the compilation, but\MessageBreak
|
|
the output is not guaranteed to be correct\MessageBreak
|
|
and may look very wrong.}
|
|
\fi
|
|
\RequireBidi
|
|
\PolyglossiaSetup{divehi}{
|
|
bcp47=dv,
|
|
script=Thaana,
|
|
scripttag=thaa,
|
|
langtag=DIV,% TODO Support DHV as well?
|
|
direction=RL,
|
|
hyphennames={nohyphenation},
|
|
fontsetup=true
|
|
}
|
|
|
|
% BCP-47 compliant aliases
|
|
\setlanguagealias*{divehi}{dv}
|
|
|
|
%\def\captionsdivehi{%
|
|
% \def\refname{<++>}%
|
|
% \def\abstractname{<++>}%
|
|
% \def\bibname{<++>}%
|
|
% \def\prefacename{<++>}%
|
|
% \def\chaptername{<++>}%
|
|
% \def\appendixname{<++>}%
|
|
% \def\contentsname{<++>}%
|
|
% \def\listfigurename{<++>}%
|
|
% \def\listtablename{<++>}%
|
|
% \def\indexname{<++>}%
|
|
% \def\figurename{<++>}%
|
|
% \def\tablename{<++>}%
|
|
% \def\thepart{}%
|
|
% \def\partname{<++>}%
|
|
% \def\pagename{<++>}%
|
|
% \def\seename{<++>}%
|
|
% \def\alsoname{<++>}%
|
|
% \def\enclname{<++>}%
|
|
% \def\ccname{<++>}%
|
|
% \def\headtoname{<++>}%
|
|
% \def\proofname{<++>}%
|
|
% \def\glossaryname{<++>}%
|
|
% }
|
|
%\def\datedivehi{\def\today{<++>}}
|
|
|
|
% Save original \MakeUppercase definition
|
|
\let\xpg@save@MakeUppercase\MakeUppercase
|
|
|
|
\def\blockextras@divehi{%
|
|
\def\MakeUppercase##1{##1}%
|
|
}
|
|
|
|
\def\noextras@divehi{%
|
|
% restore original \MakeUppercase definition
|
|
\let\MakeUppercase\xpg@save@MakeUppercase%
|
|
}
|
|
|
|
\endinput
|
|
|