This might be a possible script for tagging complex document. My fifth iteration of a tagging script for reviewing the literature.