Here is one reference.
For citrus, zest it first and mix with sugar - extracts the oils. Then (this is my simplification) pour the vinegar into the mixture to dissolve the sugar and strain out the zest. Or leave the lot in after adding the juice and vinegar, and strain after a week to get the pulp and the zest both out.