summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/uptex/uptex-base/samples/texxet-jis.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-16 20:34:07 +0000
committerKarl Berry <karl@freefriends.org>2016-05-16 20:34:07 +0000
commitee21dffc0464c5046e9b9e2ba42d0cbc2e314027 (patch)
treedc81d0ef5ccae724e388d7dc3324253731d86062 /Master/texmf-dist/doc/uptex/uptex-base/samples/texxet-jis.tex
parent0d411d66a94f03fc08288e50bb51879a5a5e3639 (diff)
uptex-base (16may16)
git-svn-id: svn://tug.org/texlive/trunk@41198 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/uptex/uptex-base/samples/texxet-jis.tex')
-rw-r--r--Master/texmf-dist/doc/uptex/uptex-base/samples/texxet-jis.tex37
1 files changed, 37 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/uptex/uptex-base/samples/texxet-jis.tex b/Master/texmf-dist/doc/uptex/uptex-base/samples/texxet-jis.tex
new file mode 100644
index 00000000000..d76dc154e43
--- /dev/null
+++ b/Master/texmf-dist/doc/uptex/uptex-base/samples/texxet-jis.tex
@@ -0,0 +1,37 @@
+% For eplatex or euplatex
+
+% autodetect kanji-internal code
+\ifnum\jis"2121="3000
+% euplatex
+\documentclass{ujarticle}
+\def\pLaTeXorupLaTeX{$\epsilon$-up\LaTeX}
+\else
+% eplatex
+\documentclass{jarticle}
+\def\pLaTeXorupLaTeX{$\epsilon$-p\LaTeX}
+\fi
+
+\DeclareFontShape{OT1}{cmr}{bxrev}{n}{<-> xbmc10}{} % for right-to-left text
+\DeclareTextFontCommand{\revrm}{\fontseries{bxrev}\fontshape{n}\selectfont}
+\def\TeXXeT{\TeX-\revrm{\TeXXeTstate=1\beginR\TeX-\endR}}
+
+\begin{document}
+
+\section{\TeXXeT $B$N%F%9%H(B}
+\pLaTeXorupLaTeX $B$G%F%9%H$7$F$$$^$9!#(B
+
+\parindent0mm
+
+``Yes, we can.'' offline enilffo shuffle elffuhs file elif
+
+\TeXXeTstate=1\beginR
+``Yes, we can.'' offline enilffo shuffle elffuhs file elif
+\endR
+
+$B%b!<%K%s%0L<!#(B $BK\EDH~F`;R!%(B $B$H$i$d(B
+
+\TeXXeTstate=1\beginR
+$B%b!<%K%s%0L<!#(B $BK\EDH~F`;R!%(B $B$H$i$d(B
+\endR
+
+\end{document}