sig
  exception Error of string
  val txt_of_tr_doc :
    Common_utils.t_txt_options -> Doc_types.tr_doc -> string
  val exml_of_tr_doc :
    Common_utils.t_exml_options -> Doc_types.tr_doc -> Xml.xml
  val margin_labels_of_tr_doc :
    Common_utils.t_doc_settings -> Doc_types.tr_doc -> string list
  val cref_table_of_tr_doc :
    Common_utils.t_doc_settings ->
    Doc_types.tr_doc -> Common_utils.t_cref_table
  val nte_table_of_tr_doc :
    Common_utils.t_doc_settings ->
    Common_utils.t_cref_table -> Doc_types.tr_doc -> Common_utils.t_nte_table
end