Categories: Tag me<< | Page list | >>
MAKE BACKUP OF YOUR LyX FILES BEFORE USING THIS SCRIPT!
This script receives a list of *.lyx filenames in command line. In each .lyx file it searches for labels consecutively following one after another. Then it removes all but the first label and in all supplied .lyx files corrects the references to refer to this label.
It's useful to remove duplicate labels.
Note that this script works with patched pyparsing.py (added addCondition() method). See last SVN for pyparsing or the bundled pyparsing.py file.