Each tcolorbox must be put on each page for presentation. Some page is overflowed when the tcoloxbox's contents are beyonded height. How can the page height expand in this situation.
This is my MWE, the second page's height need to expanded.
Thank you in advance!

\documentclass{article}
\usepackage{tcolorbox}
\usepackage{lipsum}
\usepackage[margin=2cm,papersize={15cm,10cm}]{geometry}
\usepackage{etoolbox}
\AtBeginEnvironment{tcolorbox}{\newpage}
\begin{document}
\begin{tcolorbox}
\lipsum[15]
\end{tcolorbox}
\begin{tcolorbox}
\lipsum[3-30]
\end{tcolorbox}
\begin{tcolorbox}
\lipsum[15]
\end{tcolorbox}
\end{document}



incgraph(an example: https://tex.stackexchange.com/a/287054/1952). I'm not sure if you need to have independent images previously compiled to include at their real size. – Ignasi Aug 11 '21 at 12:02incgraphto define individual pages. A similar solution can be applied to your other question: https://tex.stackexchange.com/a/620162/1952 – Ignasi Oct 26 '21 at 07:57