summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/platex
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2012-12-11 02:16:31 +0000
committerNorbert Preining <preining@logic.at>2012-12-11 02:16:31 +0000
commitf4759ec3810e030fae93268f1359351c1fe3a3f4 (patch)
treed947dce23e822c879bc272a94726278fc807ba53 /Master/texmf-dist/doc/platex
parent427f60468268e043c941e28ab3196807ef1f9724 (diff)
new platex package pxrubrica (11Dec)
git-svn-id: svn://tug.org/texlive/trunk@28494 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/platex')
-rw-r--r--Master/texmf-dist/doc/platex/pxrubrica/LICENSE24
-rw-r--r--Master/texmf-dist/doc/platex/pxrubrica/README83
-rw-r--r--Master/texmf-dist/doc/platex/pxrubrica/pxrubrica-en.pdfbin0 -> 31606 bytes
-rw-r--r--Master/texmf-dist/doc/platex/pxrubrica/pxrubrica-en.tex153
-rw-r--r--Master/texmf-dist/doc/platex/pxrubrica/pxrubrica.pdfbin0 -> 148789 bytes
-rw-r--r--Master/texmf-dist/doc/platex/pxrubrica/sample/test-jlreq.pdfbin0 -> 12473 bytes
-rw-r--r--Master/texmf-dist/doc/platex/pxrubrica/sample/test-jlreq.tex109
-rw-r--r--Master/texmf-dist/doc/platex/pxrubrica/sample/test-sf.pdfbin0 -> 4098 bytes
-rw-r--r--Master/texmf-dist/doc/platex/pxrubrica/sample/test-sf.tex116
-rw-r--r--Master/texmf-dist/doc/platex/pxrubrica/sample/test-toc.pdfbin0 -> 6565 bytes
-rw-r--r--Master/texmf-dist/doc/platex/pxrubrica/sample/test-toc.tex19
11 files changed, 504 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/platex/pxrubrica/LICENSE b/Master/texmf-dist/doc/platex/pxrubrica/LICENSE
new file mode 100644
index 00000000000..e1ac82a8bb1
--- /dev/null
+++ b/Master/texmf-dist/doc/platex/pxrubrica/LICENSE
@@ -0,0 +1,24 @@
+本ソフトウェアは MIT ライセンスの下で配布されます。著作権は作者である
+「八登崇之(別名 ZR)」に属します。また本ソフトウェアは無保証です。
+
+The MIT License
+
+Copyright (c) 2009-2011 Takayuki YATO (a.k.a. "ZR")
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/Master/texmf-dist/doc/platex/pxrubrica/README b/Master/texmf-dist/doc/platex/pxrubrica/README
new file mode 100644
index 00000000000..14b8fb12725
--- /dev/null
+++ b/Master/texmf-dist/doc/platex/pxrubrica/README
@@ -0,0 +1,83 @@
+==================================================
+== PXrubrica バンドル v1.0 <2012/04/30> ==
+== 八登 崇之 Takayuki YATO; aka."ZR")==
+==================================================
+(This file is encoded in UTF-8.
+There is a brief documentation in English below.)
+
+JIS 規格「JIS X 4051」および W3C 技術ノート「日本語組版処理の要件」(*)
+(*2)で述べられているような、日本において一般的な様式に従ってルビを付ける
+機能を提供する。
+
+(*) http://www.w3.org/TR/jlreq/ja/ (日本語版)
+ http://www.w3.org/TR/jlreq/ (正式の英語版)
+
+■ 対応環境
+
+ ・TeX フォーマット: pLaTeX (派生エンジン含む)
+ ・DVI ウェア: pTeX 対応のもの
+
+■ 構成物
+
+ pxrubrica.sty: 本体パッケージ
+ pxrubrica.pdf: pxrubrica.sty の説明書
+ pxrubrica.dtx: DocStrip ソースファイル
+ pxrubrica.ins: DocStrip インストーラファイル
+ sample/*.tex: サンプル文書
+
+ パッケージの使用に必要なのは *.sty ファイルのみである。
+
+■ インストール
+
+ TDS 1.1 に従ったシステムでは、各ファイルを次の場所に移動する。
+ ・*.sty → $TEXMF/tex/platex/pxrubrica/
+
+ W32TeX を C:\usr\local にインストールした場合は以下の通り。
+ ・*.sty
+ → C:\usr\local\share\texmf\local\tex\platex\pxrubrica\
+ 残りのファイルは実行には不要である。
+
+ (参考) DocStrip ソースからの抽出
+ 説明書(pxrubrica.dvi)
+ platex pxrubrica.dtx
+ 本体(pxrubrica.sty)
+ ptex -kanji=jis pxrubrica.ins
+ 同梱されている *.pdf、*.sty ファイルは上記の操作で生成したもので
+ ある。(DVI → PDF 変換は dvipdfmx で行った)
+
+==================================================
+== PXrubrica Package Bundle v1.0 <2011/09/04> ==
+== Takayuki YATO (aka."ZR")==
+==================================================
+
+This package provides function to add ruby annotation (furigana) that
+follows the style conventional in Japanese typography, as described in
+the W3C technical note ``Requirements for Japanese Text Layout'' (*)
+and the JIS specification JIS X 4051.
+
+(*) http://www.w3.org/TR/jlreq/ (in English)
+
+* SYSTEM REQUIREMENTS
+
+ - TeX format: pLaTeX (including its derivative engines)
+ - DVI ware: all that support pTeX
+
+* CONTENT
+
+ pxrublica.sty: the main package
+ pxrubrica.pdf: the manual for pxrubrica.sty
+ pxrubrica.dtx: DocStrip source file
+ pxrubrica.ins: DocStrip installer file
+ sample/*.tex: sample documents
+
+ You need only *.sty files to make the package work.
+
+ # Currently the manual is provided only in Japanese....
+
+* INSTALLATION
+
+ In a system compliant to TDS 1.1, move the files as follows:
+ - *.sty --> $TEXMF/tex/platex/pxrubrica/
+
+ And rehash your TEXMF trees if necessary.
+
diff --git a/Master/texmf-dist/doc/platex/pxrubrica/pxrubrica-en.pdf b/Master/texmf-dist/doc/platex/pxrubrica/pxrubrica-en.pdf
new file mode 100644
index 00000000000..3d0d643d9e4
--- /dev/null
+++ b/Master/texmf-dist/doc/platex/pxrubrica/pxrubrica-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/platex/pxrubrica/pxrubrica-en.tex b/Master/texmf-dist/doc/platex/pxrubrica/pxrubrica-en.tex
new file mode 100644
index 00000000000..f2578d55095
--- /dev/null
+++ b/Master/texmf-dist/doc/platex/pxrubrica/pxrubrica-en.tex
@@ -0,0 +1,153 @@
+\documentclass[a4paper]{article}
+\usepackage[scale=0.8]{geometry}
+\usepackage{setspace}
+\usepackage{pxrubrica}
+\newcommand*{\vb}{\symbol{`\|}}
+\newcommand*{\Opt}[1]{\texttt{#1}}
+\newcommand*{\PKN}[1]{\textsf{#1}}
+\newcommand*{\Eg}{E.\,g.\mbox{}}
+\newcommand*{\eg}{e.\,g.\mbox{}}
+\newcommand*{\ie}{i.\,e.\mbox{}}
+\newcommand*{\myfileversion}{1.0}
+\newcommand*{\myfiledate}{2011/09/04}
+\newsavebox{\myexample}
+\begin{document}
+
+\title{The \PKN{pxrubrica} package}
+\author{Takayuki YATO\quad (aka ``ZR'')}
+\date{\myfileversion \quad[\myfiledate]}
+\maketitle
+
+\setstretch{1.5}
+
+\section{Package Loading}
+
+There is no options available.
+
+\begin{quote}\small\begin{verbatim}
+\usepackage{pxrubrica}
+\end{verbatim}\end{quote}
+
+\section{Basic Usage}
+
+\subsection{Very Basic}
+
+\begin{itemize}
+\item Mono ruby (\Opt{m} option): one ruby block per one kanji.\\
+\Eg\quad
+\verb+\ruby[m]{$BBk(B}{$B$?$+(B}+ $\rightarrow$ \ruby[m]{$BBk(B}{$B$?$+(B}\quad
+\verb+\ruby[m]{$Brt(B}{$B$&$0$$$9(B}+ $\rightarrow$ \ruby[m]{$Brt(B}{$B$&$0$$$9(B}
+\item Group ruby (\Opt{g} option): one ruby block per kanji sequence.\\
+\Eg\quad
+\verb+\ruby[g]{$B1@?}(B}{$B$R$P$j(B}+ $\rightarrow$ \ruby[g]{$B1@?}(B}{$B$R$P$j(B}\quad
+\verb+\ruby[g]{$BITG!5"(B}{$B$[$H$H$.$9(B}+ $\rightarrow$ \ruby[g]{$BITG!5"(B}{$B$[$H$H$.$9(B}
+\item Jukugo ruby (\Opt{j} option): one ruby block per kanji, but read as whole.\\
+\Eg\quad
+\verb+\ruby[j]{$B9&?}(B}{$B$/(B|$B$8$c$/(B}+ $\rightarrow$ \ruby[j]{$B9&?}(B}{$B$/(B|$B$8$c$/(B}\quad
+\verb+\ruby[j]{$B<7LLD;(B}{$B$7$A(B|$B$a$s(B|$B$A$g$&(B}+ $\rightarrow$ \ruby[j]{$B<7LLD;(B}{$B$7$A(B|$B$a$s(B|$B$A$g$&(B}
+\item A \verb+|+ symbol in a ruby string denotes the boundary of reading for each kanji
+(\ie\ $B9&(B = $B$/(B and $B?}(B = $B$8$c$/(B).
+It is not needed in group ruby.
+\item Comparison of typeset results:
+\begin{quote}\begin{tabular}{ll@{\ }l@{\ }c*3{@{\quad}c}}
+Mono & (\verb+\ruby[m]{$B>.H7(B}{$B$3(B|$B$P$H(B}+) & $\rightarrow$
+ & \ruby[m]{$B>.H7(B}{$B$3(B|$B$P$H(B}
+ & \ruby[m]{$Bs5ry(B}{$B$;$-(B|$B$l$$(B}
+ & \ruby[m]{$BMkD;(B}{$B$i$$(B|$B$A$g$&(B}
+ & \ruby[m]{$B1m(B}{$B$D$P$a(B}
+\\
+Group & (\verb+\ruby[g]{$B>.H7(B}{$B$3$P$H(B}+) & $\rightarrow$
+ & \ruby[g]{$B>.H7(B}{$B$3$P$H(B}
+ & \ruby[g]{$Bs5ry(B}{$B$;$-$l$$(B}
+ & \ruby[g]{$BMkD;(B}{$B$i$$$A$g$&(B}
+ & \ruby[g]{$B1m(B}{$B$D$P$a(B}
+\\
+Jukugo & (\verb+\ruby[j]{$B>.H7(B}{$B$3(B|$B$P$H(B}+) & $\rightarrow$
+ & \ruby[j]{$B>.H7(B}{$B$3(B|$B$P$H(B}
+ & \ruby[j]{$Bs5ry(B}{$B$;$-(B|$B$l$$(B}
+ & \ruby[j]{$BMkD;(B}{$B$i$$(B|$B$A$g$&(B}
+ & \ruby[j]{$B1m(B}{$B$D$P$a(B}
+\end{tabular}\end{quote}
+Usually When a jukugo has per-character reading then jukugo ruby
+(\Opt{j}) is preferred, otherwise (\Opt{g}) is.
+If you particularly intend to show the per-character reading
+for a jukugo, you might use the \Opt{m} option.
+Note that all of \Opt{m}, \Opt{g} and \Opt{j} lead to
+the same result for ruby to a single kanji.
+\item You can give a default value of option
+using the \verb+\rubysetup+ command;
+\verb+\rubysetup{g}\ruby{$B737\(B}{$B$7$c$b(B}+ is
+equivalent to \verb+\ruby[g]{$B737\(B}{$B$7$c$b(B}+.
+The ``default of default'' is \Opt{|cjPeF|}.
+\end{itemize}
+
+\subsection{Intrusion/Protrusion}
+
+\begin{itemize}
+\item Control of ruby intrusion:
+\begin{center}\begin{tabular}{ll@{\ }l@{\ }c*2{@{\quad}c}}
+No intrusion & \verb+$B$3$N(B\ruby[|-|]{$Bs'(B}{$B$+$5$5$.(B}$B$N(B+ & $\rightarrow$
+ & $B$3$N(B\ruby[|-|]{$Bs'(B}{$B$+$5$5$.(B}$B$N(B
+ & $B$3$N(B\ruby[|-|]{$BsA(B}{$B$3$&$N$H$j(B}$B$N(B
+ & $B$3$N(B\ruby[|-|]{$B1-(B}{$B$&(B}$B$N(B
+\\
+Small intrusion & \verb+$B$3$N(B\ruby[(-)]{$Bs'(B}{$B$+$5$5$.(B}$B$N(B+ & $\rightarrow$
+ & $B$3$N(B\ruby[(-)]{$Bs'(B}{$B$+$5$5$.(B}$B$N(B
+ & $B$3$N(B\ruby[(-)]{$BsA(B}{$B$3$&$N$H$j(B}$B$N(B
+ & $B$3$N(B\ruby[(-)]{$B1-(B}{$B$&(B}$B$N(B
+\\
+Big intrusion & \verb+$B$3$N(B\ruby[<->]{$Bs'(B}{$B$+$5$5$.(B}$B$N(B+ & $\rightarrow$
+ & $B$3$N(B\ruby[<->]{$Bs'(B}{$B$+$5$5$.(B}$B$N(B
+ & $B$3$N(B\ruby[<->]{$BsA(B}{$B$3$&$N$H$j(B}$B$N(B
+ & $B$3$N(B\ruby[<->]{$B1-(B}{$B$&(B}$B$N(B
+\end{tabular}\end{center}
+\item If you require ``ruby output may intrude to kana but not to kanji,''
+then you might want to do ``\verb+$B$3$N(B\ruby[<-|]{$Bs'(B}{$B$+$5$5$.(B}$BEy(B+''
+to get ``$B$3$N(B\ruby[<-|]{$Bs'(B}{$B$+$5$5$.(B}$BEy(B.''
+\item To specify a basic mode (\Opt{m}/\Opt{g}/\Opt{j})
+and intrusion at a time, you can use option strings
+such as \Opt{|g|} and \Opt{|m>}.
+In fact, the symbol \Opt{-} works as placeholder
+for basic mode and means the use of default value.
+\item Control of ruby protrusion:
+the string \Opt{||} supresses the protrusion.
+\begin{quote}
+\begin{lrbox}{\myexample}
+\small$\leftarrow$ \verb+\ruby[||->]{$B?}(B}{$B$9$:$a(B}+
+\end{lrbox}
+\fbox{\parbox{.42\linewidth}{%
+\ruby[||->]{$B?}(B}{$B$9$:$a(B}$B$N!D(B
+\quad \usebox{\myexample}%
+\rule{0pt}{12pt}\\
+$B%$%s%3$N(B
+}}\quad vs.\quad
+\begin{lrbox}{\myexample}
+\small$\leftarrow$ \verb+\ruby[|->]{$B?}(B}{$B$9$:$a(B}+
+\end{lrbox}
+\fbox{\parbox{.42\linewidth}{%
+\ruby[|->]{$B?}(B}{$B$9$:$a(B}$B$N!D(B
+\quad \usebox{\myexample}%
+\rule{0pt}{12pt}\\
+$B%$%s%3$N(B
+}}
+\end{quote}
+\end{itemize}
+
+\subsection{More Commands}
+
+\begin{itemize}
+\item \verb+\aruby+: attaches ruby to an alphabet (non-CJK) string.
+\par\noindent\Eg\quad
+\verb+\aruby{Get out}{$B%2%i%&%C(B}!+ $\rightarrow$
+ \aruby{Get out}{$B%2%i%&%C(B}!
+\item \verb+\rubyfontsetup+: specifies the font used for ruby output.
+For example, when you want to attach mincho-font ruby
+to gothic-font kanji string you can do as follows:
+\par\noindent
+{\small
+\verb+\rubyfontsetup{\mcfamily}$B$3$N(B{\gtfamily \ruby[j]{$BL@D+BN(B}{$B$_$s(B|$B$A$g$&(B|$B$?$$(B}}+}
+$\rightarrow$
+{\rubyfontsetup{\mcfamily}$B$3$N(B{\gtfamily \ruby[j]{$BL@D+BN(B}{$B$_$s(B|$B$A$g$&(B|$B$?$$(B}}}
+\end{itemize}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/platex/pxrubrica/pxrubrica.pdf b/Master/texmf-dist/doc/platex/pxrubrica/pxrubrica.pdf
new file mode 100644
index 00000000000..bce647153a6
--- /dev/null
+++ b/Master/texmf-dist/doc/platex/pxrubrica/pxrubrica.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/platex/pxrubrica/sample/test-jlreq.pdf b/Master/texmf-dist/doc/platex/pxrubrica/sample/test-jlreq.pdf
new file mode 100644
index 00000000000..419f582dce6
--- /dev/null
+++ b/Master/texmf-dist/doc/platex/pxrubrica/sample/test-jlreq.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/platex/pxrubrica/sample/test-jlreq.tex b/Master/texmf-dist/doc/platex/pxrubrica/sample/test-jlreq.tex
new file mode 100644
index 00000000000..0bc02754187
--- /dev/null
+++ b/Master/texmf-dist/doc/platex/pxrubrica/sample/test-jlreq.tex
@@ -0,0 +1,109 @@
+\documentclass{jsarticle}
+\usepackage{otf}
+\usepackage{plext}
+\usepackage{pxrubrica}
+\rubysetup{<j>} % nꃋrŁAאڕɔp܂ł̂‚̂Ƃ
+ % \rubysetup ̂(pbP[W)l |cj| ł
+\rubyintergap{0.04} % rƐe̊Ԃ̋(l 0)
+\begin{document}
+
+\begin{center}
+%======================================= cg
+\begin{minipage}<t>{20zw}
+%--------------------------------------- 3.3.1
+\ruby{Nq}{|}\ruby{a}{}\ruby{}{ǂ}B\par
+%%%% mr(IvV=m)
+ % e \CID{7674} (qrّ̎)ꕶƈ { } Kv
+\ruby[m]{l}{Ђ}\ruby[m]{q}{}\ruby[m]{{\CID{7674}}}{}܂\par
+\ruby[m]{S}{|}\ruby[m]{p}{ق|}\ruby[m]{Î}{悤|}B\par
+%%%% nꃋr(IvV=j)
+\ruby[j]{S}{|}\ruby[j]{p}{ق|}\ruby[j]{Î}{悤|}B\par
+\ruby[j]{꒬}{||悤}\quad
+ % ׂ̕ɐiĂ͂ȂɁq|r
+\ruby[j|]{}{|}\ruby[|j]{}{悤}\par
+%%%% O[vr(IvV=g)
+\ruby[g]{z}{}\quad \ruby[g]{}{‚}\quad \ruby[g]{c}{Ȃ}\par
+\rubysetup{g} % lO[vrɕύX
+\ruby{E}{C^[tG[X}\quad \ruby{}{AW[}\quad
+\ruby{ڋq}{NCAg}\quad \ruby{͌^}{f}\par
+\ruby{ҏW}{{editor}}\quad \ruby{{editor}}{GfB^[}\par
+\rubysetup{j} % lnꃋrɖ߂
+%--------------------------------------- 3.3.3
+\ruby{}{̂ڂ}\quad \ruby{ҎO}{|ւ||}\par
+ % Or͖Ή
+\begin{quote} % 傫ȕTCYł̗
+ \LARGE\rubysizeratio{0.375} % kύX(0.5)
+ \ruby{ҎO}{|ւ||}
+\end{quote}
+%--------------------------------------- 3.3.4
+%%%% r(\truby ) (O[vr̂)
+\truby{}{ƂȂ}{‚}
+\par\medskip % r͖̍̂ł̂܂܂ƎsƏdȂ
+\rubysetup{m} %------------------------- 3.3.5
+\ruby{}{₭}\par
+%%%% t(IvV=c)͊
+Ŗʂ\ruby{n}{}\quad
+%%%% t(IvV=h)
+Ŗʂ\ruby[h]{n}{}\par
+\ruby{}{Ƃ}\par
+ % q||r̒[悤ɂȂG q|rƂ̈Ⴂɒ
+\ruby[||-]{{}{}\quad \ruby[-||]{{}{}\par
+\ruby[||-]{{}{}\quad \ruby[|-|]{{}{}\par
+\rubysetup{g} %------------------------- 3.3.6
+\ruby{q}{R[fcNX}\par
+\rubysetup{j} %------------------------- 3.3.7
+\ruby{XJ}{|䂤}\quad \ruby{ؕ|}{|}\par
+\ruby[h]{XJ}{|䂤}\quad \ruby[h]{ؕ|}{|}\par
+\ruby{V}{䂤|}\quad \ruby{}{|悤}\quad \ruby{A}{悤|}\par
+\ruby{}{|悤}\quad \ruby{ے}{悤|悤}\par
+% un̍\l@v͔Ή
+% nꃋrŝ́uvcc
+\end{minipage}
+\par %================================== g
+%--------------------------------------- 3.3.1
+\ruby{Nq}{|}\ruby{a}{}\ruby{}{ǂ}B\par
+\ruby[g]{ҏW}{{editor}}\quad \ruby[g]{{editor}}{GfB^[}\par
+\rubysetup{m} %------------------------- 3.3.5
+Ŗʂ\ruby{n}{}\par % gł [h] ͎gps
+\ruby{}{Ƃ}\par
+\rubysetup{g} %------------------------- 3.3.6
+\ruby{q}{R[fcNX}\par
+\ruby{͌^}{f}\quad \ruby{p}{CZX}\par
+{\rubystretchprop{0}{1}{0}% 擪E𑵂
+\ruby{͌^}{f}\quad \ruby{p}{CZX}}\par
+\ruby{Ȃ̐ꑜ}{rG^}\par % Iɒ
+\ruby{ڋq}{NCAg}\quad \ruby{E}{C^[tG[X}\par
+{\rubystretchprop{0}{1}{0}% 擪E𑵂
+\ruby{ڋq}{NCAg}\quad \ruby{E}{C^[tG[X}}\par
+\rubysetup{j} %------------------------- 3.3.7
+\ruby{XJ}{|䂤}\quad \ruby{ؕ|}{|}\par
+\end{center}
+%
+\pagebreak
+%
+\begin{center}
+%======================================= cg
+\begin{minipage}<t>{20zw}
+%--------------------------------------- 3.3.8
+\rubysetup{<->} % rSp܂ł̂̂lƂ
+\ruby{l}{Ђ}\ruby{}{}\ruby{}{}\ruby{c}{̂}\par
+̕ɂ\ruby{}{ւ}E\ruby{}{ނ}E\ruby{r}{₭}E\ruby{}{‚}\par
+̕ɂ\ruby{}{ւ}A\ruby{}{ނ}A\ruby{r}{₭}A\ruby{}{‚}\par
+\newcommand*{\\}{\CID{7642}} % \CID{...} }Nɂ { } svɂȂ
+\ruby{\\}{킳}̍DȐl\ruby{}{ӂƂ}悭A\ruby{w}{Ђ̂}\par
+̕ɂ́u\ruby{}{ւ}vu\ruby{}{ނ}vu\ruby{r}{₭}vu\ruby{}{‚}v\par
+\ruby[-|]{\\}{킳}DȐl\ruby[-|]{}{ӂƂ}悭A\ruby[-|]{w}{Ђ̂}ނ\par
+\rubysetup{(-)} % rp܂ł̂̂lƂ
+\ruby{\\}{킳}̍DȐl\ruby{}{ӂƂ}悭A\ruby{w}{Ђ̂}\par
+\ruby{\\}{킳}DȐl\ruby{}{ӂƂ}悭A\ruby{w}{Ђ̂}ނ\par
+\rubysetup{<->} % rSp܂łɖ߂
+\ruby{a}{݂}RSTUVWXOPQRSTUVWX
+PQRSTUiWBjPQRSTUVWX\ruby{a}{݂}PQRcc\par
+{\gtfamily $\downarrow$ ͏C`LĂ܂}\par
+ % ‚܂\ߍsEsɗ邱Ƃzē͂ςĂ
+\ruby[||g|]{}{ANZT[}TUVWXOPQRSTUVWXO
+PQRSTUVWXOPQRSTU\ruby[|g||]{}{ANZT[}PQRcc\par
+\end{minipage}
+\end{center}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/platex/pxrubrica/sample/test-sf.pdf b/Master/texmf-dist/doc/platex/pxrubrica/sample/test-sf.pdf
new file mode 100644
index 00000000000..dd272273a7d
--- /dev/null
+++ b/Master/texmf-dist/doc/platex/pxrubrica/sample/test-sf.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/platex/pxrubrica/sample/test-sf.tex b/Master/texmf-dist/doc/platex/pxrubrica/sample/test-sf.tex
new file mode 100644
index 00000000000..697340b1403
--- /dev/null
+++ b/Master/texmf-dist/doc/platex/pxrubrica/sample/test-sf.tex
@@ -0,0 +1,116 @@
+\documentclass{jsarticle}
+\usepackage{otf}
+\usepackage{plext}
+\usepackage{pxrubrica}
+\rubysetup{<->} % i
+% \rubyintergap 0 ̂܂
+\begin{document}
+
+\begin{center}
+\begin{minipage}<t>{20zw}
+%--------------------------------------- 10.1
+%% tr
+\rubysetup{j}% nꃋrɂ
+ckA\ruby{R}{䂤|䂤}Ac\quad
+cA\ruby[|-|]{}{ق}\ruby[|-]{}{܂}ɁAc\par
+% 炭Oɂ͐io悢낤
+cA\ruby[-|]{}{ق}\ruby[|-]{}{܂}ɁAc\par
+% mr
+\ruby[m]{H}{ق|Ƃ}\quad \ruby[m]{}{Ƃ|҂}\quad \ruby[m]{}{Ђ|}\par
+%--------------------------------------- 10.2
+%% tr
+\rubysetup{hm}% tmrɂ
+% {pbP[Wł́Aut(h)v́ur̕Zvꍇɂ̂݉eB
+% urv̓ˏo̐́q||rōsB
+ckA\ruby[||-]{R}{䂤|䂤}Ac\quad
+cA\ruby[||-|]{}{ق}\ruby[|-]{}{܂}ɁAc\par
+% V݂ꂽugt(H)v[h𗘗p
+\rubysetup{H}% gt
+ckA\ruby{R}{䂤|䂤}Ac\quad
+cA\ruby[-|]{}{ق}\ruby{}{܂}ɁAc\par
+% nꃋr vs mr
+\rubysetup{cj}% tnꃋrɂ
+\ruby[||-]{R}{䂤|䂤}\quad
+\ruby[||m]{R}{䂤|䂤}\par
+%--------------------------------------- 10.3
+\ruby{b}{|₤||}\quad
+\ruby[m]{b}{|₤||}\par
+% {pbP[Wł̗͖͂NȂ
+\ruby[g]{b}{ƁS}\par
+% uFv̂悤ȏnꃋrzuɂ͔ΉȂ̂ŁA
+% Oˏo֎~KXpđΏ邵Ȃ
+\ruby[|m|]{R}{|}\ruby[||m>]{}{₤}\quad
+\ruby[|m|]{R}{|}\ruby[||m)]{}{₤}\par
+\ruby[|m|]{R}{|}\ruby[||m|]{}{₤}\quad
+\ruby[<->]{R}{||₤}\par
+% ̏ꍇAugtvłł
+\ruby[Hm>]{R}{||₤}\quad
+\ruby[Hm)]{R}{||₤}\par
+% eϓ}~(E)pΏ@
+\ruby[||gE>]{R}{܂₤}\quad
+\ruby[||gE)]{R}{܂₤}\par
+%--------------------------------------- 10.4
+\begin{flushleft} % jsarticle Ȃ̂ŘaXP[͖ 0.925
+\fontsize{20}{25}\selectfont % e 20pt
+\rubysizeratio{0.25}\ruby{R}{䂤|䂤}\quad % r 5pt
+\rubysizeratio{0.5}\ruby{R}{䂤|䂤}\quad % r 10pt
+\rubysizeratio{0.45}\ruby{R}{䂤|䂤}\par % r 9pt
+% r̃TCYOɂ wvxł́uOrvł͂Ȃ
+\rubysizeratio{0.333}\ruby{R}{䂤|䂤}\quad % r 6.66pt
+\end{flushleft}
+\end{minipage}
+\par
+\begin{minipage}<t>{20zw}
+%--------------------------------------- 11.1
+% {pbP[Wł͏Ƀr͍Ȃ̂Ƃ
+\frame{\parbox{19zw}{%
+\ruby{{}{|ڂ}\ruby{׉}{|}\ruby{O}{˂|Ԃ}
+\ruby{i}{Ԃ|}\ruby{}{}A\ruby{@}{ɂ|}%
+\ruby[|-]{l}{₤|ɂ}A͂߂ꂯB
+}}
+\par\medskip
+%--------------------------------------- 11.2
+\frame{\parbox{19zw}{%
+\rubysetup{h}%
+\ruby{}{}Ƃ\ruby{x}{||Ƃ}\ruby{H}{|}ƂA
+\ruby{l}{܂|т}\ruby{h}{}\ruby{}{|}
+\ruby{o}{}\ruby{}{}肯ƂȂB
+\ruby{}{}\ruby{}{܂}\ruby{}{}ɁAƂ\ruby{}{}䂭
+قǂɁA\ruby{}{ӂ}Ђ낰邪Ƃ\ruby{L}{|Ђ}ɂȂʁB
+}}
+\par\medskip
+%--------------------------------------- 11.3(s̒tr)
+\frame{\parbox{15zw}{%
+PQRSTUVWXOPQRST\par
+% i̒̏ꍇ
+\setlength{\parindent}{1zw} % iLɂ
+% ! w肷ƒiłiLɂȂ
+% ! ̂Ȃ <m |m ƓʂɂȂ
+\ruby[<!m]{}{͂܂||}̕ς͖́c\par
+\ruby[|m]{}{͂܂||}̕ς͖́c\par
+}}\par
+% s̒̏ꍇ
+% pIɂ͍sŔʂłKv邪͓̎
+\frame{\parbox{10zw}{%
+PQRSTUVWXO
+\ruby[<m>]{}{͂܂}͕ľÏӂXO %+ ̏ꍇAO
+\ruby[(m)]{}{͂܂}͕ľÏӂXO %+ <, (, | ̂ǂɂĂ
+\ruby[|m|]{}{͂܂}͕ľÏӂXO %+ iłȂ̂ ! ֌W
+\ruby[||m>]{}{͂܂}͕ľÏӂXO
+\ruby[||m)]{}{͂܂}͕ľÏӂXO
+\ruby[||m|]{}{͂܂}͕ľÏӂXO
+% s킹̒̂ߋ󂫗ʂROĂ邱Ƃɒ
+}}\par
+%--------------------------------------- 11.4(s̃r)
+\frame{\parbox{10zw}{%
+PQRSTUVWXO
+iPQRST\ruby[<m>]{}{͂܂}%
+PQRST\ruby[(m)]{}{͂܂}%
+PQRST\ruby[|m|]{}{͂܂}%
+PQRST\ruby[<m||]{}{͂܂}%
+PQRST\ruby[(m||]{}{͂܂}%
+PQRST\ruby[|m||]{}{͂܂}%
+}}\par
+\end{minipage}
+\end{center}
+\end{document}
diff --git a/Master/texmf-dist/doc/platex/pxrubrica/sample/test-toc.pdf b/Master/texmf-dist/doc/platex/pxrubrica/sample/test-toc.pdf
new file mode 100644
index 00000000000..f4963e3381e
--- /dev/null
+++ b/Master/texmf-dist/doc/platex/pxrubrica/sample/test-toc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/platex/pxrubrica/sample/test-toc.tex b/Master/texmf-dist/doc/platex/pxrubrica/sample/test-toc.tex
new file mode 100644
index 00000000000..49e224f3ffe
--- /dev/null
+++ b/Master/texmf-dist/doc/platex/pxrubrica/sample/test-toc.tex
@@ -0,0 +1,19 @@
+\documentclass{jsarticle}
+\usepackage{pxrubrica}
+\rubysetup{<j>}
+\begin{document}
+
+\tableofcontents
+
+\section{\ruby[-|]{{}{|ق|}\ruby[|-|]{@}{|ۂ}\ruby[|-]{O}{|Ԃ}}
+ % óupvłȂ̂ŌォȂÂł ;-)
+
+\ruby[-|]{{}{|ق}\ruby[|-]{}{|݂}́A\ruby{}{|}\ruby{I}{|}ꂽ\ruby{}{|킢}ɂ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