I am trying to have correct control of text flow over many pages which I establish by allowframebreaks in the custom frame slide in the Berkeley theme of beamer document class.
The example code uses the package quotation where you can see that the content passes the page although \resizebox{\textheight}{!}.
Similar complications occur in resizing figures to text height such that many lines of text is hidden, while the expected output is page break earlier, exposing all text.
\documentclass{beamer}
\usetheme{Berkeley}
% http://tex.stackexchange.com/a/94632/13173
\newenvironment{slide}[1]
{\begin{frame}[environment=slide,allowframebreaks,fragile]
\frametitle{\insertsection-#1} % Torbjørn T. Thank you!
}
{\end{frame}}
\begin{document}
\begin{slide}{Lorem}
\resizebox{\textheight}{!}{
\begin{quotation}
The elimination of CS can be achieved through implementation of various proven measures but requires technical support, funding and commitment among political forces, health officials, and public to prevent and treat CS cases and help countries reach their Millennium Development Goals.
Stronger partnerships with clearly defined responsibilities should be developed among agencies responsible for national STI control, HIV/AIDS control, and making pregnancy safer initiatives to ensure universal coverage of CS control interventions.
Clinicians should adhere to standardized protocols in evaluation and management of at-risk newborns. Vigilant screening prenatally and at delivery and adequate follow-up are critical to reduce CS. Improved surveillance data and resources are needed for identification and follow-up of newborns at risk for CS.
Clinicians should adhere to standardized protocols in evaluation and management of at-risk newborns. Vigilant screening prenatally and at delivery and adequate follow-up are critical to reduce CS. Improved surveillance data and resources are needed for identification and follow-up of newborns at risk for CS.
- Phiske, Hossain, Martin.
\end{quotation}
}
\end{slide}
\end{document}

\resizeboxandquotationisn't an option? – Torbjørn T. Dec 31 '16 at 21:42\frametitleis not correctly identified though. – Torbjørn T. Dec 31 '16 at 22:00beamerredefinesquotationsuch that it isn't breakable any longer (in contrast to thebooketc. version ofquotation) – Dec 31 '16 at 22:00\frametitle{\insertsection-#1}to the next line, you get the correct frametitles. – Torbjørn T. Dec 31 '16 at 22:03slide. I do not understand neither why the code is so fragile with the brackets. – Léo Léopold Hertz 준영 Dec 31 '16 at 22:07