def tie_or_space(word, tie='~', space = ' '): if bibtex_len(word) < enough_chars: return tie else: return space
def text_length(i): s = i.pop() i.push(utils.bibtex_len(s))
def width(i): #FIXME need to investigate bibtex' source s = i.pop() i.push(utils.bibtex_len(s))