summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-preview.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-07-30 22:20:15 +0000
committerKarl Berry <karl@freefriends.org>2017-07-30 22:20:15 +0000
commitab0137d0a3f9f8fc686c8804fb910eb99ca9cd75 (patch)
tree27c7e9685f74b7bcf70e1ce738faa684a4826067 /Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-preview.sty
parentee2ba58b71acb3f3395797014cae26262b39771e (diff)
luatexja (30jul17)
git-svn-id: svn://tug.org/texlive/trunk@44924 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-preview.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-preview.sty16
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-preview.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-preview.sty
new file mode 100644
index 00000000000..f8a90efa05f
--- /dev/null
+++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-preview.sty
@@ -0,0 +1,16 @@
+%
+% lltjp-preview.sty
+%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{lltjp-preview}[2017/05/08 Patch to preview for LuaTeX-ja]
+
+\RequirePackage{etoolbox,preview,luatexja}
+
+\patchcmd\pr@endbox{%
+ \pr@ship@end
+}{%
+ \setbox\pr@box\hbox{\yoko\box\pr@box}\pr@ship@end
+}{}{}
+
+\endinput