Recode callback redesign

Adding tag's text and tail is a common behavior of all recoders. It is
a good idea to process TeX statement and data payload in two separate
routines.