I remember seeing similar question (image wise) here on this forum but did not bookmark it :(
If anyone knows and can point me to the example or give me some ideas to get started would be great help. I am working on reproducing an old book which has around 4000 linesas shown in the attached image.
Text on each line is called "Sutra". Number on the left is a unique serial number. Some sutras have a number on the right, which means part or whole text that sutra is to be added to the sutra number shown on the right.
The part which gets transferred to below sutra should be shown as bold or colored. Sometimes its part and sometimes its the whole sutra that gets transferred as can be see in "6"
I also would like to show the text thats getting transferred to the sutra below on across the left line in
In the shown example the span is limited to 3 sutras however in the later part it can span across ~100 sutras - in such cases the left line should spread across pages. the flow of words is always downwards, there will not be any case where the text flows upwards.
PS: numbers in front of Sutra 11 - 12, 19, please do change the question title that make more sense than what I have given.