Can someone please explain in more details what UpTeX / UpLaTeX really is?
I can only find japanese documenation about it.
I knew some ways to type CJK-fonts and directions with TeX and its engines but never heard of UpTeX before.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityCan someone please explain in more details what UpTeX / UpLaTeX really is?
I can only find japanese documenation about it.
I knew some ways to type CJK-fonts and directions with TeX and its engines but never heard of UpTeX before.
It is the Unicode version of pTeX
(pLaTeX
), a japanese version of TeX (LaTeX). In difference to pTeX
it can use all unicode characters:
Edit: OpenType fonts (such as Hiragino, Kozuka) can be used also with pTeX
. Actually, pTeX
and upTeX
do nothing about fonts; whether a font can be used with them depends on dvipdfmx
.
\documentclass[dvipdfmx]{utarticle} % dvipdfmx driver option (for color) required, for post-processing of dvipdfmx
\usepackage{color} % not required for this example...
\begin{document}
\section{芥川龍之介「るしへる」}
破提宇子と云う天主教を弁難した書物のある事は、知っている人も少くあるまい。これは、元和六年、加賀の禅僧巴毗弇なるものの著した書物である。巴毗弇は当初南蛮寺に住した天主教徒であったが、その後何かの事情から、DS 如来を捨てて仏門に帰依する事になった。書中に云っている所から推すと、彼は老儒の学にも造詣のある、一かどの才子だったらしい。
\section{樋口一葉「大つごもり」}
お母樣御機嫌よう好い新年をお迎へなされませ、左樣ならば參りますと、暇乞わざと恭しく、お峰下駄を直せ、お玄關からお歸りではないお出かけだぞとづぶ〳〵しく大手を振りて、行先は何處、父が涙は一夜の [...]
\end{document}
You have to run the example with uplatex
which creates a dvi
output which then has to be convert into a pdf
with dvipdfmx
:
And, of course, it is easier to use as xelatex
with the cjk
packages. More information is available from http://www.t-lab.opal.ne.jp/tex/uptex_en.html
\ruby
solution from XeLaTex.
– buhtz says get vaccinated
Feb 24 '16 at 7:49
\ruby
from pxrubrica.sty in upTeX and pTeX, which is available from CTAN.
– Hironobu YAMASHITA
Mar 1 '16 at 13:25
1
and 2
above are ren-suji). Whether numbers are placed as "ren-suji" or not depends on tradition.
– Hironobu YAMASHITA
Mar 1 '16 at 13:58