0

In Plain TeX, the canonical showlists primitive is extremely useful for understanding what's going on under the hood.

However, I haven't been able to get it to display the page number Plain TeX puts at the bottom of the page. Is there a way to do this?

3

If I simply append \showlists to the \footline

\footline=\expandafter{\the\footline\showlists}
Hello World!
\bye

I get in the log

### restricted horizontal mode entered at line 3
\glue 0.0 plus 1.0fil minus 1.0fil
\tenrm 1
\glue 0.0 plus 1.0fil minus 1.0fil
spacefactor 1000
  • Ah! That's what the OP meant. +1 (I'll delete my comment under the question asking for clarification) – David Carlisle Nov 26 '18 at 0:17
  • @DavidCarlisle I'm not sure whether that is what OP meant, but that's how I understood it. – Henri Menke Nov 26 '18 at 1:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.