In the town of Thanjavur in southest India we visited Sri Sagunthalai Silks factory. One of their specialities is weaving special borders on the fabric. They developed a technique so the join between the body and the borders was barely detectable by feel. [click photos to enlarge]
There were 5 or 6 Jacquard looms. Here is how the (two) Jacquard mechanisms were set up: one mechanism for the borders (with yellow cords) and the other for the body of the cloth with white cords. Each and every pattern warp thread was weighted separately so each thread could be lifted to make the complicated brocade pattern seen above. Each heddle was attached to its own cord going up to the mechanisms (yellow and white cords). One punch card was made for each row of weaving which the mechanisms operated to make the sheds. This inspired the develpment of computers; you can see why.
This shows the two warps for the body and a border. I think the shafts lifted the ground threads and the Jacquard lifted the separate pattern threads.
Here the woman weaving (wearing a sari) lifted the border threads with its own treadle. I think the Jacuard worked automatically when a shed was made. (You can see some of the weights below the border).
Another treadle worked the shed for the body of the fabic.
Here she was VERY grumpy when the Jacquard mechanism overhead malfunctioned!