Chemical analysis of 24 dusty (pre-)main-sequence stars — arXiv2