Is there a command that would typeset a some text (one paragraph), and then only actually put out the first N lines as formatted. It would mean that the last word might actually only be the first part of a hyphenated word. I like to make samples of a font at different text/leading sizes, and such a command would make this easier and prettier.
I use Lualatex if that makes a difference.
\documentclass{article}
\usepackage{blindtext}
\newcommand\firstnlines[2]{%
#2 % want to print first #1 lines of #2 here
}
\begin{document}
\begin{minipage}{3in}
% set fontsize & baselineskip here
\firstnlines{8}{\blindtext}
\end{minipage}
\end{document}
