2

This question already has an answer here:

I am looking at TeX as an output format similar to PDF that describes the page sufficiently, but with all tokens resolved (more like going from Postscript to PDF). This format should also indicate all the places where the linebreaks and pagebreaks are present as requested in a related question. To put it more aptly, you could say that I am looking at TeX version of DVI which can reproduce the same DVI (though not necessarily identical).

marked as duplicate by Werner, Svend Tveskæg, jub0bs, yo', Sigur Nov 22 '14 at 21:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Do you just want to complete expansion without any typesetting? – ChrisS Nov 22 '14 at 6:54
  • 2
    There has been some question in this regard, where the OP requested a way to resolve all macros into primitives... I think. – Werner Nov 22 '14 at 7:13
  • Short answer, no, but as werner said this is a duplicate, if we can find it... – David Carlisle Nov 22 '14 at 9:34
  • The simplest way to achieve this would be to use \showoutput so that a symbolic form of every page is output to the log file then parse that page to produce a tex representation, but why? – David Carlisle Nov 22 '14 at 10:07
  • 1
    I am looking at an output representation using TeX markup, what more clear can I make it? – Sukii Nov 24 '14 at 8:37