let
tex_index_count = ref 0