anchor.diff:  
       Index =
           lists:map(
  -              fun ([A,B,C,[]]) ->
  -                      fmt("['~s','~s','~s',[]]",
  -                        [html_encode(A),html_encode(B),html_encode(C)]);
  -                  ([A,B,C,D]) ->
  -                      fmt("['~s','~s','~s','~s']",
  -                        [html_encode(A),html_encode(B),html_encode(C),html_encode(D)])
  -              end,
  -              lists:sort(fun sort_index/2, lists:map(F, FIndex))),
  +          fun ([A,B,C,[]]) ->
  +                  fmt("['~s','~s','~s',[]]",
  +                      [html_encode(A),html_encode(B),html_encode(C)]);
  +              ([A,B,C,D]) ->
  +                  fmt("['~s','~s','~s','~s']",
  +                      [html_encode(A),html_encode(B),html_encode(C),html_encode(D)])
  +          end,
  +          lists:sort(fun sort_index/2, lists:map(F, FIndex))),
   
       Js = fmt("var index = [~s];",
                [string:join([[C || C <- I, C /= $\n, C /= $\r] || I <- Index], ",")]),
   
  -    ok = file:write_file([dest(Conf), "/erldocs_index.js"], Js).
  +    ok = file:write_file(jname(kf(dest,Conf), "erldocs_index.js"), Js).
   
   render (cref, App, Mod, Xml, Types, Conf) ->
       render(erlref, App, Mod, Xml, Types, Conf);
   
   render (erlref, App, Mod, Xml, Types, Conf) ->
   
  -    File = filename:join([dest(Conf), App, Mod++".html"]),
  -    ok   = filelib:ensure_dir(dname(File) ++ "/"),
  +    File = jname([kf(dest,Conf), App, Mod++".html"]),
  +    ok = filelib:ensure_dir(dname(File) ++ "/"),
   
       Acc = [{ids,[]}, {list,ul}, {functions,[]}, {types,Types}],
   
  
positive.code: 
  dname (Name) ->
      filename:dirname(Name).
  
  % List of the type of xml files erldocs can build
  buildable () ->
  
negative.code: read_xml (_Conf, XmlFile) ->
      ?log("Reading XML for ~p", [XmlFile]),
      DocgenDir = code:priv_dir(erl_docgen),
      Opts = [ {fetch_path, [ jname(DocgenDir, "dtd")
                            , jname(DocgenDir, "dtd_html_entities") ]}
             , {encoding, "latin1"} ],
      case catch xmerl_scan:file(XmlFile, Opts) of
          {Xml, _Rest} ->
  