<div dir="ltr"><div><br></div><div>> 
 I never previously dug deep enough into latex to get to the dvi code generation and still not sure how that occurs <br></div><div><br></div><div>The dvi writing in luatex is the file I linked to, and for the original tex it is the equivalent module in tex.web (you will see the same comments) so the code starting somewhere around</div><div><br></div><div><a href="https://github.com/TeX-Live/texlive-source/blob/trunk/texk/web2c/tex.web#L11308">https://github.com/TeX-Live/texlive-source/blob/trunk/texk/web2c/tex.web#L11308</a></div><div><br></div><div>David</div><div><br></div><div><br></div></div>