# [texhax] How can I copy all contents in \box255?

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Fri Mar 26 18:41:57 CET 2004

```Maybe something like \setbox 0 = \copy 255 ???

Philip Taylor
--------
Chakrit Nimmanant wrote:

> Hi,
>         I use "lineno" package in my book and it works well. However, If I can get all contents from \box255 before it will be \unvbox at every line by the output routine, I will surely improve my book series.
>
>         At first , I tried to copy the box's contents into a token register, but it didn't work.
>         So, could you please suggest me how to get that contents from \box255
> before \unvbox will blow all of my contents to vertical list by output routine in "lineno" package.
>
>
> Regards,
>
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq