latex2stog: fix search of labels