Hi, Try \tag to mark which lines you want/need to display and then \keepWithTag to create a fine-tuned file in which you can include or exclude based on a line of text granularity with the possibility of multipe versions generated per include.
Regards, Wim van Dommelen.