def list_numbering_start(attrs):
 if ('start' in attrs):
  return (int(attrs['start']) - 1)
 else:
  return 0

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