%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{lltjp-preview}[2017/11/12 Patch to preview for LuaTeX-ja]
+\ProvidesPackage{lltjp-preview}[2018/01/20 Patch to preview for LuaTeX-ja]
\RequirePackage{etoolbox,preview,luatexja}
\newbox\ltj@preview@box
\pr@ship@end
}{%
\setbox\ltj@preview@box=\box\AtBeginShipoutBox
- \setbox\AtBeginShipoutBox=\hbox{\yoko\box\pr@box}%
+ \setbox\AtBeginShipoutBox=\vbox{\yoko\box\pr@box}%
\directlua{luatexja.direction.finalize()}%
\setbox\pr@box=\box\AtBeginShipoutBox
\setbox\AtBeginShipoutBox=\box\ltj@preview@box