texlive[73551] Master: convert-jpfonts (21jan25)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 21 21:47:24 CET 2025


Revision: 73551
          https://tug.org/svn/texlive?view=revision&revision=73551
Author:   karl
Date:     2025-01-21 21:47:24 +0100 (Tue, 21 Jan 2025)
Log Message:
-----------
convert-jpfonts (21jan25)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-langjapanese.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/convert-jpfonts/
    trunk/Master/texmf-dist/doc/latex/convert-jpfonts/README.txt
    trunk/Master/texmf-dist/doc/latex/convert-jpfonts/convert-jpfonts.pdf
    trunk/Master/texmf-dist/doc/latex/convert-jpfonts/convert-jpfonts.tex
    trunk/Master/texmf-dist/tex/latex/convert-jpfonts/
    trunk/Master/texmf-dist/tex/latex/convert-jpfonts/convert-jpfonts.sty
    trunk/Master/tlpkg/tlpsrc/convert-jpfonts.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/convert-jpfonts/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/convert-jpfonts/README.txt	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/convert-jpfonts/README.txt	2025-01-21 20:47:24 UTC (rev 73551)
@@ -0,0 +1,27 @@
+convert-jpfonts - Convert half-width Japanese to full-width beautifully==============================
+version 1.0.1
+
+Licence----------------------------------------------------------------------------------------------
+lppl1.3c
+Copyright (c) 2025- Hugh
+This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or (at your option) any later version.
+The latest version of this license is in
+
+http://www.latex-project.org/lppl.txt
+
+and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or later.
+
+Description------------------------------------------------------------------------------------------
+This style file is designed for converting Japanese half-width characters in full-width characters beautifully. This is useful when alphabet characters don't render properly in a Japanese font.
+
+Contents---------------------------------------------------------------------------------------------
+convert-jpfonts.sty  the main file
+convert-jpfonts.pdf  a user guide attempt
+convert-jpfonts.tex  tex file of convert-jpfonts.pdf
+README.txt           this file
+
+Feedback---------------------------------------------------------------------------------------------
+ishiguro0426 at gmail.com
+(Mail here, please.)
+
+                                                                               Thank you for reading!
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/convert-jpfonts/README.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/convert-jpfonts/convert-jpfonts.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/convert-jpfonts/convert-jpfonts.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/convert-jpfonts/convert-jpfonts.pdf	2025-01-21 20:46:27 UTC (rev 73550)
+++ trunk/Master/texmf-dist/doc/latex/convert-jpfonts/convert-jpfonts.pdf	2025-01-21 20:47:24 UTC (rev 73551)

