Is it possible to create a latex document where some pages have a unique size [width & depth] that basically is the right size to contain all the data from some input file?
More details. I am writing a technical document where I want to include very large tables (both in width and depth.) In order for me to edit these tables efficiently I don't use a latex environment such as array or tabular. Instead I produce tables such as the one below (this is a small subset of such a table) which I can conveniently resize etc ... using e.g. tablemode in vim.
|-------+--------+-------------------------------------+-------------------------------------+----------------------------------------------------------|
| Row | Persp. | | | |
|-------+--------+-------------------------------------+-------------------------------------+----------------------------------------------------------|
| i | SCEN | SCEN/MODEXP | FAILURE_KNOWN_TO_RAM | |
|-------+--------+-------------------------------------+-------------------------------------+----------------------------------------------------------|
| i + 1 | MISC | MMU_FLAG = 0 | EXP_FLAG = 0 blablablablablablabla | OOB_FLAG = 1 blablablablablablablablablablabla |
My strategy is to include these tables as is in my main document by putting the above text inside of a verbatim environment.
What I would like to do is have some pages of arbitrary size that can precisely fit such tables. Outside of these pages the document should be standard A4 pages.

previewoption for it to compile (as suggested here https://tex.stackexchange.com/questions/50162/how-to-make-a-standalone-document-with-one-equation). But the pdf is cropped for some reason. I.e. it produces a pdf which has the right depth but not the right width. – Olivier Bégassat Dec 20 '23 at 13:15