summaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-02-26 03:02:12 +0000
committerNorbert Preining <norbert@preining.info>2023-02-26 03:02:12 +0000
commite7ae872926eddb0de09ecfe1c578e0680033955a (patch)
tree01717465b5b26d3b2ccaea9889c720a840e0a16c /language
parent81a9d839224eef4c2bd9bf68410b4049c61cdb14 (diff)
CTAN sync 202302260302
Diffstat (limited to 'language')
-rw-r--r--language/japanese/BX/bxghost/README.md6
-rw-r--r--language/japanese/BX/bxghost/bxghost-lib.sty16
-rw-r--r--language/japanese/BX/bxghost/bxghost.sty4
-rw-r--r--language/korean/pmhanguljamo/README.md2
-rw-r--r--language/korean/pmhanguljamo/doc/pmhanguljamo-doc.pdfbin214272 -> 214591 bytes
-rw-r--r--language/korean/pmhanguljamo/doc/pmhanguljamo-doc.tex10
-rw-r--r--language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.pdfbin691545 -> 696078 bytes
-rw-r--r--language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.tex58
-rw-r--r--language/korean/pmhanguljamo/tex/frkjamofull.data.tex304
-rw-r--r--language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.code.tex46
-rw-r--r--language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.sty6
-rw-r--r--language/korean/pmhanguljamo/tex/pmhanguljamo.sty4
12 files changed, 423 insertions, 33 deletions
diff --git a/language/japanese/BX/bxghost/README.md b/language/japanese/BX/bxghost/README.md
index 4080b42c37..b834af35e8 100644
--- a/language/japanese/BX/bxghost/README.md
+++ b/language/japanese/BX/bxghost/README.md
@@ -34,7 +34,7 @@ This provides all the commands defined in the package but does not have any pack
## Acknowledgements
-The logic and style of the code in this package is greatly inspired by [Package PXghost](https://gist.github.com/zr-tex8r/4461060) and various packages in [the BX series](http://zrbabbler.sp.land.to/package.html#ssec-bx). I would like to thank the author of the packages, Dr. Takayuki YATO (aka. [ZR](https://github.com/zr-tex8r)).
+The logic and style of the code in this package is greatly inspired by [Package PXghost](https://gist.github.com/zr-tex8r/4461060) and various packages in [the BX series](http://zrbabbler.sp.land.to/package.html#ssec-bx). I would like to thank the author of the packages, Dr. Takayuki Yato (aka. [ZR](https://github.com/zr-tex8r)).
## License
@@ -42,6 +42,8 @@ This package is distributed under [the MIT license](./LICENSE).
## Revision History
+* Version 0.5.1 ‹2023/02/26›
+ * Add support for e-upTeX based pLaTeX
* Version 0.5.0 ‹2022/05/20›
* Provide `bxghost-lib` for internal use from other packages
* Version 0.4.0 ‹2022/02/12›
@@ -57,4 +59,4 @@ This package is distributed under [the MIT license](./LICENSE).
---
-Takuto ASAKURA ([wtsnjp](https://twitter.com/wtsnjp))
+Takuto Asakura ([wtsnjp](https://twitter.com/wtsnjp))
diff --git a/language/japanese/BX/bxghost/bxghost-lib.sty b/language/japanese/BX/bxghost/bxghost-lib.sty
index 00a148deed..6b4fb2bfd4 100644
--- a/language/japanese/BX/bxghost/bxghost-lib.sty
+++ b/language/japanese/BX/bxghost/bxghost-lib.sty
@@ -1,7 +1,7 @@
%%
%% This is file 'bxghost-lib.sty'.
%%
-%% Copyright 2019-2022 Takuto ASAKURA (wtsnjp)
+%% Copyright 2019-2023 Takuto Asakura (wtsnjp)
%% GitHub: https://github.com/wtsnjp
%% Twitter: @wtsnjp
%%
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bxghost-lib}[2022/05/20 v0.5.0]
+\ProvidesPackage{bxghost-lib}[2023/02/26 v0.5.1]
%% preparations
\def\bxqgg@pkgname{bxghost}
@@ -23,10 +23,14 @@
\edef\bxqgg@tmpa{\string#1}\edef\bxqgg@tmpb{\meaning#1}%
\ifx\bxqgg@tmpa\bxqgg@tmpb #2\fi}
\chardef\bxqgg@engine=0 % other TeX
-\bxqgg@next\kanjiskip {\chardef\bxqgg@engine=1 }% pTeX
-\bxqgg@next\enablecjktoken{\chardef\bxqgg@engine=2 }% upTeX
-\bxqgg@next\luatexversion {\chardef\bxqgg@engine=3 }% LuaTeX
-\bxqgg@next\XeTeXversion {\chardef\bxqgg@engine=4 }% XeTeX
+\bxqgg@next\kanjiskip{%
+ \ifnum\jis"2121="3000
+ \chardef\bxqgg@engine=2 % upTeX
+ \else
+ \chardef\bxqgg@engine=1 % pTeX
+ \fi}
+\bxqgg@next\luatexversion{\chardef\bxqgg@engine=3 }% LuaTeX
+\bxqgg@next\XeTeXversion {\chardef\bxqgg@engine=4 }% XeTeX
%--------------------------------------- not supported engine
diff --git a/language/japanese/BX/bxghost/bxghost.sty b/language/japanese/BX/bxghost/bxghost.sty
index 8291e3a090..a4084e8a04 100644
--- a/language/japanese/BX/bxghost/bxghost.sty
+++ b/language/japanese/BX/bxghost/bxghost.sty
@@ -1,7 +1,7 @@
%%
%% This is file 'bxghost.sty'.
%%
-%% Copyright 2019-2022 Takuto ASAKURA (wtsnjp)
+%% Copyright 2019-2023 Takuto Asakura (wtsnjp)
%% GitHub: https://github.com/wtsnjp
%% Twitter: @wtsnjp
%%
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bxghost}[2022/05/20 v0.5.0]
+\ProvidesPackage{bxghost}[2023/02/26 v0.5.1]
%% load the library
\RequirePackage{bxghost-lib}
diff --git a/language/korean/pmhanguljamo/README.md b/language/korean/pmhanguljamo/README.md
index 044e8c5385..539205a702 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.
+The current version is 1.0.1
## Copyright and License
diff --git a/language/korean/pmhanguljamo/doc/pmhanguljamo-doc.pdf b/language/korean/pmhanguljamo/doc/pmhanguljamo-doc.pdf
index 4b64632682..50ffaae7af 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 70fccd711b..bd91a004d3 100644
--- a/language/korean/pmhanguljamo/doc/pmhanguljamo-doc.tex
+++ b/language/korean/pmhanguljamo/doc/pmhanguljamo-doc.tex
@@ -1,4 +1,5 @@
-%!TEX TS-program = arara
+%!TEX TS-program = SpiX
+%$ cluttex -e xelatex --synctex=1 --shell-escape --package-support=minted --tex-option=--8bit $texname
% arara: xelatex: { shell: yes, synctex: yes }
\documentclass[a4paper]{article}
\usepackage{kotex}
@@ -43,7 +44,7 @@
%\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{18 Feb 2023\quad version 1.0}
+\date{22 Feb 2023\quad version 1.0.1}
\maketitle
@@ -844,7 +845,8 @@ can be used with this package.
\activatefrcccmds
\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.
+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''}}.
\item The trailing I-Eung (\frccq) is made by \verb|q|, and the lost character
Yes-I-Eung (\frccQ) is by \verb|Q|.
@@ -855,7 +857,7 @@ Yes-I-Eung (\frccQ) is by \verb|Q|.
and \texttt{jamotext} environment can be used with.
\item We extended the Old-Hangul feature of this input method. The plural consonants in the leading position were not implemented in the \emph{hangulTeX}, which can be done by dispicting the starting position of the plural leading consonants with \verb|-| (dash). Moreover, in the heading position of a word,
-this mark can be left out. For example, \verb|\hg{bsumei}| \hg{bsumei}; \verb|\hg{gy-bsgyi'iei}| \hg{gy-bsgyi'iei}.
+this mark can be left out. For example, \verb|\hg{bsumei}| \hg{bsumei}; \verb|\hg{gy-bsgyi'iei}| \hg{gy-bsgyi'iei}.
\end{enumerate}
\subsection{Examples}
diff --git a/language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.pdf b/language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.pdf
index b6dd571241..dae527692a 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 290e417045..8af27c11c4 100644
--- a/language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.tex
+++ b/language/korean/pmhanguljamo/doc/pmhanguljamo-kdoc.tex
@@ -113,7 +113,8 @@
%\date{2021/11/28\quad v0.4}
%\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/19\quad v1.0}
+\date{2023/02/22\quad v1.0.1}
\maketitle
@@ -1432,10 +1433,14 @@ nog-eumbangcho ugeojyeo geumjandi jwaleuleug sgal-in jye
\begin{enumerate}[\quad(1)]
\item 초성 위치에 오는 `\texttt{ㅇ}' 즉 zero 자음을 right quote(\texttt{'})로
-표현하는 것이 디폴트이다. 이럴 경우에 right quote 자리에 \cs{rq} 명령을 쓸 수 있다.
-만약 right quote를 써야 할 일이 많아서 zero 자음을 \texttt{x}로 대용하고 싶다면
-\cs{zeroisx}를 선언한다. \cs{zeroisrq} 명령으로 이를 되돌릴 수 있다. 이상은 \pkg{hangul\TeX}에서와 동일하다.
-\verb|\hg{u'eq}| \hg{u'eq}, \verb|\zeroisx\hg{xuxeq}| \hg{xuxeq}.
+표현하는 것이 디폴트이다.
+zero 자음을 \texttt{x}로 대용하고 싶다면
+\cs{zeroisx}를 선언한다. \cs{zeroisrq} 명령으로 이를 되돌릴 수 있다. 이상은 \pkg{hangul\TeX}에서와 동일하다. \cs{zeroisrq}(default) 상태에서
+닫는 따옴표를 쓰려면 \cs{rq}를 \verb|'| 대신 써야 한다. \verb|''|는 \cs{rq}\cs{rq}로 쓴다.
+\verb|\hg{u'eq}| \hg{u'eq}, \verb|\zeroisx\hg{xuxeq}| {\zeroisx\hg{xuxeq}}.
+\verb|\hg{`'a'ug\rq}| \hg{`'a'ug\rq}, \verb|\zeroisx\hg{`xaxug'}| {\zeroisx\hg{`xaxug'}}.
+\cs{zeroisx}와 \cs{zeroisrq}는 한글 입력 영역, 즉 \cs{jamoword}(=\cs{hg})의 인자
+영역 밖에서 선언하라.
\activatefrcccmds
\item 받침(종성) `\texttt{ㅇ}'은 \texttt{q}로 쓴다. 옛이응(\texttt{\frccQ})은 \texttt{Q}. 초성 자리에 올 때에도 같다.
@@ -1457,6 +1462,35 @@ zero 자음 \texttt{ㅇ}을 넣는 규칙 때문이다.
\end{enumerate}
+\section{\cs{AddRule}}
+
+\marginpar{\fbox{\footnotesize 1.0.1}}%
+\texttt{[method=pm]}의 경우와 달리 \texttt{frkim}에서는 유니코드 한글 자모 전부를 부호화해두지 않았다. 패키지가 너무 무거워지는 것을 방지하고자 함이었는데 그 결과 일부 옛한글이 나타나지 않는 경우가 생길 것이다.
+
+사용자는 자신에게 꼭 필요하지만 \texttt{frkim} 규칙에 정의되지 않은 유니코드 한글 자모의 정의를 추가할 수 있다. 다음과 같은 방식으로 사용한다.
+
+\begin{verbatim}
+\AddRule{<cho|jung|jong>}{<key=value>,<key=value>,...}
+\end{verbatim}
+
+\verb|key|는 사용할 알파벳이고 \verb|value|는 16진수 한글 자모 코드이다.
+(유니코드에 정의되지 않은 한글 자모는 쓸 수 없다.) 다음 예를 보라.
+
+\begin{exampleside}
+\AddRule{cho}{nn=1114}
+\hg{da-nn@nira}
+\end{exampleside}
+
+만약 \verb|key|가 이미 사용되고 있는 부호라면 기존 값을 덮어쓰므로 주의한다.
+
+\texttt{frkjamofull.data.tex}이라는 이름의 부수파일에는 유니코드의 모든 한글 자모에 대하여 frkim 방식의 코드를 부여해두었다. 이 파일을
+\cs{input}하면 모든 옛한글 자모를 활용할 수 있다.
+
+\begin{exampleside}
+\input{frkjamofull.data.tex}
+\jamoword{bstoiairmh}
+\end{exampleside}
+
\section{용례}
\paragraph{현대 한글} 현대 한글의 입출력 예를 보인다.
@@ -1499,11 +1533,15 @@ sa'uen 'ugihoan'yi jujaqgoa majbaro toqhaiSda.
\paragraph{\cs{rq}의 사용}
-닫는 따옴표는 \cs{rq} 매크로를 써야 한다. \cs{zeroisx}는 기억을 위한 코드일 뿐이고
-내부적으로 사실상 \verb|x|와 \verb|'|를 거의 동일하게 취급하기 때문이다.
-그러나 되도록 따옴표와 같은 문장부호는 \cs{jamoword}(=\cs{hg}) 명령 밖에 두는 것이 좋다.
+닫는 따옴표는 \cs{zeroisrq}일 때 \cs{rq} 매크로를 써야 한다.
\begin{examplebelow}
+\zeroisx \hangul ``xonyr harxirxyr naixirro miruji mara''nyn
+marxi iSda. \endhangul
+\end{examplebelow}
+
+\begin{examplebelow}
+\zeroisrq
\hg{``'erin'inyn nara'yi bobai'ibnida\rq\rq{} sopa
`baqjeqhoan\rq{} sensaiqnim'i hasin marSym'ida.}
\end{examplebelow}
@@ -1779,10 +1817,12 @@ Expl3는 내가 원하는 일을 너무나 간단하게 구현할 수 있게 해
\textbullet\ v0.6 (2022/11/30): \texttt{frkim.sty}의 작성
-\textbullet\ v0.7.1 (2022/12/25): \texttt{frkim}과 통합 및 q/f/x의 대응 문자를 바꿈.
+\textbullet\ v0.7.1 (2022/12/25): \texttt{frkim}과 통합 및 q/f/x의 대응 문자를 바꿈. 훈민정음체 코멘트 삭제
\textbullet\ v1.0 (2023/02/18): version 1.0으로 릴리스.
+\textbullet\ v1.0.1 (2023/02/22): frkim rule에 \cs{AddRule} 추가. \cs{zeroisx} 버그 수정.
+
%%% APPENDICES
\ExplSyntaxOn
diff --git a/language/korean/pmhanguljamo/tex/frkjamofull.data.tex b/language/korean/pmhanguljamo/tex/frkjamofull.data.tex
new file mode 100644
index 0000000000..13d2567807
--- /dev/null
+++ b/language/korean/pmhanguljamo/tex/frkjamofull.data.tex
@@ -0,0 +1,304 @@
+%%%
+%%% (frkim) Additional All Unicode Hangul Jamo Codes data file
+%%%
+\AddRule{cho}{%
+ ng=1113,
+ nn=1114,
+ nd=1115,
+ nb=1116,
+ dg=1117,
+ rn=1118,
+ rr=1119,
+ rh=111A,
+ rq=111B,
+ mb=111C,
+ mq=111D,
+ bg=111E,
+ bn=111F,
+ bd=1120,
+ bs=1121,
+ bsg=1122,
+ bsd=1123,
+ bsb=1124,
+ bss=1125,
+ bsj=1126,
+ bj=1127,
+ bc=1128,
+ bt=1129,
+ bp=112A,
+ bq=112B,
+ bbq=112C,
+ vv=112C, %%% =bbq
+ sg=112D,
+ sn=112E,
+ sd=112F,
+ sr=1130,
+ sm=1131,
+ sb=1132,
+ sbg=1133,
+ sss=1134,
+ sq=1135,
+ sj=1136,
+ sc=1137,
+ sk=1138,
+ st=1139,
+ sp=113A,
+ sh=113B,
+ sl=113C,
+ ssl=113D,
+ slr=113E,
+ sslr=113F,
+ %z=1140,
+ qg=1141,
+ qd=1142,
+ qm=1143,
+ qb=1144,
+ qs=1145,
+ qz=1146,
+ qq=1147,
+ qj=1148,
+ qc=1149,
+ qt=114A,
+ qp=114B,
+ Q=114C,
+ jq=114D,
+ jl=114E,
+ jjl=114F,
+ jlr=1150,
+ jjlr=1151,
+ ck=1152,
+ ch=1153,
+ cl=1154,
+ clr=1155,
+ pb=1156,
+ pq=1157,
+ hh=1158,
+ %X=1159,
+ gd=115A,
+ ns=115B,
+ nj=115C,
+ nh=115D,
+ dr=115E,
+ %%%%%%%%
+ dm=A960,
+ db=A961,
+ ds=A962,
+ dj=A963,
+ rg=A964,
+ rgg=A965,
+ rd=A966,
+ rdd=A967,
+ rm=A968,
+ rb=A969,
+ rbb=A96A,
+ rbq=A96B,
+ rs=A96C,
+ rj=A96D,
+ rk=A96E,
+ mg=A96F,
+ md=A970,
+ ms=A971,
+ bst=A972,
+ bk=A973,
+ bh=A974,
+ ssb=A975,
+ qr=A976,
+ qh=A977,
+ jjh=A978,
+ tt=A979,
+ ph=A97A,
+ hs=A97B,
+ XX=A97C
+}
+\AddRule{jung}{%
+ ao=1176,
+ au=1177,
+ iao=1178,
+ iaio=1179,
+ eo=117A,
+ eu=117B,
+ uy=117C,
+ ieo=117D,
+ ieu=117E,
+ oe=117F,
+ oei=1180,
+ oiei=1181,
+ oo=1182,
+ ou=1183,
+ ioie=1184,
+ ioiai=1185,
+ ioie=1186,
+ ioo=1187,
+ ioi=1188,
+ ua=1189,
+ uiai=118A,
+ iuy=118B,
+ jiei=118C,
+ uu=118D,
+ iua=118E,
+ iue=118F,
+ iuiei=1190,
+ iuie=1191,
+ iuiei=1192,
+ iuu=1193,
+ iui=1194,
+ yu=1195,
+ yy=1196,
+ yiu=1197,
+ Ia=1198,
+ Iia=1199,
+ Io=119A,
+ Iu=119B,
+ iy=119C,
+ i@=119D,
+ %@=119E,
+ @e=119F,
+ @u=11A0,
+ %@i=11A1,
+ %@@=11A2,
+ ay=11A3,
+ iau=11A4,
+ ieia=11A5,
+ oia=11A6,
+ oiai=11A7,
+ %%%%%
+ oie=D7B0,
+ oo@=D7B1,
+ ioa=D7B2,
+ ioai=D7B3,
+ ioe=D7B4,
+ uie=D7B5,
+ uII=D7B6,
+ iuai=D7B7,
+ iuo=D7B8,
+ ya=D7B9,
+ ye=D7BA,
+ yei=D7BB,
+ yo=D7BC,
+ Iiao=D7BD,
+ Iiai=D7BE,
+ Iie=D7BF,
+ IieI=D7C0,
+ Io@=D7C1,
+ Iio=D7C2,
+ Iiu=D7C3,
+ II=D7C4,
+ @a=D7C5,
+ @ei=D7C6
+}
+\AddRule{jong}{%
+ gr=11C3,
+ gsg=11C4,
+ ng=11C5,
+ nd=11C6,
+ ns=11C7,
+ nz=11C8,
+ nt=11C9,
+ dg=11CA,
+ dr=11CB,
+ rgs=11CC,
+ rn=11CD,
+ rd=11CE,
+ rdh=11CF,
+ rr=11D0,
+ rmg=11D1,
+ rms=11D2,
+ rbs=11D3,
+ sbh=11D4,
+ rv=11D5,
+ rss=11D6,
+ rz=11D7,
+ rk=11D8,
+ %rX=11D9,
+ mg=11DA,
+ mr=11DB,
+ mb=11DC,
+ ms=11DD,
+ mss=11DE,
+ mz=11DF,
+ mc=11E0,
+ mh=11E1,
+ mq=11E2,
+ br=11E3,
+ bp=11E4,
+ bh=11E5,
+ %v=11E6,
+ bq=11E6,
+ sg=11E7,
+ sd=11E8,
+ sr=11E9,
+ sb=11EA,
+ %z=11EB,
+ Qg=11EC,
+ Qgg=11ED,
+ QQ=11EE,
+ Qk=11EF,
+ %Q=11F0,
+ Qs=11F1,
+ Qz=11F2,
+ pb=11F3,
+ pq=11F4,
+ hn=11F5,
+ hr=11F6,
+ hm=11F7,
+ hb=11F8,
+ %X=11F9,
+ gn=11FA,
+ gb=11FB,
+ gc=11FC,
+ gk=11FD,
+ gh=11FE,
+ nn=11FF,
+ %%%%%
+ nr=D7CB,
+ nc=D7CC,
+ dd=D7CD,
+ ddb=D7CE,
+ db=D7CF,
+ ds=D7D0,
+ dsg=D7D1,
+ dj=D7D2,
+ dc=D7D3,
+ dt=D7D4,
+ rgg=D7D5,
+ rgh=D7D6,
+ rrk=D7D7,
+ rmh=D7D8,
+ rbd=D7D9,
+ rbp=D7DA,
+ rQ=D7DB,
+ rQh=D7DC,
+ rq=D7DD,
+ mn=D7DE,
+ mnn=D7DF,
+ mm=D7E0,
+ mbs=D7E1,
+ mj=D7E2,
+ bd=D7E3,
+ brp=D7E4,
+ bm=D7E5,
+ bb=D7E6,
+ bsd=D7E7,
+ bj=D7E8,
+ bc=D7E9,
+ sm=D7EA,
+ sv=D7EB,
+ ssg=D7EC,
+ ssd=D7ED,
+ sz=D7EE,
+ sj=D7EF,
+ sc=D7F0,
+ st=D7F1,
+ sh=D7F2,
+ zb=D7F3,
+ zv=D7F4,
+ Qm=D7F5,
+ Qh=D7F6,
+ jb=D7F7,
+ jbb=D7F8,
+ jj=D7F9,
+ ps=D7FA,
+ pt=D7FB
+}
+%
+\endinput
diff --git a/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.code.tex b/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.code.tex
index 4896ee994f..9b3283659f 100644
--- a/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.code.tex
+++ b/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.code.tex
@@ -1,5 +1,6 @@
%% code part of frkim
-%% v0.6
+%% v1.0.1 (\AddRule)
+%%
\char_set_catcode_other:N \@
\clist_const:Nn \c_hgvow_clist { a, e, o, u, y, i, @, * }
@@ -89,6 +90,10 @@
\cs_new:Npn \_process_word:n #1
{
\tl_set:Nn \l_aword_tl { #1 }
+ \bool_if:NT \opt_zeroisx_bool
+ {
+ \regex_replace_all:nnN { ' } { \c{rq} } \l_aword_tl
+ }
\clear_all_var:
\tl_map_function:NN \l_aword_tl \_main_fn:n
%%% 마지막에 끝난 조건에 따라
@@ -229,6 +234,7 @@
s = \char"1109,
S = \char"110A,
x = \char"110B,
+ q = \char"110B,
j = \char"110C,
J = \char"110D,
c = \char"110E,
@@ -331,6 +337,26 @@
sb = \char"11EA,
}
+\prop_new:N \l_usercho_prop
+\prop_new:N \l_userjung_prop
+\prop_new:N \l_userjong_prop
+
+\NewDocumentCommand \AddRule { m m }
+{
+ \clist_set:Nn \l_tmpa_clist { #2 }
+ \clist_map_inline:Nn \l_tmpa_clist
+ {
+ \_split_userrule_keyval:w ##1 \q_stop
+ \prop_put:cVx { l_user #1 _prop } \l_tmpkey_tl {\exp_not:N \char"\l_tmpval_tl}
+ }
+}
+
+\cs_new:Npn \_split_userrule_keyval:w #1 = #2 \q_stop
+{
+ \tl_set:Nn \l_tmpkey_tl { #1 }
+ \tl_set:Nn \l_tmpval_tl { #2 }
+}
+
\cs_new:Nn \build_syl:
{
\bool_if:NF \opt_zeroisx_bool
@@ -339,18 +365,30 @@
}
\tl_if_empty:NF \g_cho_tl
{
- \prop_get:NVNT \c_frkcho_prop \g_cho_tl \l_tmpone_tl
+ \prop_get:NVNTF \c_frkcho_prop \g_cho_tl \l_tmpone_tl
{ \tl_use:N \l_tmpone_tl }
+ {
+ \prop_get:NVNT \l_usercho_prop \g_cho_tl \l_tmpone_tl
+ { \tl_use:N \l_tmpone_tl }
+ }
}
\tl_if_empty:NF \g_jun_tl
{
- \prop_get:NVNT \c_frkjung_prop \g_jun_tl \l_tmptwo_tl
+ \prop_get:NVNTF \c_frkjung_prop \g_jun_tl \l_tmptwo_tl
{ \tl_use:N \l_tmptwo_tl }
+ {
+ \prop_get:NVNT \l_userjung_prop \g_jun_tl \l_tmptwo_tl
+ { \tl_use:N \l_tmptwo_tl }
+ }
}
\tl_if_empty:NF \g_jon_tl
{
- \prop_get:NVNT \c_frkjong_prop \g_jon_tl \l_tmpthr_tl
+ \prop_get:NVNTF \c_frkjong_prop \g_jon_tl \l_tmpthr_tl
{ \tl_use:N \l_tmpthr_tl }
+ {
+ \prop_get:NVNT \l_userjong_prop \g_jon_tl \l_tmpthr_tl
+ { \tl_use:N \l_tmpthr_tl }
+ }
}
%%%%>>>>
diff --git a/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.sty b/language/korean/pmhanguljamo/tex/pmhanguljamo-frkim.sty
index 71713f13fb..b328a1b7e7 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.
%%
-%% Nova de Hi, 2022/11/29
+%% Kangsoo Kim, 2022/11/29
%%
\ProvidesExplPackage
{pmhanguljamo-frkim}
- {2023/02/16}
- {v0.5}
+ {2023/02/22}
+ {v1.0.1}
{Korean ROMAJI Input Method: Fukui Rei's HangulTeX}
\RequirePackage{l3keys2e}
diff --git a/language/korean/pmhanguljamo/tex/pmhanguljamo.sty b/language/korean/pmhanguljamo/tex/pmhanguljamo.sty
index df166802e8..831642be61 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/19}
- {v1.0}
+ {2023/02/22}
+ {v1.0.1}
{Poorman's Hangul Jamo Input Method}
\RequirePackage{l3keys2e}