texlive[74638] Master: outoruby (15mar25)
commits+karl at tug.org
commits+karl at tug.org
Sat Mar 15 20:58:41 CET 2025
Revision: 74638
https://tug.org/svn/texlive?view=revision&revision=74638
Author: karl
Date: 2025-03-15 20:58:41 +0100 (Sat, 15 Mar 2025)
Log Message:
-----------
outoruby (15mar25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/outoruby/README.md
trunk/Master/texmf-dist/doc/latex/outoruby/outoruby.pdf
trunk/Master/texmf-dist/source/latex/outoruby/outoruby.dtx
trunk/Master/texmf-dist/tex/latex/outoruby/outoruby.sty
trunk/Master/tlpkg/libexec/ctan2tds
Modified: trunk/Master/texmf-dist/doc/latex/outoruby/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/outoruby/README.md 2025-03-15 19:57:33 UTC (rev 74637)
+++ trunk/Master/texmf-dist/doc/latex/outoruby/README.md 2025-03-15 19:58:41 UTC (rev 74638)
@@ -1,10 +1,12 @@
# The outoruby package
-This package provides the \outoruby command, which support line breaks when typesetting ruby anotations.
-It automatically switches between appropriate rubby form at the beginning and end of lines according to JIS X 4051 and JLReq.
+日本語の情報はドキュメント(`outoruby.pdf`)を参照。
-This package depends on pxrubrica and supports any engine that it supports.
+This package provides the `\outoruby` command, which supports line breaks when typesetting ruby anotations.
+It automatically switches between appropriate ruby form at the beginning and end of lines according to JIS X 4051 and JLReq.
+This package depends on pxrubrica and supports any engine that is supported by that package.
+
For details, see outoruby.pdf (Japanese).
## Installation
@@ -17,6 +19,8 @@
This project is distributed under the [GNU General Public License Version 3](https://www.gnu.org/licenses/gpl-3.0.html).
-Repository: https://codeberg.org/kkotsi/outoruby
+Repository: [https://codeberg.org/kkotsi/outoruby](https://codeberg.org/kkotsi/outoruby)
+CTAN: [https://ctan.org/pkg/outoruby](https://ctan.org/pkg/outoruby)
-README.md v0.0.0
\ No newline at end of file
+README.md v0.0.1
+
Modified: trunk/Master/texmf-dist/doc/latex/outoruby/outoruby.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/outoruby/outoruby.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/outoruby/outoruby.dtx 2025-03-15 19:57:33 UTC (rev 74637)
+++ trunk/Master/texmf-dist/source/latex/outoruby/outoruby.dtx 2025-03-15 19:58:41 UTC (rev 74638)
@@ -4,12 +4,13 @@
%% This file is distributed under the GNU General Public Licence Version 3.
%% https://www.gnu.org/licenses/gpl-3.0.html
%% Repository: https://codeberg.org/kkotsi/outoruby
+%% CTAN: https://ctan.org/pkg/outoruby
%
% The outoruby package: Ruby with line break support for Japanese text.
%
-% This package provides the \outoruby command, which support line breaks when typesetting ruby anotations.
-% It automatically switches between appropriate rubby form at the beginning and end of lines according to JIS X 4051 and JLReq.
-% This package depends on pxrubrica and supports any engine that it supports.
+% This package provides the \outoruby command, which supports line breaks when typesetting ruby anotations.
+% It automatically switches between appropriate ruby form at the beginning and the end of lines according to JIS X 4051 and JLReq.
+% This package depends on pxrubrica and supports any engine that is supported by that package.
%
% To generate outoruby.sty, run the following command:
% tex outoruby.dtx
@@ -42,7 +43,7 @@
%% Right brace \} Tilde \~}
%%
% \makeatletter
-% \CheckSum{1403}
+% \CheckSum{1407}
%
% \iffalse
%<*ins>
@@ -72,7 +73,7 @@
%<pkg>\NeedsTeXFormat{LaTeX2e}
%<pkg>\ProvidesPackage{outoruby}
%<*pkg|driver>
- [2025/03/02 v0.0.0 ]
+ [2025/03/14 v0.0.1 ]
%</pkg|driver>
% \end{macrocode}
%
@@ -154,7 +155,8 @@
% \RecordChanges
% \def\@@generalname:\ {}^^A 危険
% \def\generalname{\protect\@@generalname}
-% \changes{v0.0.0}{2025/03/02}{初版}
+% \changes{v0.0.0}{2025/03/02}{初版。}
+% \changes{v0.0.1}{2025/03/15}{軽微な修正。}
% \DoNotIndex{
% \advance, \begingroup, \csname, \def, \edef, \else, \endgroup, \endcsname, \expandafter,
% \fi, \if, \ifnum, \ifx, \let, \noexpand,
@@ -333,7 +335,7 @@
% \DeclareRobustCommand\cls[1]{\file{#1}}
%
% \newcommand\globstar{^^A
-% \texttt{\textit{\large\lower.5ex\hbox{*}}}}
+% \eghostguarded{\texttt{\textit{\large\lower.5ex\hbox{*}}}}}
%
% \newcommand\jkrubypkg{^^A
% 画期的\ajSnowman なルビパッケージ}
@@ -428,7 +430,7 @@
% \@@argbrace\@@result}
% \def\@@result#1{^^A
% \headitem{\texttt{\cs#1} \textrightarrow}\c@@arg}
-% \newcommand*\intl[1]{^^A
+% \newcommand*\intl{^^A
% \@@argbrace\@@intl}
% \def\@@intl#1{^^A
% \headitem{\texttt{\cs#1}:}\c@@arg}
@@ -447,7 +449,7 @@
% \let\@makefntext\@@@@@makefntext
% \def\@@fnmark{}^^A
% \footnote{リポジトリは\url{https://codeberg.org/kkotsi/outoruby}。}}^^A
-% \date{\filedate}
+% \date{\filedate\ \fileversion}
% \begin{savenotes}
% \HyOrg at maketitle
% \end{savenotes}
@@ -1140,6 +1142,7 @@
% \inarg1 <n>
% \begin{flushleft}
% \begin{tabular}{ll}
+% \multicolumn{2}{c}{\cs{@getpen}} \\
% \toprule
% <n> & value \\ \midrule
% 0 & \cs\z@ \\
@@ -1150,7 +1153,13 @@
% \end{tabular}
% \end{flushleft}
% \begin{macrocode}
-\def\outorb at getpen{\@getpen}
+\def\outorb at getpen#1{%
+ \ifnum#1>3
+ \outorb at iM
+ \else
+ \@getpen{#1}%
+ \fi
+}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\outorb at protected}
@@ -1345,13 +1354,13 @@
}
% \end{macrocode}
% \begin{macro}{\outorb at disc@break at check@error}
-% \par 完全展開可能なエラー。expl3の\cs{msg\_expandable\_error}あたりの実装を参考にした。
+% \par 完全展開可能なエラー。expl3の\cs{msg\_expandable\_error:}\globstar あたりの実装を参考にした。
% \begin{macrocode}
\def\outorb at tempa#1{%
\def\outorb at disc@break at check@error##1##2##3##4{%
\expandafter\expandafter\expandafter\ltx at carzero\ltx at firstofone{%
- #1##4at line ##3 break twice in p.##1. (##2)}%
- \@nil
+ #1##4at line ##3 break twice in p.##1. (##2)%
+ }\@nil
}%
}
\ltx at LocalExpandAfter\outorb at tempa\csname
@@ -2297,12 +2306,12 @@
\expandafter{\outorb at res}%
}%
}%
+% \end{macrocode}
+% \result\outorb at outorb@mj at makeruby@post at list <post-break_m>
+% \begin{macrocode}
\outorb at pxrr@ifemptyTF{#2}{%
\def\outorb at outorb@mj at makeruby@post at list{}%
}{%
-% \end{macrocode}
-% \result\outorb at outorb@mj at makeruby@post at list <post-break_m>
-% \begin{macrocode}
\edef\outorb at outorb@mj at makeruby@post at list{%
\outorb at outorb@cmd at postbreak
}%
@@ -2636,7 +2645,7 @@
\outorb at protected\def\outorubyhyphenbreakable{
\ltx at ifnextchar[{\outorb at hyphenbreakable}{\outorb at hyphenbreakable[0]}%
}
-\let\outorb at hyphenbreakable\outorubyhyphenbreakable
+\let\outorb at outorubyhyphenbreakable\outorubyhyphenbreakable
% \end{macrocode}
% \begin{flushleft}
% \begin{minipage}{0.5\textwidth}\centering
Modified: trunk/Master/texmf-dist/tex/latex/outoruby/outoruby.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/outoruby/outoruby.sty 2025-03-15 19:57:33 UTC (rev 74637)
+++ trunk/Master/texmf-dist/tex/latex/outoruby/outoruby.sty 2025-03-15 19:58:41 UTC (rev 74638)
@@ -1,5 +1,5 @@
%%
-%% This is file `outoruby.sty', generated on <2025/3/2>
+%% This is file `outoruby.sty', generated on <2025/3/15>
%% with the docstrip utility (v2.6b).
%%
%% The original source files were:
@@ -10,6 +10,7 @@
%% This file is distributed under the GNU General Public Licence Version 3.
%% https://www.gnu.org/licenses/gpl-3.0.html
%% Repository: https://codeberg.org/kkotsi/outoruby
+%% CTAN: https://ctan.org/pkg/outoruby
%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -29,7 +30,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{outoruby}
- [2025/03/02 v0.0.0 ]
+ [2025/03/14 v0.0.1 ]
\def\outorb at pkgname{outoruby}
\def\outorb at err#1{%
\@PackageError\outorb at pkgname{#1}\@ehc
@@ -95,7 +96,13 @@
}
\mathchardef\outorb at MM=20000
\mathchardef\outorb at iM=9999
-\def\outorb at getpen{\@getpen}
+\def\outorb at getpen#1{%
+ \ifnum#1>3
+ \outorb at iM
+ \else
+ \@getpen{#1}%
+ \fi
+}
\pxrr at ifprimitive\protected{% e-TeX
\def\outorb at protected#1#2{%
\protected#1#2%
@@ -196,8 +203,8 @@
\def\outorb at tempa#1{%
\def\outorb at disc@break at check@error##1##2##3##4{%
\expandafter\expandafter\expandafter\ltx at carzero\ltx at firstofone{%
- #1##4at line ##3 break twice in p.##1. (##2)}%
- \@nil
+ #1##4at line ##3 break twice in p.##1. (##2)%
+ }\@nil
}%
}
\ltx at LocalExpandAfter\outorb at tempa\csname
@@ -857,7 +864,7 @@
\outorb at protected\def\outorubyhyphenbreakable{
\ltx at ifnextchar[{\outorb at hyphenbreakable}{\outorb at hyphenbreakable[0]}%
}
-\let\outorb at hyphenbreakable\outorubyhyphenbreakable
+\let\outorb at outorubyhyphenbreakable\outorubyhyphenbreakable
\def\outorb at hyphenbreakable[#1]{%
\outorb at hyphenpenalty@min\hyphenpenalty{\outorb at getpen{#1}}%
\outorb at hyphenpenalty@min\doublehyphendemerits{\outorb at getpen{#1}}%
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2025-03-15 19:57:33 UTC (rev 74637)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2025-03-15 19:58:41 UTC (rev 74638)
@@ -3448,7 +3448,7 @@
'nwafuthesis' => 'xetex',
'nwejm' => 'tex',
'nomentbl' => 'latex -translate-file=empty.tcx', # no 8-bit
- 'outoruby' => 'tex',
+ 'outoruby' => 'etex-answer-y',
'pbsheet' => 'latex', # requires interaction
'pdflscape' => 'etex',
'pdfrender' => 'etex',
More information about the tex-live-commits
mailing list.