% -*- coding: iso-8859-2 -*-
% example_plr.tex, works with pdflatex, but not with lualatex in TeX Live 2019.
% The input encoding is ISO-8859-2 (latin2).
\documentclass{article}
\usepackage[latin2]{inputenc}
\usepackage{t1enc}
\def\magyarOptions{defaults=hu-min}
\usepackage[magyar]{babel}
\begin{document}
\hyphenation{yő-yő-yő-yő-yő-yő-yő}
\showhyphens{yőyőyőyőyőyőyő}
\showhyphens{árvíztűrő tükörfúrógép}
\hrule width \hsize
\bigskip
\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
\bigskip
\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
\bigskip
\vbox{\Huge\hsize7em\hrule\noindent . . . . . bőbőbőbőbőbőbő\hrule}
\bigskip
\vbox{\Huge\hsize7em\hrule\noindent . . . . . yőyőyőyőyőyőyő\hrule}
\bigskip
\vfill\hrule width\hsize
\end{document}