Property changes on: trunk/Master/texmf-dist/doc/latex/convert-jpfonts/convert-jpfonts.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/convert-jpfonts/convert-jpfonts.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/convert-jpfonts/convert-jpfonts.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/convert-jpfonts/convert-jpfonts.tex	2025-01-21 20:47:24 UTC (rev 73551)
@@ -0,0 +1,203 @@
+\documentclass[dvipdfmx,b5j,10pt]{jsarticle}
+
+\usepackage{mypackage,convert-jpfonts}
+
+\title{\pl{convert-jpfonts.sty}}
+\author{\pl{Hugh}}
+
+\begin{document}
+
+\maketitle
+
+\section{概要}
+
+本パッケージは,日本語文書において「日本語の追加フォントのうち,半角アルファベットが使用できない」という特殊な状況に対処するための成果物です。
+
+プリアンブルで以下のように宣言することで,すべての機能が使用できます。
+
+\br{.5}\begin{itembox}[c]{\texttt{convert-jpfonts.sty}}
+\begin{verbatim}
+\usepackage{convert-jpfonts}
+\end{verbatim}
+\end{itembox}
+
+\warningbox{これはあくまで簡易的かつ一時的な措置を提供するパッケージであり,細かい文書規則や複雑な禁則処理などには対応しきれていません。したがって特殊な環境下での利用以外はあまりおすすめできません。}
+
+\section{基本的な使い方}
+
+\verb|\fonts|の基本的な使い方は,以下の通りです。
+
+\br{.5}\begin{itembox}[c]{\texttt{\textbackslash fonts}}
+\begin{verbatim}
+\fonts{History begins when [...]}
+\end{verbatim}
+\end{itembox}
+\begin{結果}
+\fonts{History begins when men begin to think of the passage of time in terms not of natural processes — the cycle of the seasons, the human life-span — but of a series of specific events in which men are consciously involved and which they can consciously influence. History, says *Burckhardt, is “the break with nature caused by the awakening of consciousness”. History is the long struggle of man, by the exercise of his reason, to understand his environment and to act upon it. But the modern period has broadened the struggle in a revolutionary way. Man now seeks to understand, and to act on, not only his environment but himself; and this has added, so to speak, a new dimension to reason, and a new dimension to history.}
+\end{結果}
+
+\notebox{上例では引数に含まれる半角文字を1文字ずつ個別に取り出し,全角文字に置き換えたのち,空白調整をかけて再びつなぎ合わせています。}
+
+\warningbox%
+  {%
+    \begin{enumerate}[・]
+      \item 二重引用符は「“〜”」のように,全角文字を直打ちする必要があります。
+      \item ダッシュ線「---」は長音記号「ー」でカバーするしかありません。
+      \item 引数に用いることのできるコマンドは,\texttt{\textbackslash quad}や\texttt{\textbackslash }などの空白記号のみです。
+    \end{enumerate}
+  }
+
+しかし明朝体やゴシック体などの基本フォントに対しては,文字間スペースが不自然に空いてしまいます。そこで本パッケージは主に,ゆるい雰囲気の追加フォントの使用を想定しています。
+
+\section{カスタマイズ}
+\subsection{フォント変更}
+
+デフォルトで変更されるゴシック体は,以下のように自由にカスタマイズ可能です。ただし以下の\verb|\fuiji|などは,\verb|\textgt|などと同じ関数型のコマンドであり,自身の環境で定義しておく必要があります。
+
+\br{.5}\begin{itembox}[c]{\texttt{フォントの変更\maru1}}
+\begin{verbatim}
+\fonts[\fuiji]{History begins when [...]}
+\end{verbatim}
+\end{itembox}
+\begin{結果}\chuukigou{$*$}{←}
+\fonts[\fuiji]{History begins when men begin to think of the passage of time in terms not of natural processes ー the cycle of the seasons, the human life-span ー but of a series of specific events in which men are consciously involved and which they can consciously influence. History, says *Burckhardt, is “the break with nature caused by the awakening of consciousness”. History is the long struggle of man, by the exercise of his reason, to understand his environment and to act upon it. But the modern period has broadened the struggle in a revolutionary way. Man now seeks to understand, and to act on, not only his environment but himself; and this has added, so to speak, a new dimension to reason, and a new dimension to history.}
+\end{結果}
+
+\subsection{デフォルトのフォント変更}
+
+フォントを指定せずとも,初めから特定のフォントを適用したい場合は,プリアンブルなどで以下のように宣言しましょう。
+
+\br{.5}\begin{itembox}[c]{\texttt{フォントの変更\maru2}}
+\begin{verbatim}
+\デフォルトフォント{\fuiji}
+\end{verbatim}
+\end{itembox}
+
+\subsection{スペース}%
+
+ふい字以外のフォントを用いると,文字が詰まりすぎたり反対に空きすぎる可能性があります。
+
+取り出した各全角文字間のスペースを変更するには,以下のようにします。
+
+\br{.5}\begin{itembox}[c]{\texttt{スペースの変更}}
+\begin{verbatim}
+\fonts[\kanteiryu]{There is something wrong with my car.}
+\空白調整{.1zw}
+\fonts[\kanteiryu]{There is something wrong with my car.}
+\end{verbatim}
+\end{itembox}
+\begin{結果}
+\fonts[\koin]{There is something wrong with my car.}
+\空白調整{.1zw}
+
+\fonts[\koin]{There is something wrong with my car.}
+\end{結果}
+
+\notebox{上例では,「デフォルトの状態」から「さらに」文字間スペースを全角0.1文字分離すという操作を施しています。}
+
+\newpage
+
+\空白調整{-.1zw}
+
+\section{使用例}
+\subsection{各フォントとの対応一覧}
+
+以下は,デフォルトの空白調整における各フォントとの対応づけ一覧です。
+
+\parindent=0zw
+\begin{multicols}{2}
+\fonts[\mika]{これはmika fontです。}\par%
+\fonts[\fuiji]{これはfuiji fontです。}\par%
+\fonts[\kotori]{これはkotori fontです。}\par%
+\fonts[\makiba]{これはmakiba fontです。}\par%
+\fonts[\sea]{これはsea fontです。}\par%
+\fonts[\himaji]{これはhimaji fontです。}\par%
+\fonts[\seto]{これはseto fontです。}\par%
+\fonts[\aqua]{これはaqua fontです。}\par%
+\fonts[\tare]{これはtare fontです。}\par%
+\fonts[\utsukushi]{これはutsukushi fontです。}\par%
+\fonts[\uzura]{これはuzura fontです。}\par%
+\fonts[\yutapon]{これはyutapon fontです。}\par%
+\fonts[\reiko]{これはreiko fontです。}\par%
+\fonts[\ohisama]{これはohisama fontです。}\par%
+\fonts[\anzu]{これはanzu fontです。}\par%
+\fonts[\azuki]{これはazuki fontです。}\par%
+\fonts[\azukiBold]{これはazuki Bold fontです。}\par%
+\fonts[\yasashisa]{これはyasashisa fontです。}\par%
+\fonts[\yasashisaBold]{これはyasashisa Bold fontです。}\par%
+\fonts[\yasashisaAntique]{これはyasashisa Antique fontです。}\par%
+\fonts[\bokutachi]{これはbokutachi fontです。}\par%
+\fonts[\flopDesign]{これはflopDesign fontです。}\par%
+\fonts[\fontpo]{これはfontpo fontです。}\par%
+\fonts[\FGLovelyGothic]{これはFG Lovely Gothic fontです。}\par%
+\fonts[\FGModernGothic]{これはFG Modern Gothic fontです。}\par%
+\fonts[\FGPopGothic]{これはFG Pop Gothic fontです。}\par%
+\fonts[\FGRetroGothic]{これはFG Retro Gothic fontです。}\par%
+\fonts[\FGZeroGothic]{これはFG Zero Gothic fontです。}\par%
+\fonts[\gyateKizu]{これはgyateKizu fontです。}\par%
+\fonts[\gyateLumi]{これはgyateLumi fontです。}\par%
+\fonts[\hanazome]{これはhanazome fontです。}\par%
+\fonts[\hannari]{これはhannari fontです。}\par%
+\fonts[\jiyucho]{これはjiyucho fontです。}\par%
+\fonts[\kiloji]{これはkiloji fontです。}\par%
+\fonts[\kilojiBold]{これはkiloji Bold fontです。}\par%
+\fonts[\kilojiLight]{これはkiloji Light fontです。}\par%
+\fonts[\kinemaru]{これはkinemaru fontです。}\par%
+\fonts[\pixelMplus]{これはpixel Mplus fontです。}\par%
+\fonts[\riiPop]{これはrii Pop fontです。}\par%
+\fonts[\riiTegaki]{これはrii Tegaki fontです。}\par%
+\fonts[\ruri]{これはruri fontです。}\par%
+\fonts[\shunka]{これはshunka fontです。}\par%
+\fonts[\shunkaB]{これはshunka B fontです。}\par%
+\fonts[\shunkaBB]{これはshunka BB fontです。}\par%
+\fonts[\kachou]{これはkachou fontです。}\par%
+\fonts[\kachouB]{これはkachou B fontです。}\par%
+\fonts[\kachouBB]{これはkachou BB fontです。}\par%
+\fonts[\tsubasa]{これはtsubasa fontです。}\par%
+\fonts[\onryou]{これはonryou fontです。}\par%
+\fonts[\hakidame]{これはhakidame fontです。}\par%
+\fonts[\wadaHosoMaru]{これはwada Hoso Maru fontです。}\par%
+\fonts[\wadaChuMaru]{これはwada Chu Maru fontです。}\par%
+\fonts[\meiryo]{これはmeiryo fontです。}\par%
+\fonts[\meiryoBold]{これはmeiryo Bold fontです。}\par%
+\fonts[\msgothic]{これはmsgothic fontです。}\par%
+\fonts[\YOzStandardKana]{これはYOz Standard Kana fontです。}\par%
+\fonts[\YOzStandardKanaBold]{これはYOz Standard Kana Bold fontです。}\par%
+\fonts[\YOzNewKana]{これはYOz New Kana fontです。}\par%
+\fonts[\YOzNewKanaBold]{これはYOz New Kana Bold fontです。}\par%
+\fonts[\YOzEducationKana]{これはYOz Education Kana fontです。}\par%
+\fonts[\YOzEducationKanaBold]{これはYOz Education Kana Bold fontです。}\par%
+\fonts[\YOzCuteKana]{これはYOz Cute Kana fontです。}\par%
+\fonts[\YOzCuteKanaBold]{これはYOz Cute Kana Bold fontです。}\par%
+\fonts[\YOzAntiqueKana]{これはYOz Antique Kana fontです。}\par%
+\fonts[\YOzAntiqueKanaBold]{これはYOz Antique Kana Bold fontです。}\par%
+\fonts[\YOzMouhitsuKaisho]{これはYOz Mouhitsu Kaisho fontです。}\par%
+\fonts[\YOzMouhitsuKaishoBold]{これはYOz Mouhitsu Kaisho Bold fontです。}\par%
+\fonts[\YOzMouhitsuGyousho]{これはYOz Mouhitsu Gyousho fontです。}\par%
+\fonts[\YOzMouhitsuGyoushoBold]{これはYOz Mouhitsu Gyousho Bold fontです。}\par%
+\fonts[\YOzMouhitsuGyoushoAntique]{これはYOz Mouhitsu Gyousho Antique fontです。}\par%
+\fonts[\YOzMouhitsuGyoushoAntiqueBold]{これはYOz Mouhitsu Gyousho Antique Bold fontです。}\par%
+\fonts[\AoyagiSoseki]{これはAoyagi Soseki fontです。}\par%
+\fonts[\AoyagiKouzanMouhitsu]{これはAoyagi Kouzan Mouhitsu fontです。}\par%
+\fonts[\AoyagiKouzanT]{これはAoyagi KouzanT fontです。}\par%
+\fonts[\AoyagiKouzanGyousho]{これはAoyagi Kouzan Gyousho fontです。}\par%
+\fonts[\AoyagiKouzanSousho]{これはAoyagi Kouzan Sousho fontです。}\par%
+\fonts[\AoyagiKouzanReisho]{これはAoyagi Kouzan Reisho fontです。}%
+\end{multicols}
+
+\subsection{使用例イメージ}
+
+\parindent=1zw
+
+\begin{ascolorbox1}{\fonts[\YOzCuteKanaBold]{Coffee Break}}
+\fonts[\YOzEducationKana]{drownは元々,「溺れさせる」という意味の他動詞として用いられていました。これは}\par\quad\fonts[\YOzEducationKana]{God drowned the girl.→The girl was drowned( by God ).}\\\fonts[\YOzEducationKana]{のように,本来神が主語だったからです。しかしルネサンス期に人が神を殺したために,主体者が人間へと移り変わり,結果自動詞のみが用いられるようになったのです。}\par\fonts[\YOzEducationKana]{そうするとA drowning man will catch at a straw.は,ルネサンス期(14〜16世紀)以降に普及した諺だとわかります。}
+\end{ascolorbox1}
+
+\質問と返信{質問と返信}{\fonts[\hanazome]{「エレベーター」は解答ではliftになっていますが,elevatorではダメなんですか?}}{\fonts[\kotori]{いい質問ですね。liftはイギリスで使われる一方,elevatorはアメリカで用いられる表現なんです。(なのでどちらもOK!)他にも,「ナス」はアメリカ英語でeggplantですが,イギリス英語だとaubergineになります!}}
+
+\begin{基本事項コメント}
+\tsubasa{質問や近況報告など}
+\end{基本事項コメント}
+\fonts[\fuiji]{来週はParisにgirlfriendと旅行に行くので,代講になります!すみません!}\par\fonts[\fuiji]{欲しいお土産とかあったら,ぜひ書いといてください〜!!}
+
+\end{document}%
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/convert-jpfonts/convert-jpfonts.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/convert-jpfonts/convert-jpfonts.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/convert-jpfonts/convert-jpfonts.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/convert-jpfonts/convert-jpfonts.sty	2025-01-21 20:47:24 UTC (rev 73551)
@@ -0,0 +1,115 @@
+\NeedsTeXFormat{LaTeX2e}%
+\ProvidesPackage{convert-jpfonts}[2025/1/19,Ver1.0.1]%
+
+\RequirePackage{ifthen,xparse,calc}%
+
+\newcommand{\@空白調整}{\hspace{0pt}\nolinebreak[4]\hspace{-.35zw+\@@空白調整}}%
+\newcommand{\@@空白調整}{0zw}%
+\newcommand{\空白調整}[1]{\def\@@空白調整{#1}}%
+\newcommand{\@fonts}[1]{\bgroup\@fonts at zap@space#1 \@empty\relax\egroup}%
+\newcounter{全角文字数}%
+\setcounter{全角文字数}{0}%
+\newcounter{半角文字数}%
+\setcounter{半角文字数}{0}%
+\newcounter{全半角交代}%
+\setcounter{全半角交代}{0}%
+\newcommand{\文頭欧文判定}%
+  {%
+    \stepcounter{半角文字数}%
+    \ifthenelse{\the全角文字数=0\AND\the半角文字数=1}{\hspace{.35zw-\@@空白調整}}{}%
+    \ifthenelse{\the全角文字数>0\AND\the全半角交代=1}{\hspace{.35zw-\@@空白調整}}{}%
+    \setcounter{全半角交代}{0}%
+  }%
+\newcommand{\@fonts at han@zen}[1]%
+  {%
+    \if#1,{\文頭欧文判定\@空白調整\hspace{.12zw},\hspace{-.25zw}}%
+    \else\if#1.{\文頭欧文判定\@空白調整\hspace{.1zw}.\hspace{-.25zw}}%
+    \else\if#1'{\文頭欧文判定\@空白調整\hspace{.08zw}’\ihspace{-1zw}}%
+    \else\if#1“{\文頭欧文判定\@空白調整“\hspace{.1zw}}%
+    \else\if#1”{\文頭欧文判定\@空白調整\hspace{.08zw}”\hspace{-.4zw}}%
+    \else\if#1*{\文頭欧文判定\@空白調整${}^{\text{*}}$}%
+    \else\if#1;{\文頭欧文判定\@空白調整;\hspace{.1zw}}%
+    \else\if#1:{\文頭欧文判定\@空白調整:\hspace{.1zw}}%
+    \else\if#1?{\文頭欧文判定\@空白調整?\hspace{-.6zw}}%
+    \else\if#1!{\文頭欧文判定\@空白調整!\hspace{-.6zw}}%
+    \else\if#1-{\文頭欧文判定\@空白調整 ー}%
+    \else\if#1({\文頭欧文判定\@空白調整 (}%
+    \else\if#1){\文頭欧文判定\@空白調整 )}%
+    \else\if#10{\文頭欧文判定\@空白調整 0}%
+    \else\if#11{\文頭欧文判定\@空白調整 1}%
+    \else\if#12{\文頭欧文判定\@空白調整 2}%
+    \else\if#13{\文頭欧文判定\@空白調整 3}%
+    \else\if#14{\文頭欧文判定\@空白調整 4}%
+    \else\if#15{\文頭欧文判定\@空白調整 5}%
+    \else\if#16{\文頭欧文判定\@空白調整 6}%
+    \else\if#17{\文頭欧文判定\@空白調整 7}%
+    \else\if#18{\文頭欧文判定\@空白調整 8}%
+    \else\if#19{\文頭欧文判定\@空白調整 9}%
+    \else\if#1A{\文頭欧文判定\@空白調整 A}%
+    \else\if#1B{\文頭欧文判定\@空白調整 B}%
+    \else\if#1C{\文頭欧文判定\@空白調整 C}%
+    \else\if#1D{\文頭欧文判定\@空白調整 D}%
+    \else\if#1E{\文頭欧文判定\@空白調整 E}%
+    \else\if#1F{\文頭欧文判定\@空白調整 F}%
+    \else\if#1G{\文頭欧文判定\@空白調整 G}%
+    \else\if#1H{\文頭欧文判定\@空白調整 H}%
+    \else\if#1I{\文頭欧文判定\@空白調整 I}%
+    \else\if#1J{\文頭欧文判定\@空白調整 J}%
+    \else\if#1K{\文頭欧文判定\@空白調整 K}%
+    \else\if#1L{\文頭欧文判定\@空白調整 L}%
+    \else\if#1M{\文頭欧文判定\@空白調整 M}%
+    \else\if#1N{\文頭欧文判定\@空白調整 N}%
+    \else\if#1O{\文頭欧文判定\@空白調整 O}%
+    \else\if#1P{\文頭欧文判定\@空白調整 P}%
+    \else\if#1Q{\文頭欧文判定\@空白調整 Q}%
+    \else\if#1R{\文頭欧文判定\@空白調整 R}%
+    \else\if#1S{\文頭欧文判定\@空白調整 S}%
+    \else\if#1T{\文頭欧文判定\@空白調整 T}%
+    \else\if#1U{\文頭欧文判定\@空白調整 U}%
+    \else\if#1V{\文頭欧文判定\@空白調整 V}%
+    \else\if#1W{\文頭欧文判定\@空白調整 W}%
+    \else\if#1X{\文頭欧文判定\@空白調整 X}%
+    \else\if#1Y{\文頭欧文判定\@空白調整 Y}%
+    \else\if#1Z{\文頭欧文判定\@空白調整 Z}%
+    \else\if#1a{\文頭欧文判定\@空白調整 a}%
+    \else\if#1b{\文頭欧文判定\@空白調整 b}%
+    \else\if#1c{\文頭欧文判定\@空白調整 c}%
+    \else\if#1d{\文頭欧文判定\@空白調整 d}%
+    \else\if#1e{\文頭欧文判定\@空白調整 e}%
+    \else\if#1f{\文頭欧文判定\@空白調整 f}%
+    \else\if#1g{\文頭欧文判定\@空白調整 g}%
+    \else\if#1h{\文頭欧文判定\@空白調整 h}%
+    \else\if#1i{\文頭欧文判定\@空白調整 i}%
+    \else\if#1j{\文頭欧文判定\@空白調整 j}%
+    \else\if#1k{\文頭欧文判定\@空白調整 k}%
+    \else\if#1l{\文頭欧文判定\@空白調整 l}%
+    \else\if#1m{\文頭欧文判定\@空白調整 m}%
+    \else\if#1n{\文頭欧文判定\@空白調整 n}%
+    \else\if#1o{\文頭欧文判定\@空白調整 o}%
+    \else\if#1p{\文頭欧文判定\@空白調整 p}%
+    \else\if#1q{\文頭欧文判定\@空白調整 q}%
+    \else\if#1r{\文頭欧文判定\@空白調整 r}%
+    \else\if#1s{\文頭欧文判定\@空白調整 s}%
+    \else\if#1t{\文頭欧文判定\@空白調整 t}%
+    \else\if#1u{\文頭欧文判定\@空白調整 u}%
+    \else\if#1v{\文頭欧文判定\@空白調整 v}%
+    \else\if#1w{\文頭欧文判定\@空白調整 w}%
+    \else\if#1x{\文頭欧文判定\@空白調整 x}%
+    \else\if#1y{\文頭欧文判定\@空白調整 y}%
+    \else\if#1z{\文頭欧文判定\@空白調整 z}%
+    \else{\stepcounter{全角文字数}\setcounter{全半角交代}{1}#1}\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi%
+  }%
+\def\@fonts at zap@space#1 #2%
+  {%
+    \@tfor\han:=#1\do{\@fonts at han@zen{\han}}%
+    \ifx#2\@empty\else\@fonts at fwspace\expandafter\@fonts at zap@space\fi#2%
+  }%
+\def\@fonts at fwspace{ }%
+\NewDocumentCommand\fonts{ O{\@デフォルトフォント} m }%
+  {%
+    #1{\@fonts{#2}}%
+    \setcounter{全角文字数}{0}%
+    \setcounter{半角文字数}{0}%
+  }%
+\newcommand{\@デフォルトフォント}{\textmc}%
+\newcommand{\デフォルトフォント}[1]{\def\@デフォルトフォント{#1}}%
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/latex/convert-jpfonts/convert-jpfonts.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2025-01-21 20:46:27 UTC (rev 73550)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2025-01-21 20:47:24 UTC (rev 73551)
@@ -226,7 +226,7 @@
     context-simpleslides context-squares context-sudoku
     context-transliterator context-typescripts context-vim
     context-visualcounter
-    continue contour contracard contract conv-xkv convbkmk
+    continue contour contracard contract conv-xkv convbkmk convert-jpfonts
     cooking cooking-units cookingsymbols
     cool coolfn coollist coolstr coolthms cooltooltips
     coop-writing cooperhewitt

Modified: trunk/Master/tlpkg/tlpsrc/collection-langjapanese.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-langjapanese.tlpsrc	2025-01-21 20:46:27 UTC (rev 73550)
+++ trunk/Master/tlpkg/tlpsrc/collection-langjapanese.tlpsrc	2025-01-21 20:47:24 UTC (rev 73551)
@@ -20,6 +20,7 @@
 depend bxwareki
 depend chuushaku
 depend convbkmk
+depend convert-jpfonts
 depend endnotesj
 depend gckanbun
 depend gentombow

Added: trunk/Master/tlpkg/tlpsrc/convert-jpfonts.tlpsrc
===================================================================


More information about the tex-live-commits mailing list.