Measurement of two-particle semi-inclusive rapidity distributions at the CERN ISR