* tta/C/api_for_swig/swig_interface.c
(txi_ext_set_element_attribute_integer_list)
(txi_ext_set_element_attribute_string_list)
(txi_ext_element_add_index_entry), tta/swig/texinfo.i
(set_element_attribute_integer_list,
set_element_attribute_string_list) (element_add_index_entry): add
functions to set extra attributes.  For index entry, the function also
adds the index if it does not exist and set the index entry in the
index index entries list.  Add to SWIG interface.

* * tta/swig/texinfo.i (add_element_to_element_contents): replace
add_to_element_contents by add_element_to_element_contents as it works
for all the element categories.

* tta/swig/texinfo.i (set_document_root, new_element): add to SWIG
interface to be able to create a document and a Texinfo tree ex
nihilo.
5 files changed