How to Show Line Numbering Side by Side to Compare Two Sources?

Thanks. Your code does not compile by the way (easy fix but you may want to correct it in your post… sorry).

This does not solve your issue but could give ideas on how to implement 📖 How to typeset two texts in parallel on pairs of facing pages? - #5 by sijo .

Also