This would be extremely useful in InDesign. I often find myself setting up three paragraph styles — First, Middle, and Last — to adjust spacing above and below lists, quotes, dialogue, etc. Would be much easier to have one paragraph style with 'nth of type' conditions as per CSS.
Similarly, it would be very useful to have conditional styles for 'preceeded by' and 'followed by', a bit like CSS element + element selector. i.e. when you have `body text paragraph style` preceeded by another `body text paragraph style`, apply an indent.
This would be extremely useful in InDesign. I often find myself setting up three paragraph styles — First, Middle, and Last — to adjust spacing above and below lists, quotes, dialogue, etc. Would be much easier to have one paragraph style with 'nth of type' conditions as per CSS.
Similarly, it would be very useful to have conditional styles for 'preceeded by' and 'followed by', a bit like CSS element + element selector. i.e. when you have `body text paragraph style` preceeded by another `body text paragraph style`, apply an indent.