From: Hironori Kitagawa Date: Sat, 18 Sep 2021 09:39:23 +0000 (+0900) Subject: doc X-Git-Tag: 20210918.0~1 X-Git-Url: http://git.osdn.jp/view?a=commitdiff_plain;h=cdd07181996b888404707c52e588bbbf1f790ac4;p=luatex-ja%2Fluatexja.git doc --- diff --git a/doc/luatexja-en.pdf b/doc/luatexja-en.pdf index 6d9f8a3..146c837 100644 Binary files a/doc/luatexja-en.pdf and b/doc/luatexja-en.pdf differ diff --git a/doc/luatexja-ja.pdf b/doc/luatexja-ja.pdf index 4ca3182..299097d 100644 Binary files a/doc/luatexja-ja.pdf and b/doc/luatexja-ja.pdf differ diff --git a/doc/luatexja-ruby.pdf b/doc/luatexja-ruby.pdf index 2ca312a..e3cea8d 100644 Binary files a/doc/luatexja-ruby.pdf and b/doc/luatexja-ruby.pdf differ diff --git a/doc/luatexja-ruby.tex b/doc/luatexja-ruby.tex index a01994f..3148d1d 100644 --- a/doc/luatexja-ruby.tex +++ b/doc/luatexja-ruby.tex @@ -45,6 +45,31 @@ \DeclareFontShape{JY3}{mc}{mc}{n}{<-> [0.92487] HaranoAjiMincho-Regular:extend=0.67;jfm=ujisc33}{} +%%%% \ltjruby 内に \texorpdfstring + | 除去を仕込む +\RequirePackage{xparse} +\makeatletter +\def\removevert#1{\if\noexpand#1|% + \expandafter\expandafter\expandafter\@firstofone\expandafter{% + \else\ifnum0=1}\fi#1% + \ifx#1\relax\expandafter\@gobble% + \else\expandafter\@firstofone + \fi{\expandafter\@firstofone + \fi + \removevert}} +\makeatother +\ExplSyntaxOn +\cs_set_eq:NN \myorigltjruby \ltjruby +\DeclareExpandableDocumentCommand {\ltjruby} { O{} m m } {% + \texorpdfstring { + \exp_not:n { \myorigltjruby[#1]{#2}{#3} } + } { + \removevert #2 \relax + } +} +\cs_set_eq:NN \ruby \ltjruby +\ExplSyntaxOff +%%%% + \title{\textsf{luatexja-ruby}パッケージ} \author{\LuaTeX-jaプロジェクトチーム} \date{\texttt{\csname ver@luatexja-ruby.sty\endcsname}(\today)}