def list_numbering_start(attrs):
    'extract numbering from list element attributes'
    if ('start' in attrs):
        return (int(attrs['start']) - 1)
    else:
        return 0
extract numbering from list element attributes
def list_numbering_start(attrs):
    
    if ('start' in attrs):
        return (int(attrs['start']) - 1)
    else:
        return 0