The sett and weaving of tartans