summaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-03-06 03:05:29 +0000
committerNorbert Preining <norbert@preining.info>2023-03-06 03:05:29 +0000
commit75cd005305bd2c2a0ec383f30ee5b1749ed15183 (patch)
tree65b5e6b912547ab4610badf5a7f61ce70e5aad02 /language
parenta2d17a09f7ecd91acd8826216349bb14cc5602cd (diff)
CTAN sync 202303060305
Diffstat (limited to 'language')
-rw-r--r--language/korean/pmhanguljamo/README.md2
-rw-r--r--language/korean/pmhanguljamo/doc/pmhanguljamo-doc.pdfbin214591 -> 220713 bytes
-rw-r--r--language/korean/pmhanguljamo/doc/pmhanguljamo-doc.tex48
-rw-r--r--language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.pdfbin696078 -> 722621 bytes
-rw-r--r--language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.tex98
-rw-r--r--language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.code.tex97
-rw-r--r--language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.sty21
-rw-r--r--language/korean/pmhanguljamo/tex/pmhanguljamo.sty11
8 files changed, 206 insertions, 71 deletions
diff --git a/language/korean/pmhanguljamo/README.md b/language/korean/pmhanguljamo/README.md
index 539205a702..7888ccdbb2 100644
--- a/language/korean/pmhanguljamo/README.md
+++ b/language/korean/pmhanguljamo/README.md
@@ -12,7 +12,7 @@ In version 0.3, it provides two kinds of transliteration rules. And in version 0
In version 1.0, we introduced a new rule, so-called _frkim_. Now it has three alternative ways of Hangul input methods.
-The current version is 1.0.1
+The current version is 1.0.2
## Copyright and License
diff --git a/language/korean/pmhanguljamo/doc/pmhanguljamo-doc.pdf b/language/korean/pmhanguljamo/doc/pmhanguljamo-doc.pdf
index 50ffaae7af..87c43670fe 100644
--- a/language/korean/pmhanguljamo/doc/pmhanguljamo-doc.pdf
+++ b/language/korean/pmhanguljamo/doc/pmhanguljamo-doc.pdf
Binary files differ
diff --git a/language/korean/pmhanguljamo/doc/pmhanguljamo-doc.tex b/language/korean/pmhanguljamo/doc/pmhanguljamo-doc.tex
index bd91a004d3..7b119f0267 100644
--- a/language/korean/pmhanguljamo/doc/pmhanguljamo-doc.tex
+++ b/language/korean/pmhanguljamo/doc/pmhanguljamo-doc.tex
@@ -44,7 +44,8 @@
%\date{20 Sep 2021\quad version 0.3.6}
%\date{6 Sep 2022\quad version 0.5.1}
%\date{7 Sep 2022\quad version 0.5.2}
-\date{22 Feb 2023\quad version 1.0.1}
+%\date{22 Feb 2023\quad version 1.0.1}
+\date{3 Mar 2023\quad version 1.0.2}
\maketitle
@@ -477,12 +478,13 @@ pi/ta/go/ra/sv/vi jeq/ri/ !{\unskip :} !{$a^2+b^2=c^2$}.
\bigskip
The \verb|!{| mark must be located in the head of a word.
-To remove the preceding space of a word, \verb|\unskip| is
-used in the example. This trick will be useful when using
-math equations, \LaTeX\ macros, or English words along with long Jamo Hangul
-texts.
+(To remove the preceding space of a word, \verb|\unskip| is
+used in the example.) This trick will be useful when using
+math equations, \LaTeX\ macros, or English words along with long Jamo Hangul texts.
-By the time this ASCII-escaping trick is available only with \texttt{method=pm}.
+By the time this ASCII-escaping trick is available with \texttt{method=pm} and \texttt{method=frkim}.
+And do not forget that it can be used only in the \texttt{jamotext}
+environment.
\subsection{Examples: \texttt{method=pm}}\label{sec:exam}
@@ -782,6 +784,7 @@ jug-eodo ani nunmul heulli-ulida.
\end{verse}
\ExplSyntaxOn
+\cs_undefine:N \jamoul
\cs_undefine:N \l_inputword_seq
\cs_undefine:N \l_inputpar_seq
\cs_undefine:N \jamotext
@@ -846,7 +849,7 @@ can be used with this package.
\begin{enumerate}
\item The leading zero-consonant (\frccq) can be input with \verb|'| (right quote) or \verb|x|. The default is \verb|'|, and \verb|\zeroisx| macro
switches this action. And the macros \verb|\rq| can be used in the position of \verb|'| (closing quote) when `zero' is \verb|'| (\verb|\zeroisrq|). For example,
-\verb|\hg{``gug'e\rq\rq}| \hg{``gug'e\rq\rq}. \verb|\zeroisx\hg{``gugxe''}| {\zeroisx\hg{``gugxe''}}.
+\verb|\hg{{``}gug'e\rq\rq}| \hg{{``}gug'e\rq\rq}. \verb|\zeroisx\hg{{``}gugxe{''}}| {\zeroisx\hg{{``}gugxe{''}}}.
\item The trailing I-Eung (\frccq) is made by \verb|q|, and the lost character
Yes-I-Eung (\frccQ) is by \verb|Q|.
@@ -935,6 +938,37 @@ And another example:
\end{jamotext}
\end{quote}
+The following example shows `ASCII-escaping trick' in
+\texttt{jamotext} environment.
+
+\begin{verbatim}
+\begin{jamotext}
+jiggagsamgaghieq !{$\triangle ABC$}'yi sei bien !{$a,b,c$}
+sa'i'ei !{$a^2+b^2=c^2$}'in goangieiga seqribhanda.
+\end{jamotext}
+\end{verbatim}
+
+\begin{quote}
+\begin{jamotext}
+jiggagsamgaghieq !{$\triangle ABC$}'yi sei bien !{$a,b,c$}
+sa'i'ei !{$a^2+b^2=c^2$}'in goangieiga seqribhanda.
+\end{jamotext}
+\end{quote}
+
+The font can be changed with \verb|\setpmhangulfont| command.
+
+\begin{verbatim}
+\hg{iuguhan iegsa'oa jentoq'ei bicnanyn}
+\setpmhangulfont{Noto Sans CJK KR}
+\hg{uri daihangugmin'yn}
+\end{verbatim}
+
+\begin{quote}
+\hg{iuguhan iegsa'oa jentoq'ei bicnanyn}
+\setpmhangulfont{Noto Sans CJK KR}
+\hg{uri daihangugmin'yn}
+\end{quote}
+
\subsubsection{Old Hangul}
\begin{verbatim}
diff --git a/language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.pdf b/language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.pdf
index dae527692a..5e9748cd6d 100644
--- a/language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.pdf
+++ b/language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.pdf
Binary files differ
diff --git a/language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.tex b/language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.tex
index 8af27c11c4..1f64941f4e 100644
--- a/language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.tex
+++ b/language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.tex
@@ -114,7 +114,8 @@
%\date{2022/09/02\quad v0.5}
%\date{2022/09/07\quad v0.5.2}
%\date{2023/02/19\quad v1.0}
-\date{2023/02/22\quad v1.0.1}
+%\date{2023/02/26\quad v1.0.1a}
+\date{2023/03/03\quad v1.0.2}
\maketitle
@@ -752,7 +753,7 @@ mainfont로 식자할 것인지, 또는 별도의 폰트를 \cmda{\newfontfamily
\jamoword{na/ras;mar:ss@/mi; dyuf/guig;ei dar/a;}
\end{exampleside}
-\subsection{\env{jamotext} 환경}
+\subsection{\env{jamotext} 환경}\label{sec:asciiescape}
\begin{boxedverbatim}
\begin{jamotext}
@@ -813,8 +814,8 @@ vr yu/do/ha/ye bo/ja/.
\end{jamotext}
\end{exampleside}
-아스키 에스케이프 트릭은 \texttt{method=frkim}이나 \texttt{method=rrk}에서는
-쓸 수 없다.
+아스키 에스케이프 트릭은 %\texttt{method=frkim}이나
+\texttt{method=rrk}에서는 쓸 수 없다.
\section{\texttt{\bs jmcc} 명령}
@@ -839,7 +840,7 @@ vr yu/do/ha/ye bo/ja/.
\jmcc{BSG} \jmcc{@} \jmcc{UEY} \jmcc{@@}
\end{exampleside}
-\section{밑줄 긋기}
+\section{밑줄 긋기}\label{sec:ulem}
\leavevmode\marginpar{\fbox{\footnotesize v0.5.1}}%
밑줄을 긋는 명령 \cmda{\underline}의 인자로 \cs{jamoword}가 오는 것은 문제가 없다.
@@ -859,9 +860,8 @@ Lua\LaTeX, 즉 \textsf{luatexko}를 이용하는 경우에는 \textsf{ulem} 없
\cs{uline}과 같은 ulem 명령을 사용하여야 한다면 Lua\LaTeX 으로 컴파일하는 것이 좋다.
그러나 부득이하여 \XeLaTeX 으로 컴파일하여야 하는 경우이고 밑줄 등을 구현하여야 하는 때라면
-\cmda{\jamoul} 명령을 이용할 수 있다. 물론 \textsf{ulem} 패키지 등은 preamble에서
-선언되어 있어야 한다.\footnote{Lua\LaTeX 과 \koTeX 을 쓸 때는 \textsf{ulem} 패키지를
-별도로 로드하지 않는다.}
+\cmda{\jamoul} 명령을 이용할 수 있다. 물론 \textsf{ulem} 패키지는 preamble에서
+선언되어 있어야 한다.\footnote{Lua\LaTeX 에서 \koTeX 을 쓸 때는 \textsf{ulem} 패키지를 별도로 로드하지 않는다.}
\begin{boxedverbatim}
\jamoul{<ulem command name>}{jamo text}
@@ -889,7 +889,7 @@ Lua\LaTeX, 즉 \textsf{luatexko}를 이용하는 경우에는 \textsf{ulem} 없
%\verb|\jamoul{texthl}{nuns/mvr/r@r sbv/ri/gey/ko}|
%\jamoul{texthl}{nuns/mvr/r@r sbv/ri/gey/ko}
-\cs{jamoul}을 이용하여 밑줄을 긋는 기능은 RRK 입력방법과 \texttt{frkim}에서는 구현되지 않았다.
+\cs{jamoul}을 이용하여 밑줄을 긋는 기능은 RRK 입력 방법에서는 구현되지 않았다.
이 때에는 \textsf{luatexko}의 ulem 명령을 사용하여야 할 것이다.
\section{문장 부호, 한자와 음절 한글}
@@ -1308,7 +1308,19 @@ nog-eumbangcho ugeojyeo geumjandi jwaleuleug sgal-in jye
\chapter{method=frkim}\label{chap:frkim}
+\makeatletter
\ExplSyntaxOn
+\bool_new:N \opt_luatexko_loaded
+\@ifpackageloaded{luatexko}{
+ \bool_set_true:N \opt_luatexko_loaded
+}{
+ \bool_set_false:N \opt_luatexko_loaded
+}
+\ExplSyntaxOff
+\makeatother
+\ExplSyntaxOn
+\cs_undefine:N \jamoul
+\cs_undefine:N \jamoword
\cs_undefine:N \l_inputword_seq
\cs_undefine:N \l_inputpar_seq
\cs_undefine:N \jamotext
@@ -1375,7 +1387,9 @@ nog-eumbangcho ugeojyeo geumjandi jwaleuleug sgal-in jye
제공하지 않는다. 한편, \cs{jamoword}와 \env{jamotext}는 \texttt{method=frkim}에서도
동작한다.
-\pkg{pmhanguljamo}의 기본 입력 방식인 \texttt{method=pm}에 비하여, 아스키 에스케이프 트릭이 없으며 \XeLaTeX 에서의 밑줄 긋기가 원활하지 않다\footnote{밑줄이 반드시 필요하면 \LuaLaTeX 으로 컴파일하라.}는 차이가 있다.
+%\pkg{pmhanguljamo}의 기본 입력 방식인 \texttt{method=pm}에 비하여,
+%%아스키 에스케이프 트릭이 없으며
+%\XeLaTeX 에서 \pkg{ulem}을 이용한 밑줄 긋기가 원활하지 않다\footnote{밑줄이 반드시 필요하면 \LuaLaTeX 으로 컴파일하라.}는 차이가 있다.
\bigskip
@@ -1536,13 +1550,15 @@ sa'uen 'ugihoan'yi jujaqgoa majbaro toqhaiSda.
닫는 따옴표는 \cs{zeroisrq}일 때 \cs{rq} 매크로를 써야 한다.
\begin{examplebelow}
-\zeroisx \hangul ``xonyr harxirxyr naixirro miruji mara''nyn
+\zeroisx \hangul {``}xonyr harxirxyr naixirro miruji mara{''}nyn
marxi iSda. \endhangul
\end{examplebelow}
+여는 겹따옴표 \verb|``|는 하나의 토큰으로 전달해주는 것이 좋다.
+
\begin{examplebelow}
\zeroisrq
-\hg{``'erin'inyn nara'yi bobai'ibnida\rq\rq{} sopa
+\hg{{``}'erin'inyn nara'yi bobai'ibnida\rq\rq{} sopa
`baqjeqhoan\rq{} sensaiqnim'i hasin marSym'ida.}
\end{examplebelow}
@@ -1597,6 +1613,35 @@ marxi iSda. \endhangul
위의 마지막 예는 호환 자모를 쓰지 않고 낱자를 나타낸 것이다. 대체로 이것으로 된다고 생각하기 때문에 \cs{activatefrcccmds}를
디폴트로 활성화시켜 두지 않은 것이다.
+\paragraph{ASCII 에스케이프 트릭}
+\texttt{frkim} 방식에서 아스키 에스케이프 트릭은 오직 \env{jamotext} 환경을 쓰는 경우에 가능하다. 즉, \cs{hangul} ... \cs{endhangul} 범위에서는 동작하지 않는다.
+신택스는 \texttt{method=pm}에서와 동일하다. \ref{sec:asciiescape}절을 보라.
+
+(다음 예에서 \cs{unskip}을 사용한 이유는 이 트릭이 단어 중간에 쓰일 수 없으나 괄호를 이전 단어에 붙여야 했기 때문이다.)
+
+\begin{examplebelow}
+\begin{jamotext}
+ieq'uer'ieg !{\unskip (Yeongwol Station, 寧越驛)}'yn gaq'uendo ieq'uergun 'ieq'uer'yb'ei iSnyn taibaigsen'yi cerdomieq'ida.
+iegsanyn han'og hieqsig'yro genserdoi'eS'ymie, hangugcerdogoqsa senjeq juncerdoginiemmurro jijeqdoi'e iSda.
+\end{jamotext}
+\end{examplebelow}
+
+\paragraph{\pkg{ulem}에 의한 밑줄긋기}
+
+\marginpar{\fbox{v1.1}}%
+\cs{jamoul} 명령은 \texttt{[method=pm]}의 경우와 그 사용법이 같다(\pageref{sec:ulem}페이지).
+\pkg{xetexko}와 함께 쓸 때에는 반드시 \pkg{ulem}을 로드하여야 하고
+\pkg{luatexko}와 함께 쓸 때에는 \pkg{ulem}을 로드할 필요가 없다.
+
+\begin{exampleside}
+\jamoword{odyq'yn ja'ei a}
+\jamoul{uline}{josen'yi dogribgug'im}%
+\jamoword{goa}
+\jamoul{uline}{josen'in'yi jajumin'im}%
+\jamoword{'yr}
+\jamoul{uwave}{sen'enhanora}
+\end{exampleside}
+
\section{폰트}
\paragraph{\pkg{pmhanguljamo}에서 옵션으로 부르는 경우}
@@ -1620,6 +1665,33 @@ marxi iSda. \endhangul
eny nari i doragar h@i'o}
\end{examplebelow}
+\emph{hangul\TeX}에는 \cs{bf}라는 명령이 있었다. 폰트를 고딕체로
+바꿔주는 것이었다.
+이 비슷한 효과를 얻기 위해서, \cs{hg} 명령을 쓰는 경우에는 \cs{hg} 밖에서
+\cs{setpmhangulfont}를 쓰면 되지만 비교적 긴 문장을 쓰는 \env{jamotext} 환경 내에서는 다음처럼 할 수 있다.
+단 이와 같은 `외부 매크로'는 한글을 구성하는 단어의 일부여서는 아니된다.
+그렇기 때문에 빈 칸을 하나 두고 명령을 주어야 한다. 이를테면
+\verb|nim'yn\pmrm|과 같이 하면 안되고 \verb|nim'yn \pmrm|과 같이 앞 단어를 완성한 후에 매크로를 두어야 한다.
+
+\begin{examplebelow}
+\newcommand*\pmbf{\setpmhangulfont{Noto Sans CJK KR}}
+\newcommand*\pmrm{\setpmhangulfont{Noto Serif CJK KR}}
+\hg{nim'yn gaSsybnida a'a} \pmbf \hg{saraqhanyn na'yi nim}\pmrm\hg{'yn gaSsybnida}\\
+\hangul puryn sanbic'yr sgaicigo \pmbf danpuqnamu sup'yr hiaqha'ie nan \pmrm jag'yn gir'yr ger'ese cama sdercigo gaSsybnida\endhangul
+\begin{jamotext}
+narkaro'un \pmbf ceskisy'yi cu'eg \pmrm\unskip 'yn na'yi unmieq'yi jicim'yr dorrienohgo duisger'ymciese sarajieSsybnida
+\end{jamotext}
+\end{examplebelow}
+
+앞서 소개한 \cs{jamoul}이 ``감싸는 명령''임을 이용하여 다음처럼 일시적으로 폰트를 바꾸는 데 쓸 수도 있겠다.
+
+\begin{exampleside}
+\jamoword{jei gogjoryr mos iginyn}
+\jamoul{dotemph}{saraq'yi norai}\jamoword{nyn}
+\jamoul{textbf}{nim'yi cimmug}%
+\jamoword{yr huibSago dobnida}
+\end{exampleside}
+
\chapter{입력 방법 요약}
@@ -1823,6 +1895,8 @@ Expl3는 내가 원하는 일을 너무나 간단하게 구현할 수 있게 해
\textbullet\ v1.0.1 (2023/02/22): frkim rule에 \cs{AddRule} 추가. \cs{zeroisx} 버그 수정.
+\textbullet\ v1.0.2 (2023/03/01): frkim의 \cs{hg} 명령 일부 개선
+
%%% APPENDICES
\ExplSyntaxOn
diff --git a/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.code.tex b/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.code.tex
index 9b3283659f..cd005323bf 100644
--- a/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.code.tex
+++ b/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.code.tex
@@ -1,5 +1,7 @@
%% code part of frkim
+%% v1.0.2 (\frkhangulfont, \bf)
%% v1.0.1 (\AddRule)
+%% v1.1 (\jamoul)
%%
\char_set_catcode_other:N \@
@@ -34,13 +36,26 @@
\symbol{"0027}
}
-%\NewDocumentCommand \frkhangulfont {} {
-% Noto~Serif~KR
-%}
-%
-%\NewDocumentCommand \frkhangulfontfeature {} {
-% Script=Hangul, Renderer=OpenType, Ligatures=TeX
-%}
+%%% jamoul cmd
+\tl_new:N \l_frkjamoulcmd_tl
+
+\tl_set:Nn \frk_space_here { \exp_args:No \use:c { \l_frkjamoulcmd_tl } { \c_space_token } }
+\tl_set:Nn \l_frkjamoulcmd_tl {}
+
+\NewDocumentCommand \jamoul { m m }
+{
+ \group_begin:
+ \bool_if:NTF \opt_luatexko_loaded
+ {
+ \use:c { #1 } { \hg { #2 } }
+ }
+ {
+ \tl_set:Nn \l_frkjamoulcmd_tl { #1 }
+ \hg { #2 }
+ }
+ \group_end:
+}
+
\DeclareDocumentCommand \setpmhangulfont { o m o }
{
\IfValueTF { #1 }
@@ -62,17 +77,7 @@
}
\NewDocumentCommand \hg { m }
-{
- \group_begin:
-
- \cs_if_exist:NTF \hangulfontspec
- {
- \exp_last_unbraced:NNf \hangulfontspec [ \frkhangulfontfeature ] { \frkhangulfont }
- }
- {
- \exp_last_unbraced:NNf \fontspec [ \frkhangulfontfeature ] { \frkhangulfont }
- }
-
+{
\regex_split:nnN { \s } { #1 } \l_tmpa_seq
\seq_map_indexed_inline:Nn \l_tmpa_seq
@@ -80,11 +85,9 @@
\_process_word:n { ##2 }
\int_compare:nT { ##1 < \seq_count:N \l_tmpa_seq }
- { {}~ }
+ { \frk_space_here }
}
- \group_end:
-
}
\cs_new:Npn \_process_word:n #1
@@ -359,6 +362,32 @@
\cs_new:Nn \build_syl:
{
+ \group_begin:
+ \cs_if_exist:NTF \hangulfontspec
+ {
+ \exp_last_unbraced:NNf \hangulfontspec [ \frkhangulfontfeature ] { \frkhangulfont }
+ }
+ {
+ \exp_last_unbraced:NNf \fontspec [ \frkhangulfontfeature ] { \frkhangulfont }
+ }
+
+ \tl_if_empty:NTF \l_frkjamoulcmd_tl
+ {
+ \build_syl_main:
+ }
+ {
+ \sys_if_engine_xetex:T { \allowbreak }
+ \exp_args:No \use:c { \l_frkjamoulcmd_tl } {
+ \build_syl_main:
+ }
+ }
+ \group_end:
+
+ \tl_clear:N \l_delayedtoken_tl
+}
+
+\cs_new:Nn \build_syl_main:
+{
\bool_if:NF \opt_zeroisx_bool
{
\regex_replace_all:nnN { ' } { x } \g_cho_tl
@@ -391,16 +420,12 @@
}
}
-%%%%>>>>
-%%% [\g_cho_tl|\g_jun_tl|\g_jon_tl]
-
\tl_gclear:N \g_jun_tl
\tl_gclear:N \g_jon_tl
\tl_if_empty:NF \l_delayedtoken_tl
{
\l_delayedtoken_tl
- \tl_clear:N \l_delayedtoken_tl
}
}
@@ -532,13 +557,6 @@
{
\seq_set_split:Nnn \l_inputpar_seq { \par } { #1 }
\seq_map_indexed_function:NN \l_inputpar_seq \jamo_word:nn
-% \seq_set_split:Nnn \l_inputword_seq { ~ } { #1 }
-% \seq_map_indexed_inline:Nn \l_inputword_seq
-% {
-% \jamotextcmd { ##2 }
-% \int_compare:nT { ##1 < \seq_count:N \l_inputword_seq }
-% { \space }
-% }
}{}
\cs_new:Npn \jamo_word:nn #1 #2
@@ -569,24 +587,11 @@
}
\int_compare:nT { ##1 < \seq_count:N \l_inparpar_seq }
- { \space }
+ { \frk_space_here }
}
\int_compare:nT { #1 < \seq_count:N \l_inputpar_seq }
{ \par }
}
-%
-%\NewDocumentEnvironment { jamotext } { +b }
-%{
-% \seq_set_split:Nnn \l_tmpa_seq { \par } { #1 }
-% \seq_map_indexed_inline:Nn \l_tmpa_seq
-% {
-% \hg{ ##2 }
-% \int_compare:nT { ##1 < \seq_count:N \l_tmpa_seq }
-% { \par }
-% }
-%}{}
-
-
\endinput
diff --git a/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.sty b/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.sty
index b328a1b7e7..527577d42f 100644
--- a/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.sty
+++ b/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.sty
@@ -3,12 +3,12 @@
%%
%% Fukui Rei's Korean Romanization Method.
%%
-%% Kangsoo Kim, 2022/11/29
+%% Nova de Hi, 2022/11/29
%%
\ProvidesExplPackage
{pmhanguljamo-frkim}
- {2023/02/22}
- {v1.0.1}
+ {2023/03/01}
+ {v0.6.1}
{Korean ROMAJI Input Method: Fukui Rei's HangulTeX}
\RequirePackage{l3keys2e}
@@ -33,6 +33,21 @@
\ProcessKeysOptions { frkim }
+\bool_new:N \opt_luatexko_loaded
+\@ifpackageloaded{luatexko}{
+ \bool_set_true:N \opt_luatexko_loaded
+}{
+ \bool_set_false:N \opt_luatexko_loaded
+}
+
+%\NewDocumentCommand \frkhangulfont {} {
+% Noto~Serif~KR
+%}
+%
+%\NewDocumentCommand \frkhangulfontfeature {} {
+% Script=Hangul, Renderer=OpenType, Ligatures=TeX
+%}
+
\input{pmhanguljamo-frkim.code.tex}
\endinput
diff --git a/language/korean/pmhanguljamo/tex/pmhanguljamo.sty b/language/korean/pmhanguljamo/tex/pmhanguljamo.sty
index 831642be61..2fb9addc25 100644
--- a/language/korean/pmhanguljamo/tex/pmhanguljamo.sty
+++ b/language/korean/pmhanguljamo/tex/pmhanguljamo.sty
@@ -23,8 +23,8 @@
\RequirePackage{xparse}
\ProvidesExplPackage
{pmhanguljamo}
- {2023/02/22}
- {v1.0.1}
+ {2023/03/03}
+ {v1.0.2}
{Poorman's Hangul Jamo Input Method}
\RequirePackage{l3keys2e}
@@ -364,6 +364,13 @@
%%% loads frkim codes and exit
\bool_if:NT \opt_frkim_bool
{
+ \bool_new:N \opt_luatexko_loaded
+ \@ifpackageloaded{luatexko}{
+ \bool_set_true:N \opt_luatexko_loaded
+ }{
+ \bool_set_false:N \opt_luatexko_loaded
+ }
+
\tl_set_eq:NN \frkhangulfont \opt_pmfont_tl
\tl_if_empty:NT \frkhangulfont {
\tl_set:Nn \frkhangulfont { NotoSerifKR-Regular.otf }