%%
%% This style is derived from the docbook one.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mlton-guide-dblatex}
%% Just use the original package and pass the options.
\RequirePackageWithOptions{docbook}

%% Table of Contents spacing
\def\numberline#1{\hb@xt@1.5\@tempdima{#1\hfil}}

%% Listings languages
\lstdefinelanguage{SML}{%
  morekeywords={%
    abstype, and, andalso, as, case, datatype, do, else, end, eqtype, exception,%
    fn, fun, functor, handle, if, in, include, infix, infixr, let, local, nonfix,%
    of, op, open, orelse, raise, rec, sharing, sig, signature, struct, structure,%
    then, type, val, where, while, with, withtype,%
  },%
  sensitive,%
  morecomment=[n]{(*}{*)},%
  morestring=[d]",%
}[keywords,comments,strings]%
% otherkeywords={(,),[,],\{,\},\,,:,...,_,|,=,=>,->,\#,:>},

\lstalias{CL}{Lisp}
\lstalias{Text}{}
