KTUGFaq
KTUG FAQ
MakingDic&value=WinEdtTip/ › Progress/2023-01 › 占쌉력깍옙&value=TeX의매력 › SampleDocument/AMSLaTeX › JadeTeX › DHUcs/ȭ
߰ ׳ On Progress Ʒ ֽʽÿ. Ǹ Done Ʒ ̵ϰڽϴ.
1.3 engtxt ȯ ¶
ucs-hangul, dhucs-interword ϴ ѱ ؽƮ Ǵ ʹ о ڿ ؼ 찡 ִٰ ˴ϴ. ѱ ؽƮ ĺϿ óϴ ּ̰, 켱 dhucs-interword ȯ ϳ Ͽ ؼ ⺻ ܾ ڰ ְ ϸ ͽϴ.
\newenvironment{engtxt}{% \begingroup\spaceskip=\fontdimen2\font plus\fontdimen3\font minus \fontdimen4\font}{\endgroup}
dhucs-interwordӸ ƴ϶ dhucs-trivcj Ͼ ߾ ߰ ϰ ϴ. ϳ ־ ڽϴ.
2.1 fake tfm ֱ ¶
ܿ ٸ Ʈ Ẹ ʾƼ fake tfm ʿ ľ ߾ϴ. ƹ lucenc.def Ʈȯ ʰ ִ ϴ. · faketfm Ǽ غýϴ. ε ð ɷ . --DohyunKim
\let\LUC@@empty@@ORIG\LUC@@empty \let\dhucs@old@f@family\relax \renewcommand\LUC@@empty[1]{\edef\dhucs@new@f@family{\f@family}% \ifx\dhucs@old@f@family\dhucs@new@f@family\else\gdef\LUC@plane@LUC{00}\fi \LUC@@empty@@ORIG{#1}% \xdef\dhucs@old@f@family{\f@family}}
Ǽ ϼ, ̰ ϴ. --Karnes
2.2 巯ǥ ¶
2005-04-24
HLaTeX 1.0 hangul.sty 巯ǥ ֽϴ. ""̶ Ҹ ε, ǿܷ Ǿ ִٰ ˴ϴ.
dhucs ̰ Ͽ ڽϴ.
dhucs.sty
\let\normalfamily\rmfamily %% redefine \normalfont \let\ORIG@normalfont\normalfont \def\normalfont{\ORIG@normalfont\normalfamily} \def\no@ccent#1{#1} \let\hemph@size\no@ccent \newcommand*{\StartHangulChar}{% \ifhmode \ifdim\lastskip=\z@ \ifnum\spacefactor=\Hangul@spacefactor \discretionary{}{}{\kern\inter@hangul@skip}\fi\fi\fi\hemph@size}
Ǹ dhucs дٸ, ucs-hangul.tex
\def\circemphchar{} \def\dotemphchar{} \def\tmpheightchar{!} %%% 巯ǥ (derived from hangul.sty 1.01) \def\circemph@size#1{\leavevmode% \setbox0\hbox{\normalfont\tmpheightchar}% \dimen@\ht0\advance\dimen@-.3ex% \rlap{\raise.7\dimen@\hbox{\normalfont\rule{.3\dimen@}{0pt}\circemphchar}}#1} \def\dotemph@size#1{\leavevmode% \setbox0\hbox{\normalfont\tmpheightchar}% \dimen@\ht0\advance\dimen@-.3ex% \rlap{\raise.7\dimen@\hbox{\normalfont\rule{.7\dimen@}{0pt}\dotemphchar}}#1} %\def\circem{\let\hemph@size\circemph@size} %\def\dotem#1{\let\hemph@size\dotemph@size} \def\circemph#1{{\let\hemph@size\circemph@size #1}} \def\dotemph#1{{\let\hemph@size\dotemph@size #1}}
ϴ. Ǵ ƾ ٸ, dhucs ־δ ͵ غմϴ.
, hangul.sty \circem, \dotem ϰ ִµ, ̰ Ͽ ڽϴ.
ٽ غ, ucs-hangul ϴ ϴ.
ǥ ̳ ʴ rule Ʈ ΰ ٽ ڽϴ. \dotemph{ǰ} ´ٰ , 켱 ġ ǰ̶ ڽ heightŭ ÷ָ ̰, ġ ڽ(ǡ, ...) ˾Ƴ ڽ Ѱ մϴ. θ ϴ ʱ. ð ڵ ڽϴ. · ̷ ϸ dimen Ȥ ڰ ʿ伺 dimen ʿ伺 ϴ. --DohyunKim
dhcus.sty ó غҽϴ. ߵɷ ڳ. --DohyunKim
, Դϴ. Ʈ غ ٸ ˴ϴ. ϽŴ ucs-hangul ϴ ռ Ÿ ʳ ͽϴ. -- DohyunKim
ucs-hangul Ͽϴ. \StartHangulChar ucs-hangul ϵ Ͽϴ. ū Ƽ 2.1 ÷Ƚϴ. ȿ \protectָ Ż ϰ ֽϴ. --Karnes
߰. 2.1 ÷ȴ ڵ忡, ũⰡ ġ ʴ ־, ڰ ̸ ̸ ٽ ϵ ϴ ణ Ű ڵ带 ߽߰ϴ. 밭 Դϴٸ... ƹư ̸ "Ѵٸ" ڰ ٲ ֵ ؾ Ʈ 쿡 ִٰ ε... ׳ CM/۲ÿ 缭 ? --Karnes
\def\circemph@size#1{\leavevmode% \ifnum\usrdhucsraisedim=\z@\relax\Get@emphdim@raisedim\else\let\dhucsraisedim\usrdhucsraisedim\fi \ifnum\usrcircemphhposdim=\z@\relax\Get@emphdim@hposdim\else\let\circemphhposdim\usrcircemphhposdim\fi \dhucs@emph@size{\dhucsraisedim}{\circemphhposdim}{\circemphchar}{#1}}
%%% hangul BANGJEOM emphasis \let\dhucs@emph\@gobble \newdimen\dhucs@emph@raise \newdimen\dhucs@emph@width \def\dotemph#1{\begingroup \settoheight{\dhucs@emph@raise}{#1}% \addtolength{\dhucs@emph@raise}{-.4em}% \let\dhucs@emph\dot@emph #1\endgroup} \def\dot@emph#1{\leavevmode \settowidth{\dhucs@emph@width}{\textunicodechar{#1}}% \llap{\raise\dhucs@emph@raise \hb@xt@\dhucs@emph@width{\normalfont\hss\hss}}% } % ...... \DeclareRobustCommand\unihangulchar[1]{% \ifnum #1<13312 %% "3400 \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1\endgroup\else \ifnum #1<44032 %%% "AC00 \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhanjafont}\selectfont \textunicodechar{#1}\dhucs@emph{#1}\global\@josa#1\endgroup \CloseHangulChar\else \ifnum #1<63744 %%% "F900 \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\dhucs@emph{#1}\global\@josa#1\endgroup \CloseHangulChar\else \ifnum #1<64256 %%% "FB00 \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhanjafont}\selectfont \textunicodechar{#1}\dhucs@emph{#1}\global\@josa#1\endgroup \CloseHangulChar \else %%% .. \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1\endgroup \fi\fi\fi\fi}
Ʈ غҴµ, ˴ϴ. ucs-hangul ȮϷ մϴ.
⺻ ̴ ٰ ణ Ͽ .-3em ϴ մϴ.
%% BANGJEON emphasis : extension. \def\circemphchar{} \def\dotemphchar{} \let\useremphchar\circemphchar \newdimen\raisedotdim\raisedotdim0pt \def\put@dhucs@mphch@r#1{% \llap{\raise\dhucs@emph@raise \hb@xt@\dhucs@emph@width{\normalfont\hss#1\hss}}% } \def\get@dhucs@mphheight#1{% \ifdim\raisedotdim=\z@\relax \settoheight{\dhucs@emph@raise}{#1}% \addtolength{\dhucs@emph@raise}{-.3em}% \else\let\dhucs@emph@raise\raisedotdim\fi } \def\dotemph#1{\begingroup \get@dhucs@mphheight{#1}% \let\dhucs@emph\dhucs@dot@emph #1\endgroup} \def\dhucs@dot@emph#1{\leavevmode \settowidth{\dhucs@emph@width}{\textunicodechar{#1}}% \put@dhucs@mphch@r{\dotemphchar}% } \def\circemph#1{\begingroup \get@dhucs@mphheight{#1}% \let\dhucs@emph\dhucs@circ@emph #1\endgroup} \def\dhucs@circ@emph#1{\leavevmode \settowidth{\dhucs@emph@width}{\textunicodechar{#1}}% \put@dhucs@mphch@r{\circemphchar}% } \newdimen\useremphraisedim\useremphraisedim0pt \def\useremph#1{\begingroup \ifdim\useremphraisedim=\z@\relax \settoheight{\dhucs@emph@raise}{#1}% \addtolength{\dhucs@emph@raise}{-.3em}% \else\let\dhucs@emph@raise\useremphraisedim\fi \let\dhucs@emph\dhucs@user@emph #1\endgroup} \def\dhucs@user@emph#1{\leavevmode \settowidth{\dhucs@emph@width}{\textunicodechar{#1}}% \put@dhucs@mphch@r{\useremphchar}% }
2.3 makeindex-dhucs (ٽ) ¶
\indexentry ι° (pagenum) ƶ ڰ ƴ, θ ڰ Ʈ װ ִ ϴ.
test.idx
\indexentry{\unihangulchar {51109}\unihangulchar {48708}|hyperpage}{iii}
makeindex-dhucs óϸ .ind ϴ.
144° ؾմϴ.
- (\Q$ist_arg_close$ist_arg_open\E\d+\Q$ist_arg_close\E) + (\Q$ist_arg_close$ist_arg_open\E.+\Q$ist_arg_close\E)
2.4 MakeUppercase ¶
\documentclass{book} \usepackage[hangul]{dhucs} \begin{document} \chapter{\oe dipus } \chapter{} \end{document}
ϰ ־ϴ. ϸ ͽϴ.
\DeclareRobustCommand{\MakeUppercase}[1]{{% latex.ltx \PrerenderUnicode{#1}% \def\i{I}\def\j{J}% \def\reserved@a##1##2{\let##1##2\reserved@a}% \expandafter\reserved@a\@uclclist\reserved@b{\reserved@b\@gobble}% \protected@edef\reserved@a{\uppercase{#1}}% \reserved@a }}̰ ϰ ־ϴ. ٸ, latex.ltx ״ Űܿڸ Ŀ ߰ Դϴ.
\protected@edef\MakeUppercase#1{\MakeUppercase{#1}}
̸ MakeLowercase ؼ ϱ... ucs-hangul.tex
\DeclareRobustCommand{\MakeUppercase}[1]{\uppercase{#1}}ǰ ʿ ̾ϴ.
dhucs.sty MakeUppercase/MakeLowercase ϰ, ucs-hangul Ǵ Ϳ մϴ. , ѱ uppercase ־ ϴ Ȯ ʴ ֱ մϴٸ, ܼ uppercaseٴ MakeUppercase ȣȯ . Ʈ ƽϴ. ôٸ, ̰ ļ ڵ ļ 2.0 ϰڽϴ. --Karnes
ڸ ѱ Ưڷ ϰ ʹٸ...
\DeclareUnicodeCharacter{"03B1}{\unihangulchar{"03B1}}% alpha \DeclareUnicodeCharacter{"03B2}{\unihangulchar{"03B2}}% beta̷ ѱ۹ ϴ ణ Ǵٰ ϴ. Ǵ $\alpha \beta$ ᵵ ǰڳ. ΰ uppercase ʽϴ. ϰ, 2.0 ϽŴٴ ణ ٵ ִµ, 켱 hyperref ε ʾ Ǵ볪 ϸ ڱ:
\PackageWarningNoLine{dhucs}{For autojosa to function properly, \MessageBreak hyperref package should be loaded}ؼ dhucsPrerenderUnicode lowercase ־ξ ϱ:
\def\dhucsPrerenderUnicode@#1#2#3\dh@prerender@nil{% <"FFFF only. FIXME! \ifnum`#1<"E0 \ifx #3\empty\empty \dhucsPrerenderUnicode@@{#1#2#3}% \else \typeout{***** Rerun or insert \string\PrerenderUnicode{??} into preamble. *****}% \fi \else \ifx #3\empty\empty \typeout{***** Rerun or insert \string\PrerenderUnicode{??} into preamble. *****}% \else \dhucsPrerenderUnicode@@{#1#2#3}% \fi \fi}ʴ ڵ ͺ ִ ʳ մϴ.
2.6 makeindex-dhucs ̻ ¶
index Ű ̿ϰų memhangul-ucs ε ־ ,
\index{abc|bfseries}indexentry makeindex-dhucs ġ ϴ.
test.idx ϴ.
\indexentry {ABC|textbf}{1} \indexentry {ABC|hyperpage}{2} \indexentry {|textsf}{2}
׳ makeindex ؼ test.ind ϴ.
\begin{theindex} \item ABC, \textbf{1}, \hyperpage{2} \indexspace \item , \textsf{2} \end{theindex}
makeindex-dhucs ġ α ݴϴ. test.ind ƹ ϵ ʽϴ.
This is makeindex, version 2.14 [02-Oct-2002] (with Thai support). Scanning input file stdin...done (0 entries accepted, 0 rejected). Nothing written in test.ind. Transcript written in test.ilg.
makeindex-dhucs.pl 141° ó ľ մϴ.
if (/\Q$ist_keyword\E\s*\Q$ist_arg_open\E
2.7 unichar ¶
\unichar ü \DeclareRobustCommand ǵǾ ־ T1 ڵ ڸ uppercaseص ۵ ʽϴ. uppercase ڰ \unichar{254} ̷ Դϴ. \DeclareRobustCommand LUCڵ ؼ Ǵٰ մϴ. ϸ ϴ.
\renewcommand*{\unichar}[1]{% \ifnum #1<8448 %%% "2100 \uni@char{#1}\else \ifnum #1<64256 %%% "FB00 \unihangulchar{#1}\else \ifnum #1<65280 %%% "FF00 \uni@char{#1}% \else \unihangulchar{#1}\fi\fi\fi} \DeclareRobustCommand\unihangulchar[1]{% \ifnum #1<13312 %% "3400 \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1\endgroup\else \ifnum #1<44032 %%% "AC00 \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhanjafont}\selectfont \textunicodechar{#1}\global\@josa#1\CloseHangulChar\endgroup\else \ifnum #1<63744 %%% "F900 \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1\CloseHangulChar\endgroup\else \ifnum #1<64256 %%% "FB00 \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhanjafont}\selectfont \textunicodechar{#1}\global\@josa#1\CloseHangulChar\endgroup\else \else %%% .. \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1\endgroup \fi\fi\fi\fi}
\else ߿ ϳ ־߰ڳ...
̷ Ͽ ڵ ƾ \josa@hyper@link κп ߰Ͽ մϴ.
, .
\let\unihangulchar\josa@is@uni@hangul@
\let\unichar\josa@is@uni@hangul@ ̰ ϶ ̽?
makeindex-dhucs.pl Ǿ մϴ. core شϴ κ ̶ ϴ. ּ. --DohyunKim
߰ ߽ϴٸ . ĥ ...
Ʈ Ͽϴ. ̰ version 1.5 ϰ, ġ ϰڽϴ. ڵ縦 óϱ ؾ ϴ ڵ尡 ʹ û ؼ ̰ ǿ(!) ʿѰ, ̿ ɼ ° ϴٸ, ι° Ʈ 켱 ̹Ƿ, ϴ ϴ Ǵٰ ˴ϴ. --Karnes
ڵ縦 ʴ if ˻簡 6 ߰Ǵ ϰ ɸϴ. 3 ̺ ʽϴ. ڵ簡 䱸Ǵ 쿡 ؼ ʿ ̺ оԴϴ. Ϲ ϰ ũ ʽϴ. ڵ簡 䱸Ǹ ̺ б ϰ ް ߵ ֽϴ. ü Ͽ ι° ʹ ij ̹Ƿ ū ƴ϶ ϴ.
2.8 Prerender Unicode Revisited ¶
Ͻ ڵ 1.3 ߽ϴٸ, ߽ϴ.
, ledmac ̿ؼ ָ߰ Prerender Unicode ʽϴ.
1.2 ڵδ 1,000Ʈ Ѵ .pru 鼭 ó ̾ŵ...
ڽϴ. Ʈ ũϰڽϴ. --Karnes
prutest.tex
dirty hack Դϴ -.-; Ͽ Ʈ ʽÿ. \thanks ǰ ʿ ϴ.
\makeatletter \newtoks\dh@prerender@toks \dh@prerender@toks={} \DeclareRobustCommand\dhucsPrerenderUnicode[1]{% \dhucsPrerenderUnicode@#1\dh@prerender@nil} \def\dhucsPrerenderUnicode@#1#2#3\dh@prerender@nil{% <"FFFF only. FIXME! \ifnum`#1<"E0 \ifx #3\empty\empty \dhucsPrerenderUnicode@@{#1#2#3}% \else \typeout{***** Rerun or insert \string\PrerenderUnicode{??} into preamble. *****}% \fi \else \dhucsPrerenderUnicode@@{#1#2#3}\fi} \def\dhucsPrerenderUnicode@@#1{% \PrerenderUnicode{#1}\global\dh@prerender@toks \expandafter{\the\dh@prerender@toks^^J\dhucsPrerenderUnicode{#1}}% } \InputIfFileExists{\jobname.pru}{}{} \def\utf@viii@undeferr#1#2#3#4#5#6{% \ifx\@gobble#1\else ??\dhucsPrerenderUnicode{#1}\fi} \AtEndDocument{\newwrite\dh@prerenders@pru \immediate\openout\dh@prerenders@pru=\jobname.pru\relax \immediate\write\dh@prerenders@pru{\relax\the\dh@prerender@toks}% \immediate\closeout\dh@prerenders@pru }
̰ ϴ. 1.4 ϰ, snapshot http://ftp.ktug.or.kr/KTUG/dhucs/ Ͽϴ. --Karnes
װ ֽϴ. chapter title uppercase DZ Դϴ. ̸ eab080("") ^^ca9080 ٲ ä dhucsPrerenderUnicode ڷ Դϴ. ̷ ߸ utf-8 Կ uppercase ݴ ϴ lowecaseϵ Դϴ. ٽ غ ̷ ܼ ʴ. "aBc" uppercase ٽ lowercaseϸ "aBc" ƴ϶ "abc" Źϴϱ. "" uppercaseߴٰ lowercaseϸ ^^eab080 Ƴ ^^eab0^^a0 Ź. ٸ ߸ utf-8 lowercase ƴ϶ ƹ ʰ ׳ Ű ٰ մϴ. book class tableofcontents ̿װ Ͽ dhucsPrerenderUnicode ״ϱ. ̽ ذ ̷Ը ص κ ۵ ϴ. ڵ忡 ְų ּóϴ ڽϴ. --DohyunKim
ٸ, ucs-hangul ִ MakeUppercase (hangul.sty Դϴ) dhucs ü ؼ ϸ ɱ? Ϲ chapter ڷ ѱ Ȳ ѱ ۼϴ Ȳ̱ hangul ɼ ڸ ̹Ƿ, ū óǴ ƴѰ մϴٸ... --Karnes
MakeUppercase ص ϴ. hangulɼǿ ̷ ʴ chapterɿ \PrerenderUnicode ־ ſ, MakeUppercase ƴ մϴ. ع ʳ. T1 uccode, lccode ϴ ں Դϴ. ᱹ 256 chars ڵ ǥϷ ѵ ϴ ణ ƴұ մϴ... ƹ ͵ ʴ ͺ ִ ڽϴ. --DohyunKim
\PrerenderUnicode ƾ ڿ ϴٸ, MakeUppercase ü ̰ ־ִ ( غ̴) ڽϱ? ̰ ϴ chapter uppercase κ .pru ġ鼭 ڵǴ ˴ϴ. --Karnes
ʰ T1 uccode,lccode ϴ ucs Ű Ͽ ¼ ٴ ϴ. Ʈ غ ̹ ֿ ǽù ̿ϴ ܿ ǻ Դϴ. ðǽô õ ֽ ִٸ ڽϴ.--DohyunKim
ǵ
\DeclareRobustCommand{\MakeUppercase}[1]{\PrerenderUnicode{#1}\uppercase{#1}}̷ ڴ ̾ϴ. #1 ڷ dhucs ѱ۷ ϴ ڵ尡 ̰, ƾ ڵε uppercase ǰ ״ ڵ Դϴ. װ 밡 ̳İ ̰. ƹư ̷ ָ ڰ ѹ .pru ٰ ùٸ ǥõ մϴ. --Karnes
2.9 ڵ . . ¶
īʹ Ͽϴ.
\def\hanjanum#1{\@hanjanum{\@nameuse{c@#1}}%} } \def\@hanjanum#1{\ifcase#1\or \or \or ߲\or \or \or \or \or \or \or \or \or \or ߲\or \or \or \or \or \or \or \or \or \or ߲\or \else\@ctrerr\fi}
īͿ ؼ ڵ簡 ۵ ʽϴ.
\renewcommand\theenumi{\hanjanum{enumi}} \begin{enumerate} \item \label{hnc:1} \item \label{hnc:2} \item \label{hnc:3} \item ī\label{hnc:4} \item īŸ\label{hnc:5} \end{enumerate} \ref{hnc:1}\ \ref{hnc:2}\ \ref{hnc:3}\ \ref{hnc:4}\
\make@josa ǿ ߰ϴ ۿ ڽϴ. \num@josa ... .
\ifnum\@josa=19968\rieul\else \ifnum\@josa=20108\jung\else \ifnum\@josa=19977\jong\else \ifnum\@josa=22235\jung\else \ifnum\@josa=20116\jung\else \ifnum\@josa=20845\jong\else \ifnum\@josa=19971\rieul\else \ifnum\@josa=20843\rieul\else \ifnum\@josa=20061\jung\else \ifnum\@josa=21313\jong \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
Ʒ prerendering ڵ尡 ƴϸ ó Ȯġ ڵ簡 Ҿմϴ. dhucsdoc hvfloat Ժκ ѵ, ̸ ذϱ josa@hyper@link Ǹ ٲٴ ڽϴ. ̶ \edef \protected@edef ٲ Դϴ.
\def\josa@hyper@link#1\@nil{% \begingroup \let\null\empty \let\relax\empty \let\unichar\josa@is@uni@hangul@ \protected@edef\josa@tempa{#1}% \expandafter\josa@lastt@kens\josa@tempa\josa@nil\empty\empty\empty \endgroup}
josa@hyper@link ģ · ÷Ƚϴ. ī ... õõ ϱ ϴ ڽϴ. --Karnes
\def\josa@lastt@kens#1#2#3#4{\let\josa@last@\relax \let\josa@tempb\relax \ifx#1\josa@nil\empty \else \ifx#2\josa@nil\empty \ifx#1^^J\empty \else \let\josa@last@\josa@hyper@link@ \def\josa@tempb{00#1}\fi\else \ifx#3\josa@nil\empty \ifx#2^^J\empty \else \let\josa@last@\josa@hyper@link@ \def\josa@tempb{0#1#2}\fi\else \ifx#4\josa@nil\empty \ifx#3^^J\empty \else \let\josa@last@\josa@hyper@link@ \def\josa@tempb{#1#2#3}\fi \else \let\josa@last@\josa@lastt@kens \def\josa@tempb{#2#3#4}\fi\fi\fi\fi \expandafter\josa@last@\josa@tempb}
2.10 Windows Ư ó ¶
⺻ Է± Ưڷ ڵ ߿ U+2025, U+2015, U+02D0, U+2312 ڸ ó ϴ±. DohyunKim Բ Ͻ ǰڴٰ ˴ϴ. õ ϴ. ٸ, \textalpha Ǵ Ǿ ڴٴ ֽϴ.
\textalpha ǰ ٸ 𰡿 浹ϳ? ƴ϶ ֽϱ?
U+02D0 tipa \textlengthmark ҴǾ(uni-2.def) ־, tipa Ű ͵ ,
U+2025 \uc@dclc{8229}{autogenerated}{\unichar{46}\unichar{46}} ǵǾ ־ ϴ.
U+2015 uni-32.def ǿ ֳ.
U+2312 uni-35.def ǿ ֽϴ.
ִ ϸ ϴ. U+02D0 ucs dhucs θ鼭 tipa ɼ ְ tipa Ű ڿ ǰڰ, autogenerated autogenerated ɼ ucsŰ ָ մϴ. ó:
\usepackage[autogenerated,tipa]{ucs} \usepackage{dhucs} \usepackage{tipa}
U+02D0 ׳ \uc@dclc{720}{default}{\ensuremath\colon}% ٲٸ Ͱ, ٸ ͵ Ǹ ߰ؾ ϴ ڽϴ. Դϴ. --Karnes
\makeatletter \DeclareRobustCommand*\textsubscript[1]{% \@textsubscript{\selectfont#1}} \newcommand{\@textsubscript}[1]{% {\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}%}}%} }}%} } \uc@dclc{188}{default}{\textsuperscript1\kern-.45em\unichar{65295}\kern-.45em\textsubscript4}% uni-0.def \uc@dclc{189}{default}{\textsuperscript1\kern-.45em\unichar{65295}\kern-.45em\textsubscript2}% uni-0.def \uc@dclc{190}{default}{\textsuperscript3\kern-.45em\unichar{65295}\kern-.45em\textsubscript4}% uni-0.def \uc@dclc{720}{default}{\ensuremath\colon}% uni-2.def \uc@dclc{8213}{default}{\unichar{9472}}% uni-32.def \uc@dclc{8229}{default}{\unichar{183}}% uni-32.def \uc@dclc{8978}{default}{\ensuremath\frown}% uni-35.def \makeatother
м ucs ϴ ͺ ξ . colon U+02d0 ٸ ĥ ʿ䰡 ǹԴϴ. U+2015 dash 迭 U+2014 emdash ϴ (˻, ؼ ϸ ǹ̸ ߰). \frown Դϴ. ̷ Ǵ ucs ϴ \DeclareUnicodeCharacter ̿ϴ ˴ϴ. ̸ ۲ Ϻ ڿ ְڽϴ. --DohyunKim
\DeclareUnicodeCharacter{"2025}% {\bgroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont\textunicodechar{"2025}\egroup}
\unichar ó κ ٲٸ ȣ ڸ ۲ մϴ.
\ifnum #1<8448 %%% "2100 \uni@char{#1}\else \ifnum #1<8944 %%% "22F0 \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1\endgroup\else
, м \frown ߰ϰ U+2015, U+2025, U+02D0 \DeclareUnicodeCharacterϴ ϸ ɱ? ( ϰ Ǹ ߰ϴ Դϴ.) U+02D0 tipa ȣ ǵǾ ... ׳ ۲ ϸ ϴ Դϴ. Ư ó hangul ɼ ־ ۵ϵ ڴٰ մϴ. --Karnes
ϰڽϴ.
ucs-hangul ڵ带 ߰մϴ.
\DeclareRobustCommand*\TEXTsubscript[1]{% \@TEXTsubscript{\selectfont#1}} \newcommand{\@TEXTsubscript}[1]{% {\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}%}}%}% }}% } \DeclareUnicodeCharacter{"00BC}% 1/4 {\textsuperscript1\kern-.45em\unichar{65295}\kern-.45em\TEXTsubscript4}% uni-0.def \DeclareUnicodeCharacter{"00BD}% 1/2 {\textsuperscript1\kern-.45em\unichar{65295}\kern-.45em\TEXTsubscript2}% uni-0.def \DeclareUnicodeCharacter{"00BE}% 3/4 {\textsuperscript3\kern-.45em\unichar{65295}\kern-.45em\TEXTsubscript4}% uni-0.def \DeclareUnicodeCharacter{"02D0}% {\bgroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont\textunicodechar{"02D0}\egroup} \DeclareUnicodeCharacter{"2025}% {\bgroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont\textunicodechar{"2025}\egroup} \DeclareUnicodeCharacter{"2015}% {\bgroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont\textunicodechar{"2015}\egroup} \DeclareUnicodeCharacter{"2312}% {\bgroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont\textunicodechar{"2312}\egroup}
\unichar Ǵ ٲߴϴ.
%% \unichar \DeclareRobustCommand*{\unichar}[1]{% \ifnum #1<8448 %%% "2100 \uni@char{#1}\else \ifnum #1<13312 %% "3400 \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1\endgroup\else \ifnum #1<44032 %%% "AC00 \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhanjafont}\selectfont \textunicodechar{#1}\global\@josa#1% \CloseHangulChar\endgroup\else \ifnum #1<63744 %%% "F900 \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1% \CloseHangulChar\endgroup\else \ifnum #1<64256 %%% "FB00 \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhanjafont}\selectfont \textunicodechar{#1}\global\@josa#1% \CloseHangulChar\endgroup\else \ifnum #1<65280 %%% "FF00 \uni@char{#1}% \else %%% .. \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1\endgroup \fi\fi\fi\fi\fi\fi}̴ ϸ ǰڽϱ? Ʈ ߴµ, ǵ Ǵ ϴ. --Karnes
2.11 Prerender Unicode ¶
LaTeX-ucs Ư ٺ ذϴ Ұϴٸ ϱ , newtoks ϳ , PrerenderUnicode token list \PrerenderUnicode{???} ־ΰ Document ̸ \jobname.pru ̸ Ͽ ξ Ͽ ҷ ְ մϴ. ٽ auxϰ ʴĴ . ̵ Ұմϴٸ ð´ ڵ带 ¥ . ̹ ִ ٻ ð Ⱑ ϴٸ... -- DohyunKim
̷ ϰ ʿ䰡 Ƽ aux Ͽ \PrerenderUnicode{???} ִ õ ҽϴ. ̷ Ͽ ǵ 䰡 ʿ Դϴ.
\begingroup \lccode`\A=`\{\lccode`\B=`\}\lccode`\C=`\\% \lccode`\P=`\P\lccode`\U=`\U% \lowercase{% \endgroup \def\utf@viii@undeferr#1#2#3#4#5#6{% \ifx\@gobble#1\else[Please insert CPrerenderUnicodeA#1B into preamble]% \immediate\write\@mainaux{CPrerenderUnicodeA#1B}\fi}}
̰ Ʈغ ϰڽϴ. memhangul-ucs kshangul.prerenders ƿ includeϵ صξϴٸ... ڿ ƴұ ϴ ֽϴ.
Ʈ غ Դϴ.
켱,
\ifx\@gobble#1\else[Please insert CPrerenderUnicodeA#1B into preamble]% \immediate\write\@mainaux{CPrerenderUnicodeA#1B}\fi}}κ ׳
\ifx\@gobble#1\else[Please insert CPrerenderUnicodeA#1B into preamble]% {CPrerenderUnicodeA#1B}\fi}}̷ ص .aux Ͽ ˴ϴ. ٽ ѹ latex .aux ȿ ִ ϴ. , .idx ó ʴ±... dhucs Prerenders.def̶ ⺻ ҷ̵ Ǿ Ƿ, \newwrite ִ ѹ غ ͽϴ. --Karnes
idx makeindex-dhucs.pl óִϱ ʾƵ ϴ. · ߴ ٸ Prerenders.def Ͽ ؼ õغýϴ. ص ִ aux ٷ ͺ ϱ. --DohyunKim
\newtoks\dh@prerender@toks \dh@prerender@toks={} \def\@prerenderunicode#1#2{% from ucs.sty \begingroup \UnicodeCharFilter\@gobble \let#1\@gobble\setbox0\hbox{#2}% \global\dh@prerender@toks\expandafter{\the\dh@prerender@toks^^J% \PrerenderUnicode{#2}}\endgroup} \InputIfFileExists{Prerenders.def}{}{} \newwrite\dh@prerenders@def \immediate\openout\dh@prerenders@def=Prerenders.def\relax \immediate\write\dh@prerenders@def{\relax\the\dh@prerender@toks} \begingroup % from utf8.def \lccode`\A=`\{\lccode`\B=`\}\lccode`\C=`\\% \lccode`\P=`\P\lccode`\U=`\U% \lowercase{% \endgroup \def\utf@viii@undeferr#1#2#3#4#5#6{% \ifx\@gobble#1\else[Please insert CPrerenderUnicodeA#1B into preamble]% \immediate\write\dh@prerenders@def{CPrerenderUnicodeA#1B}\fi}} \AtEndDocument{\immediate\closeout\dh@prerenders@def}ʿ Ͻ ,
\makeatletter \begingroup % from utf8.def \lccode`\A=`\{\lccode`\B=`\}\lccode`\C=`\\% \lccode`\P=`\P\lccode`\U=`\U% \lowercase{% \endgroup \def\utf@viii@undeferr#1#2#3#4#5#6{% \ifx\@gobble#1\else[Please insert CPrerenderUnicodeA#1B into preamble]% CPrerenderUnicodeA#1B\fi}}.aux \PrerenderUnicode ذǴ ˴ϴ. 켱 .aux ̷ óϰ, .idx ͵ makeindex-dhucs.pl κ Prerenders.def Ű ֵ ĥ ڴ? ԵǸ ̴ κ ذ ˴ϴ. .idx makeindex-dhucs ֱ .ind ߺ Ͽϴ. --Karnes Ʒ ڵ 밭 ۵ϴ մϴ. ٸ prerender unicode ؼҵǾٰ ص ǰڽϴ. ּ. makeindex-dhucs.pl 缭 ణ Ͽϴ. ִٸ ǵ, ... --DohyunKim
\makeatletter \newtoks\dh@prerender@toks \dh@prerender@toks={} \DeclareRobustCommand\dh@addtoprerender@toks[1]{% \global\dh@prerender@toks\expandafter{\the\dh@prerender@toks^^J% \PrerenderUnicode{#1}}% } Ű code ̶ νϳ ;( } \let\ORIG@prerenderunicode\@prerenderunicode \def\@prerenderunicode#1#2{% \ORIG@prerenderunicode{#1}{#2}\dh@addtoprerender@toks{#2}} \InputIfFileExists{\jobname.pru}{}{} \let\@prerenderunicode\ORIG@prerenderunicode \begingroup % from utf8.def \lccode`\A=`\{\lccode`\B=`\}\lccode`\C=`\\% \lccode`\P=`\P\lccode`\U=`\U% \lowercase{% \endgroup \def\utf@viii@undeferr#1#2#3#4#5#6{% \ifx\@gobble#1\else[Please insert CPrerenderUnicodeA#1B into preamble]% \dh@addtoprerender@toks{#1}\fi}} \AtEndDocument{\newwrite\dh@prerenders@pru \immediate\openout\dh@prerenders@pru=\jobname.pru\relax \immediate\write\dh@prerenders@pru{\relax\the\dh@prerender@toks}% \immediate\closeout\dh@prerenders@pru}
\def\utf@viii@undeferr#1#2#3#4#5#6{% \ifx\@gobble#1\else??\dh@addtoprerender@toks{#1}\fi}
ƮغҴµ, ڵ尡 ϴ.(ռ ϴ). .idx makeindex-dhucs óѴٰ ˴ϴ. ̰ ϴ ڽϴ. , ǵ ... ^^; --Karnes
makeindex-dhucs.pl ?? Ͽϴ. ϳ ҽϴ. · ̷ ϴ \thanks prerender aux δ ذ ʱ Դϴ. http://www.skuniv.ac.kr/~nomos/founders/founders.tex ̰ ̾. --DohyunKim
ڵ忡 ġ װ ־ϴ. babel Ű ϴ ߰Ͽϴ. ɷ² ° Ǽ Ͽ-.-;; Ͽϴ. --DohyunKim
\makeatletter \newtoks\dh@prerender@toks \dh@prerender@toks={} \def\dh@addtoprerender@toks#1{\global\dh@prerender@toks \expandafter{\the\dh@prerender@toks^^J\dhucsPrerenderUnicode{#1}}% } \DeclareRobustCommand\dhucsPrerenderUnicode[1]{% \PrerenderUnicode{#1}\dh@addtoprerender@toks{#1}} \InputIfFileExists{\jobname.pru}{}{} \begingroup \lccode`\A=`\{\lccode`\B=`\}\lccode`\C=`\\% \lccode`\P=`\P\lccode`\U=`\U% \lowercase{% \endgroup \def\utf@viii@undeferr#1#2#3#4#5#6{% \ifx\@gobble#1\else ??CdhucsPrerenderUnicodeA#1B\fi}} \AtEndDocument{\newwrite\dh@prerenders@pru \immediate\openout\dh@prerenders@pru=\jobname.pru\relax \immediate\write\dh@prerenders@pru{\relax\the\dh@prerender@toks}% \immediate\closeout\dh@prerenders@pru } \let\dh@ORIG@thanks\thanks \def\thanks#1{\PrerenderUnicode{#1}\dh@ORIG@thanks{#1}}
... װ ... memhangul-ucs ڽϴ. ž ̶ Ŀ ø ϴ. ƹư ּż 帳ϴ. --Karnes
2.13 Ȯ ¶
ȮA ڸ ѱ Ʈ ã õϴ ֽϴ. ȮB Ŀ ֽϴ.
U+3400..U+ABFF Ʈ óϵ ϸ ɱ?
\ifnum #1<13312 %% ..33FF \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1 % \ifnum #1>13055 % U+3300 .. \CloseHangulChar\fi\endgroup\else \ifnum #1<44032 %%% 3400..ABFF \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhanjafont}\selectfont \textunicodechar{#1}\global\@josa#1 % \CloseHangulChar\endgroup\else
̷ ϸ ǰڽϴٸ, ڵ尡 unichar ٽ غýϴ. ڸ ؾ߰ ӵ ְؼ ܼȭ߽ϴ. --DohyunKim
\DeclareRobustCommand*{\unichar}[1]{% \ifnum #1<8528 %%% "2150 \uni@char{#1}\else \ifnum #1<8592 %%% "2190 \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1\endgroup\else \ifnum #1<9312 %%% "2460 \uni@char{#1}\else \ifnum #1<13312 %% "3400 \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1\endgroup\else \ifnum #1<44032 %%% "AC00 \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhanjafont}\selectfont \textunicodechar{#1}\global\@josa#1% \CloseHangulChar\endgroup\else \ifnum #1<63744 %%% "F900 \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1% \CloseHangulChar\endgroup\else \ifnum #1<64256 %%% "FB00 \StartHangulChar \begingroup\fontencoding{LUC}\fontfamily{\myhanjafont}\selectfont \textunicodechar{#1}\global\@josa#1% \CloseHangulChar\endgroup\else \ifnum #1<65280 %%% "FF00 \uni@char{#1}% \else %%% .. \begingroup\fontencoding{LUC}\fontfamily{\myhangulfont}\selectfont \textunicodechar{#1}\global\@josa#1\endgroup \fi\fi\fi\fi\fi\fi\fi\fi}
2.16 nonfrench option ¶
spacefactor 1000 ȣ Ģó ۵ ʴ 찡 ֽϴ. ȣ spacefactor 1000 ſ. ٸ nonfrench \Hangul@spacefactor=1001 ϸ ϴ ۵ մϴ. Ʈ غýϴٸ... --DohyunKim
ƮغҴ Ǵ ϴ. 1001 ٲٰڽϴ.
3 Ÿ ¶
˰ڽϴ. --Karnes
ũƮ makeindex.exeδ ǰ?
ttf2hatelxfont.pl Ʈ ƿƼ ü ٸ ũƮ (?) Դϴ.
ѱ ƮŸ Ʈ ȱ ttfhaltexfont.pl ġϰ, ص
"ѱ UCS 弼" ϱ ź ʳ ͽϴ. --hoze
... perl C ϸ .exe ְ. ũƮ ü makeindex θ غ۾ ϴ ̶ makeindex üδ װ... Ű Windows ؼ ߵǰ ִٰ ʱ, ConTeXt ص Perl ʼ ̴ϱ, C ϴ ū Ʈ ʽϴ. ActivePerl ġϴ ̾ ϸ ѹ Ŭָ ̴ϱ, ġ ٷӴٰ ʽϴ. --Karnes
perl2exe(http://www.indigostar.com/perl2exe.htm) ActiveState Perl ߿ Perl Dev Kit perl2exe Ͻø perl exe մϴ. -smcho
perl2exe(http://www.indigostar.com/perl2exe.htm) ActiveState Perl ߿ Perl Dev Kit perl2exe Ͻø perl exe մϴ. -smcho
makeindex-dhucs.pl
makeindex-dhucs.pl ϳ ʿϰ Ե ־ Ͽϴ. prerender unicode ϰ ״ ū ̴µ COPYING ԽŰ ڵ带 ؼ ϴ ? , dhucs.sty email ּҿ skuniv.ac.kr gmail.com ٲپ ֽʽÿ. --DohyunKim
ȳϽʴϱ? ִ makeindex-dhucs.pl ̿ؼ tex4ht sorting Ǵ index ϴ ߽ϴ. մϴ. ׳ . http://synapse.linuxtop.co.kr/tex4htindex/makeindexattex4ht.html Դϴ. ! ⼭ ܶ ʽϴ. ϱ? ׳ մϴ. Ȱ ִ Ǯ ִ ּż. ٽ ѹ 帳ϴ.
Ȥ ؼ Ϳ ؼ Ұ 帮ڽϴ. 켱 utf8-tex4ht.cfg ̿ؼ html utf8 ؼ ϴ. index ʿ filename.4dx̹Ƿ ̰ iconv -f euc-kr -t utf8 ٲٰ makeindex-dhucs.pl ٽ iconv ٽ euc-kr ٲپ ־ϴ. Ƹ ΰ ۿ ʾ ε sorting Ǵ index ϴ. 帳ϴ. --synapse
Hlatex Ʈ Ȩ ٿް, ϰ ġѴ texhashϰ...
۲ texmf/fonts ٸ Ʈ Բ , euc-kr ڵ带 ٲ ʾƵ ǰ
ڵ带 ϴ dhucs... ֱ Ű ġϿϴ. ȿ test غ *.tex ־ emacs ҷ compile۵
File `utf8.def' not found
鼭 ߽ϴ. Ȥ ΰ ذå ƽô ?