Input (grade 8): Many of them published their own books detailing their recipes in competition with their rivals.
Output (grade 8): Many of them published their own books explaining their recipes, in competition with their rivals.