The carboxylic acid-pyridine supramolecular heterosynthon can be exploited to predictably generate binary crystalline phases involving rac-ibuprofen, rac-flurbiprofen or aspirin.