Theory and Practice of Damask Weaving