Last active
March 28, 2020 09:30
-
-
Save dohyunkim/e6429d844575369f0c48277e3587ad50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[a4paper]{article} | |
\usepackage{kotex,iftex} | |
\defaultfontfeatures+{Renderer=OpenType} | |
\setmainhangulfont{Noto Sans CJK KR}[Script=Hangul, BoldFont=* Bold] | |
\newfontfamily\manjufont{Noto Sans Mongolian}[Script=Mongolian] | |
\ifluatex | |
\hangulpunctuations=0 | |
\directlua{ | |
function reverselines(box) | |
local t, head, curr, prevdp = {} | |
for l in node.traverse_list(box.head) do | |
table.insert(t, 1, l) | |
end | |
for _,l in ipairs(t) do | |
if prevdp then | |
local g = node.prepend_prevdepth(l, prevdp) | |
head, curr = node.insert_after(head, curr, g) | |
end | |
head, curr = node.insert_after(head, curr, l) | |
prevdp = l.depth | |
end | |
box.head = head | |
end | |
} | |
\fi | |
\def\manju#1{% | |
\setbox0=\vbox\bgroup | |
\ifxetex \XeTeXupwardsmode=1 \fi | |
\hsize=#1\relax | |
\raggedright | |
\manjufont | |
} | |
\def\endmanju{% | |
\egroup | |
\ifluatex \directlua{ reverselines(tex.getbox(0)) }\fi | |
\rotateclockwise0 | |
} | |
\ifluatex | |
\def\rotateclockwise#1{% | |
\hbox to\dimexpr\ht#1+\dp#1{% | |
\hss | |
\vbox to\wd#1{% | |
\wd#1=0pt \ht#1=0pt \dp#1=0pt | |
\pdfextension save | |
\pdfextension setmatrix{0 -1 1 0}% | |
\box#1\relax | |
\pdfextension restore | |
\vss | |
}% | |
}% | |
} | |
\fi | |
\ifxetex | |
\def\rotateclockwise#1{% | |
\hbox to\dimexpr\ht#1+\dp#1{% | |
\vbox to\wd#1{% | |
\wd#1=0pt \ht#1=0pt \dp#1=0pt | |
\special{pdf:btrans rotate -90}% | |
\box#1\relax | |
\special{pdf:etrans}% | |
\vss | |
}% | |
\hss | |
}% | |
} | |
\fi | |
\begin{document} | |
\section{청문지요} | |
\begin{manju}{7cm} | |
ᡩᠣᠨᠵᡳᠴᡳ ᠰᡳ ᡨᡝ ᠮᠠᠨᠵᡠ ᠪᡳᡨᡥᡝ ᡨᠠᠴᡳᠮᠪᡳ ᠰᡝᠮᠪᡳ᠈ ᡠᠮᡝᠰᡳ ᠰᠠᡳᠨ᠉ ᠮᠠᠨᠵᡠ ᡤᡳᠰᡠᠨ ᠰᡝᡵᡝᠩᡤᡝ᠈ ᠮᡠᠰᡝᡳ ᡠᠵᡠᡳ ᡠᠵᡠ ᠣᠶᠣᠩᡤᠣ ᠪᠠᡳᡨᠠ᠈ ᡠᡨᡥᠠᡳ ᠨᡳᡴᠠᠰᠠᡳ ᠮᡝᠨᡳ ᠮᡝᠨᡳ ᠪᠠ ᡳ ᡤᡳᠰᡠᠨ ᡳ ᠠᡩᠠᠯᡳ᠈ ᠪᠠᡥᠠᠨᠠᡵᠠᡴᡡᠴᡳ ᠣᠮᠪᡳᠣ᠉ ᡳᠨᡠ ᠸᠠᡴᠠ ᠣᠴᡳ ᠠᡳ᠉ ᠪᡳ ᠵᡠᠸᠠᠨ ᠠᠨᡳᠶᠠ ᡶᡠᠨᠴᡝᠮᡝ ᠨᡳᡴᠠᠨ ᠪᡳᡨᡥᡝ ᡨᠠᠴᡳᡥᠠ᠈ ᡨᡝᡨᡝᠯᡝ ᡠᠮᠠᡳ ᡩᡠᠪᡝ ᡩᠠ ᡨᡠᠴᡳᡵᠠᡴᡡ᠈ ᠵᠠᡳ ᠠᡳᡴᠠᠪᠠᡩᡝ ᠮᠠᠨᠵᡠ ᠪᡳᡨᡥᡝ ᡥᡡᠯᠠᡵᠠᡴᡡ᠈ ᡠᠪᠠᠯᡳᠶᠠᠮᠪᡠᡵᡝ ᠪᡝ ᡨᠠᠴᡳᡵᠠᡴᡡ ᠣᠴᡳ᠈ ᠵᡠᠸᡝ ᡩᡝ ᡤᡝᠮᡠ ᠰᠠᡵᡨᠠᠪᡠᡵᡝ ᡩᡝ ᡳᠰᡳᠨᠠᠮᠪᡳ᠉ ᡨᡠᡨᡨᡠ ᠣᡶᡳ᠈ ᠪᡳ ᡝᠮᡩᡝ ᠣᠴᡳ᠈ ᠠᡤᡝ ᠪᡝ ᡨᡠᠸᠠᠨᠵᡳᡥᠠ᠈ ᠵᠠᡳ ᡩᡝ ᠣᠴᡳ᠈ ᡤᡝᠯᡳ ᠰᠠᡴᡩᠠ ᠠᡥᡡᠨ ᡩᡝ ᠪᠠᡳᡵᡝ ᠪᠠᠪᡳ᠉ ᡩᠠᠮᡠ ᠪᠠᡳᠪᡳ ᠠᠩᡤᠠ ᠵᡠᠸᠠᡵᠠ ᡩᡝ ᠮᠠᠩᡤᠠ᠉ ᡝᡩᡝ ᠠᡳᠪᡳ᠈ ᡤᡳᠰᡠᠨ ᠪᡳᠴᡳ᠈ ᡠᡨᡥᠠᡳ ᡤᡳᠰᡠᡵᡝ᠈ ᠮᡳᠨᡳ ᠮᡠᡨᡝᡵᡝ ᠪᠠᡳᡨᠠ ᠣᠴᡳ᠈ ᠰᡳᠨᡩᡝ ᠪᡳ ᡤᡝᠯᡳ ᠮᠠᡵᠠᠮᠪᡳᠣ᠉ ᠮᡳᠨᡳ ᠪᠠᡳᡵᡝᠩᡤᡝ᠈ ᠠᡤᡝ ᡤᠣᠰᡳᠴᡳ᠈ ᡧᠠᡩᠠᠮᠪᡳ ᠰᡝᠮᡝ ᠠᡳᠨᠠᡵᠠ᠈ ᡧᠣᠯᠣ ᡧᠣᠯᠣ ᡩᡝ᠈ ᡠᡩᡠ ᠮᡝᠶᡝᠨ ᠮᠠᠨᠵᡠ ᡤᡳᠰᡠᠨ ᠪᠠᠨᠵᡳᠪᡠᡶᡳ᠈ ᠮᡳᠨᡩᡝ ᡥᡡᠯᠠᠪᡠᡵᡝᠣ᠈ ᡩᡝᠣ ᠪᡳ ᠪᠠᡥᠠᡶᡳ ᡥᡡᠸᠠᡧᠠᠴᡳ᠈ ᡤᡝᠮᡠ ᠠᡤᡝ ᡳ ᡴᡝᠰᡳ ᡴᠠᡳ᠈ ᠠᡳᠨᠠᡥᠠ ᠰᡝᠮᡝ ᠪᠠᡳᠯᡳ ᠪᡝ ᠣᠩᡤᠣᡵᠠᡴᡡ᠈ ᡠᡵᡠᠨᠠᡴᡡ ᡠᠵᡝᠯᡝᠮᡝ ᡴᠠᡵᡠᠯᠠᡴᡳ᠉ ᠠᡳᠨᡠ ᡠᡨᡨᡠ ᡤᡳᠰᡠᡵᡝᠮᠪᡳ᠈ ᠰᡳ ᠠᡳᡴᠠ ᡤᡠᡵᡠᠨ ᡤᡡᠸᠠᠣ᠉ ᡩᠠᠮᡠ ᠰᡳᠨᡳ ᡨᠠᠴᡳᡵᠠᡴᡡ ᠪᡝ ᡥᡝᠨᡩᡠᠮᠪᡳ ᡩᡝᡵᡝ᠈ ᡨᠠᠴᡳᡴᡳ ᠰᡝᠴᡳ ᡨᡝᡨᡝᠨᡩᡝᡵᡝ᠈ ᠨᡳ ᠨᡝᡴᡠᠯᡝᡶᡳ ᠰᡳᠮᠪᡝ ᠨᡳᠶᠠᠯᠮᠠ ᠣᡴᡳᠨᡳ ᠰᡝᠮᠪᡳᡴᠠᡳ᠈ ᡴᠠᡳᡵᡠᠯᠠᡴᡳ ᠰᡝᡵᡝᠩᡤᡝ᠈ ᠠᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝᡳ ᡩᠣᠯᠣ ᡤᡳᠰᡠᡵᡝᠴᡳ ᠣᠮᠪᡳᠣ᠉ ᡨᡠᡨᡨᡠ ᠰᡝᠮᡝ᠈ ᠪᡳ ᡥᡠᡴᡧᡝᠮᡝ ᡤᡡᠨᡳᡥᠠ ᠰᡝᠮᡝ ᠸᠠᠵᡳᡵᠠᡴᡡ᠈ ᡩᠠᠮᡠ ᡥᡝᠩᡴᡳᡧᡝᠮᡝ ᠪᠠᠨᡳᡥᠠ ᠪᡠᡵᡝ ᡩᠠᠪᠠᠯᠠ᠈ ᠠᡳᠰᡝᡵᡝ᠉ | |
\end{manju} | |
donjici si te manju bithe tacimbi sembi, umesi sain. manju gisun serengge, musei ujui uju oyonggo baita, uthai nikasai meni meni ba i gisun i adali, bahanarakūci ombio. | |
inu waka oci ai. bi juwan aniya funceme nikan bithe taciha, tetele umai dube da tucirakū, jai aikabade manju bithe hūlarakū, ubaliyambure be tacirakū oci, juwe de gemu sartabure de isinambi. tuttu ofi, bi emde oci, age be tuwanjiha, jai de oci, geli sakda ahūn de baire babi. damu baibi angga juwara de mangga. | |
ede aibi, gisun bici, uthai gisure, mini mutere baita oci, sinde bi geli marambio. | |
mini bairengge, age gosici, šadambi seme ainara, šolo šolo de, udu meyen manju gisun banjibufi, minde hūlabureo, deo bi bahafi hūwašaci, gemu age i kesi kai, ainaha seme baili be onggorakū, urunakū ujeleme karulaki. | |
ainu uttu gisurembi, si aika gurun gūwao. damu sini tacirakū be hendumbi dere, taciki seci tetendere, ni nekulefi simbe niyalma okini sembikai, kairulaki serengge, ai gisun, musei dolo gisureci ombio. | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment