<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%#!make pbibtex-manual.pdf
\documentclass[a4paper,11pt,nomag,dvipdfmx]{jsarticle}
\usepackage[textwidth=42zw,lines=40,truedimen,centering]{geometry}

%%%%%%%%%%%%%%%%
% additional packages
\usepackage{amsmath}
\usepackage{array}\usepackage[all]{xy}
\SelectTips{cm}{}
%\usepackage[dvipdfmx]{graphicx}
\usepackage[T1]{fontenc}
\usepackage{booktabs,enumitem,multicol}
\usepackage[defaultsups]{newpxtext}
\usepackage[zerostyle=c,straightquotes]{newtxtt}
\usepackage{newpxmath}
\usepackage[hyperfootnotes=false]{hyperref}
\usepackage{pxjahyper}
\usepackage{hologo}

% common
\usepackage{../ptex-manual/ptex-manual}

\def\code#1{\texttt{#1}}
\def\file#1{\texttt{#1}}
\def\codechar#1{\ensuremath{\langle\mbox{\null\code{#1}\null}\rangle}}

%%%%%%%%%%%%%%%%
\makeatletter
\setlist{leftmargin=2zw}
\setlist[description]{labelwidth=2zw,labelindent=1zw,topsep=\medskipamount}

\def\&gt;{\ifhmode\hskip\xkanjiskip\fi}

\def\tsp{_{\mbox{\fontsize\sf@size\z@\ttfamily \char32}}}
\def\tpar{_{\mbox{\fontsize\sf@size\z@\ttfamily \string\par}}}
\def\tign{_{\mbox{\fontsize\sf@size\z@\selectfont --}}}

\def\tableautorefname{è¡¨}
\def\figureautorefname{å›³}
\def\HyRef@autoref#1#2{%
  \begingroup
    \Hy@safe@activestrue
    \expandafter\HyRef@autosetref\csname r@#2\endcsname{#2}{#1}%
  \endgroup\textcompwordmark %æ¬§æ–‡ã‚´ãƒ¼ã‚¹ãƒˆ
}
\makeatother

\usepackage{shortvrb}
\MakeShortVerb*{|}
%%%%%%%%%%%%%%%%

% logos
\def\JTeX{\leavevmode\textcompwordmark\lower.5ex\hbox{J}\kern-.17em\TeX}
\def\JBibTeX{\leavevmode\textcompwordmark\lower.5ex\hbox{J}\kern-.08em\BibTeX}
\def\pBibTeX{p\kern-.05em\BibTeX}
\def\upBibTeX{u\pBibTeX}

% additions to jslogo.sty
\makeatletter
\g@addto@macro\pdfstringdefPreHook{%
  \def\JBibTeX{J\BibTeX}%
  \def\pBibTeX{p\BibTeX}%
  \def\upBibTeX{u\pBibTeX}%
}
\makeatother

\def\TL{\TeX~Live}

\def\_{\leavevmode\vrule width .45em height -.2ex depth .3ex\relax}

\frenchspacing
\begin{document}
\catcode`\&lt;=13
\title{\emph{\pBibTeX~/~\upBibTeX ãƒžãƒ‹ãƒ¥ã‚¢ãƒ«}}
\author{æ—¥æœ¬èªž\TeX é–‹ç™ºã‚³ãƒŸãƒ¥ãƒ‹ãƒ†ã‚£\null
\thanks{\url{https://texjp.org},\ e-mail: \texttt{issue(at)texjp.org}}}
\date{version 0.99d-j0.36ï¼Œ\today}
\maketitle

\pBibTeX ã¨\upBibTeX ã¯ï¼Œãã‚Œãžã‚Œ\pTeX ã¨\upTeX ã¨çµ„ã¿åˆã‚ã›ã¦ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚’
æƒ³å®šã—ã¦é–‹ç™ºã•ã‚ŒãŸ\BibTeX ã®æ—¥æœ¬èªžå¯¾å¿œç‰ˆã§ã‚ã‚‹ï¼Ž
\begin{itemize}
  \item \pBibTeX, \upBibTeX ã®é–‹ç™ºå…ƒï¼š\\
    \url{https://github.com/texjporg/tex-jp-build/}
  \item \upBibTeX ã®é–‹ç™ºå…ƒï¼ˆj0.35ä»¥å‰ï¼‰ï¼š\\
    \url{http://www.t-lab.opal.ne.jp/tex/uptex.html}
  \item æœ¬ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®é–‹ç™ºå…ƒï¼š\\
    \url{https://github.com/texjporg/pbibtex-manual/}
\end{itemize}

\BibTeX ã®æ—¥æœ¬èªžåŒ–ã¯ï¼Œé›»åŠ›ä¸­å¤®ç&nbsp;”ç©¶æ‰€ã®æ¾äº•æ­£ä¸€æ°ã«ã‚ˆã£ã¦
\JBibTeX ã¨ã„ã†åç§°ã§å…¬é–‹ã•ã‚ŒãŸã‚‚ã®\footnote{%
æœ€çµ‚ç‰ˆã¯\JBibTeX~0.31ã§ã‚ã‚‹ï¼Ž1991/01/01ä»˜ã®\JBibTeX~0.30ã®ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã«ï¼Œ
1992/10/31ã«fj.comp.texhaxã‚°ãƒ«ãƒ¼ãƒ—ã¸æŠ•ç¨¿ã•ã‚ŒãŸãƒã‚°ä¿®æ­£ãƒ‘ãƒƒãƒ(0.31)ã‚’
å½“ã¦ã¦å¾—ã‚‰ã‚Œã‚‹ï¼Ž}ãŒãƒ™ãƒ¼ã‚¹ã§ã‚ã‚Šï¼Œãã®ä»•æ§˜ã¯\cite{jbibtex}ã«è©³ã—ã„ï¼Ž
ã¾ãŸï¼Œã‚ªãƒªã‚¸ãƒŠãƒ«ã®\BibTeX ä»˜å±žãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ\file{btxdoc.pdf}ã¨
\file{btxhak.pdf}ã‚’æ—¥æœ¬èªžã«è¨³ã—ï¼Œ\JBibTeX ã«ã¤ã„ã¦è£œè¶³ã‚’åŠ&nbsp;ãˆãŸãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚‚
ç”¨æ„ã•ã‚Œã¦ã„ã‚‹\cite{jbtxdoc,jbtxhak}ï¼Ž
ã“ã‚Œã‚‰ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¯ï¼Œãƒ¬ã‚¬ã‚·ãƒ¼ã‚¨ãƒ³ã‚³ãƒ¼ãƒ‡ã‚£ãƒ³ã‚°ã®æ‰±ã„ã«é–¢ã™ã‚‹
è¨˜è¿°ï¼ˆç¬¬\ref{diff}ç¯€ã‚’å‚ç…§ï¼‰ã‚’é™¤ã
ç¾åœ¨ã®(u)\pBibTeX ã§ã‚‚æœ‰åŠ¹ã§ã‚ã‚‹ã®ã§ï¼Œå‚ç…§ã•ã‚ŒãŸã„ï¼Ž

æœ¬æ–‡æ›¸ã§ã¯ï¼Œã‚ªãƒªã‚¸ãƒŠãƒ«ã®\BibTeX ã®ä»•æ§˜ã‚’æŠŠæ¡ã—ã¦ã„ã‚‹èª­è€…ã‚’æƒ³å®šã—ï¼Œ
\pBibTeX ãŠã‚ˆã³\upBibTeX ã«ãŠã‘ã‚‹æ©Ÿèƒ½ã®å¤‰æ›´ãƒ»è¿½åŠ&nbsp;ç‚¹ã‚’èª¬æ˜Žã™ã‚‹ï¼Ž

\clearpage
\tableofcontents
\clearpage

\section{æ—¥æœ¬èªžåŒ–ã®ä»•æ§˜}

\BibTeX ã®æ—¥æœ¬èªžåŒ–ã®ç‰¹å¾´ã¯ï¼Œå¤§ããåˆ†ã‘ã¦3ã¤ã§ã‚ã‚‹ï¼Ž
\begin{itemize}
 \item å¤šãƒã‚¤ãƒˆæ–‡å­—ã®æ‰±ã„
 \item æ–‡å­—ç¨®ãŒå¢—ãˆãŸã“ã¨ã¸ã®å¯¾å¿œ
 \item æ—¥æœ¬èªžæ–‡å­—ã¨ãã‚Œä»¥å¤–ã®åŒºåˆ¥
\end{itemize}

\subsection{å¤šãƒã‚¤ãƒˆæ–‡å­—ã®æ‰±ã„}\label{sec:substring}

(u)\pBibTeX ã¯ï¼Œ\BibTeX ã‹ã‚‰æœ€å°ã®å¤‰æ›´é‡ã§æ—¥æœ¬èªžã‚’å«ã‚€æ–‡çŒ®æƒ…å&nbsp;±ã‚’
æ‰±ãˆã‚‹ã‚ˆã†ã«ã—ãŸéƒ½åˆä¸Šï¼Œå¤šãƒã‚¤ãƒˆæ–‡å­—ã®æ‰±ã„ã¯ä»¥ä¸‹ã®ã¨ãŠã‚Šã¨ãªã£ã¦ã„ã‚‹ï¼Ž
\begin{itemize}
 \item \emph{æ–‡å­—åˆ—ã®ä½ç½®ã‚„é•·ã•ã¯ã€Œæ–‡å­—å˜ä½ã€ã§ã¯ãªãã€Œãƒã‚¤ãƒˆå˜ä½ã€ã§ã‚«ã‚¦ãƒ³ãƒˆã™ã‚‹}ï¼Ž
 \item ãã®çµæžœã¨ã—ã¦ï¼Œé–‹å§‹ä½ç½®ã‚„çµ‚äº†ä½ç½®ãŒå¤šãƒã‚¤ãƒˆæ–‡å­—ã®é€”ä¸­ã¨ãªã‚‹å&nbsp;´åˆã¯ï¼Œ
   \emph{å¤šãƒã‚¤ãƒˆæ–‡å­—ã®é€”ä¸­ã§åˆ‡ã‚‰ã‚Œãªã„ã‚ˆã†ã«ä½ç½®ã‚’èª¿æ•´ã™ã‚‹}ï¼Ž
\end{itemize}

å…·ä½“çš„ã«ã¯ï¼Œä»¥ä¸‹ã®ã‚¹ã‚¿ã‚¤ãƒ«ãƒ‘ãƒ©ãƒ¡ãƒ¼ã‚¿ãŒè©²å½“ã™ã‚‹ï¼Ž
\begin{itemize}
 \item |substring$|\\
  æ•´æ•°å€¤2ã¤ï¼ˆé•·ã•ï¼Œèµ·ç‚¹ï¼‰ã¨æ–‡å­—åˆ—ãƒªãƒ†ãƒ©ãƒ«1ã¤ã‚’popã—ï¼Œ
  æŒ‡å®šã®é•·ã•ï¼ˆãƒã‚¤ãƒˆé•·ï¼‰ã®éƒ¨åˆ†æ–‡å­—åˆ—ã‚’pushã™ã‚‹çµ„è¾¼é–¢æ•°ã§ã‚ã‚‹ï¼Ž
  èµ·ç‚¹ã«æŒ‡å®šã•ã‚ŒãŸæ•´æ•°å€¤ãŒæ­£ã§ã‚ã‚Œã°æ–‡å­—åˆ—ã®å…ˆé&nbsp;­ã‹ã‚‰ï¼Œ
  è²&nbsp;ã§ã‚ã‚Œã°æœ«å°¾ã‹ã‚‰é•·ã•ã‚’æ•°ãˆã¦å–ã‚Šå‡ºã™ï¼Ž

  å¤šãƒã‚¤ãƒˆæ–‡å­—ã«ã¤ã„ã¦ã®é–‹å§‹ãƒ»çµ‚äº†ä½ç½®ã®èª¿æ•´ã¯ä»¥ä¸‹ã®é&nbsp;†ã§è¡Œã†ï¼Ž
\begin{quotation}
  \begin{enumerate}
   \item[(1)] é–‹å§‹ä½ç½®ãŒå¤šãƒã‚¤ãƒˆæ–‡å­—ã®2ãƒã‚¤ãƒˆç›®ä»¥é™ã§ã‚ã‚Œã°ï¼Œ1ãƒã‚¤ãƒˆç›®ã‹ã‚‰å–ã‚Šå‡ºã™ï¼Ž
   \item[(2)] çµ‚äº†ä½ç½®ãŒå¤šãƒã‚¤ãƒˆæ–‡å­—ã®æœ€çµ‚ãƒã‚¤ãƒˆã§ãªã‘ã‚Œã°ï¼Œæœ€çµ‚ãƒã‚¤ãƒˆã¾ã§å–ã‚Šå‡ºã™ï¼Ž
  \end{enumerate}
\end{quotation}
  ã—ãŸãŒã£ã¦ï¼Œã“ã®æ™‚ç‚¹ã§\pBibTeX ï¼ˆå†…éƒ¨ã‚³ãƒ¼ãƒ‰|euc|ï¼‰ã§ã¯æœ€å¤§2ãƒã‚¤ãƒˆé•·ãï¼Œ
  \upBibTeX ï¼ˆå†…éƒ¨ã‚³ãƒ¼ãƒ‰|uptex|ï¼‰ã§ã¯æœ€å¤§6ãƒã‚¤ãƒˆé•·ã„æ–‡å­—åˆ—ãŒå–ã‚Šå‡ºã•ã‚Œã†ã‚‹ï¼Ž

  ã•ã‚‰ã«ï¼Œ(u)\pBibTeX~j0.34 (\TL~2022)ä»¥é™ã§ã¯% r62095 (2022-02-20)
\begin{quotation}
  \begin{enumerate}
   \item[(3)] èµ·ç‚¹ãŒ|#2|ä»¥ä¸Šã«æŒ‡å®šã•ã‚ŒãŸã«ã‚‚ã‹ã‹ã‚ã‚‰ãšï¼Œä¸Šã®(1)ã®èª¿æ•´ã«ã‚ˆã‚Š
     é–‹å§‹ä½ç½®ãŒæ–‡å­—åˆ—ã®å…ˆé&nbsp;­ã«ãªã£ã¦ã—ã¾ã£ãŸå&nbsp;´åˆã¯ï¼Œ
     ãã®å…ˆé&nbsp;­ã®å¤šãƒã‚¤ãƒˆæ–‡å­—ã‚’åˆ‡ã‚Šæ¨ã¦ã‚‹ï¼Ž
   \item[(4)] èµ·ç‚¹ãŒ|#-2|ä»¥ä¸‹ã«æŒ‡å®šã•ã‚ŒãŸã«ã‚‚ã‹ã‹ã‚ã‚‰ãšï¼Œä¸Šã®(2)ã®èª¿æ•´ã«ã‚ˆã‚Š
     çµ‚äº†ä½ç½®ãŒæ–‡å­—åˆ—ã®æœ«å°¾ã«ãªã£ã¦ã—ã¾ã£ãŸå&nbsp;´åˆã¯ï¼Œ
     ãã®æœ«å°¾ã®å¤šãƒã‚¤ãƒˆæ–‡å­—ã‚’åˆ‡ã‚Šæ¨ã¦ã‚‹ï¼Ž
  \end{enumerate}
\end{quotation}
  ã¨ã„ã†èª¿æ•´ã‚‚åŠ&nbsp;ãˆã¦ã‚ã‚‹ï¼Žã—ãŸãŒã£ã¦ï¼Œ\pBibTeX ã§ã¯æœ€å¤§1ãƒã‚¤ãƒˆçŸ­ãï¼Œ
  \upBibTeX ã§ã¯æœ€å¤§3ãƒã‚¤ãƒˆçŸ­ããªã‚‹ï¼ˆå&nbsp;´åˆã«ã‚ˆã£ã¦ã¯ç©ºã«ãªã‚‹ï¼‰ã“ã¨ãŒã‚ã‚‹ï¼Ž

 \item |text.prefix$|\\
  æ•´æ•°å€¤ï¼ˆé•·ã•ï¼‰ã¨æ–‡å­—åˆ—ãƒªãƒ†ãƒ©ãƒ«ã‚’popã—ï¼Œæ–‡å­—åˆ—ã®å…ˆé&nbsp;­ã‹ã‚‰æŒ‡å®šã®é•·ã•ï¼ˆãƒã‚¤ãƒˆé•·ï¼‰ã®
  é€£ç¶šã—ãŸæ–‡å­—åˆ—ã‚’pushã™ã‚‹çµ„è¾¼é–¢æ•°ã§ã‚ã‚‹ï¼Ž
  çµ‚äº†ä½ç½®ãŒå¤šãƒã‚¤ãƒˆã®æ–‡å­—ã®é€”ä¸­ã«ãªã‚‰ãªã„ã‚ˆã†èª¿æ•´ã•ã‚Œã‚‹ã®ã§ï¼Œ
  \pBibTeX ï¼ˆå†…éƒ¨ã‚³ãƒ¼ãƒ‰|euc|ï¼‰ã§ã¯æœ€å¤§1ãƒã‚¤ãƒˆé•·ãï¼Œ
  \upBibTeX ï¼ˆå†…éƒ¨ã‚³ãƒ¼ãƒ‰|uptex|ï¼‰ã§ã¯æœ€å¤§3ãƒã‚¤ãƒˆé•·ã„æ–‡å­—åˆ—ãŒå–ã‚Šå‡ºã•ã‚Œã†ã‚‹ï¼Ž
\end{itemize}

ä»¥ä¸‹ã«ä¾‹ã‚’ç¤ºã™ï¼Ž
% ä¾‹ç¤ºã‚½ãƒ¼ã‚¹ï¼štests/01jtest
% https://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=2006
\pBibTeX ã¨\upBibTeX ã§ã¯åŒã˜æ–‡å­—ã§ã‚‚ãƒã‚¤ãƒˆé•·ãŒç•°ãªã‚‹å&nbsp;´åˆãŒã‚ã‚Šï¼Œ
ãã®çµæžœã¨ã—ã¦å–ã‚Šå‡ºã•ã‚Œã‚‹è¦‹ã‹ã‘ã®æ–‡å­—æ•°ãŒç•°ãªã‚‹ã“ã¨ã«æ³¨æ„ï¼Ž

\par\medskip\noindent
\begin{minipage}{0.45\textwidth}
\begin{verbatim}
ä¾‹1ï¼šé•·ã‚ã«èª¿æ•´(2)
"ã‚ã„ã†ãˆãŠ" #1 #1 substring$
"ã‚ã„ã†ãˆãŠ" #1 #2 substring$
"ã‚ã„ã†ãˆãŠ" #1 #3 substring$
"ã‚ã„ã†ãˆãŠ" #1 #4 substring$
"ã‚ã„ã†ãˆãŠ" #1 #5 substring$
"ã‚ã„ã†ãˆãŠ" #1 #6 substring$
\end{verbatim}
\end{minipage}
\begin{minipage}{0.5\textwidth}
\begin{tabular}{lll}
            &amp; \pBibTeX   &amp; \upBibTeX \\
æœ€åˆã®1æ–‡å­— &amp; ã€Œã‚ã€     &amp; ã€Œã‚ã€    \\
æœ€åˆã®2æ–‡å­— &amp; ã€Œã‚ã€     &amp; ã€Œã‚ã€    \\
æœ€åˆã®3æ–‡å­— &amp; ã€Œã‚ã„ã€   &amp; ã€Œã‚ã€    \\
æœ€åˆã®4æ–‡å­— &amp; ã€Œã‚ã„ã€   &amp; ã€Œã‚ã„ã€  \\
æœ€åˆã®5æ–‡å­— &amp; ã€Œã‚ã„ã†ã€ &amp; ã€Œã‚ã„ã€  \\
æœ€åˆã®6æ–‡å­— &amp; ã€Œã‚ã„ã†ã€ &amp; ã€Œã‚ã„ã€
\end{tabular}
\end{minipage}

\par\medskip\noindent
\begin{minipage}{0.45\textwidth}
\begin{verbatim}
ä¾‹2ï¼šé•·ã‚ã«èª¿æ•´(1)
"ã‚ã„ã†ãˆãŠ" #-1 #1 substring$
"ã‚ã„ã†ãˆãŠ" #-1 #2 substring$
"ã‚ã„ã†ãˆãŠ" #-1 #3 substring$
"ã‚ã„ã†ãˆãŠ" #-1 #4 substring$
"ã‚ã„ã†ãˆãŠ" #-1 #5 substring$
"ã‚ã„ã†ãˆãŠ" #-1 #6 substring$
\end{verbatim}
\end{minipage}
\begin{minipage}{0.5\textwidth}
\begin{tabular}{lll}
            &amp; \pBibTeX   &amp; \upBibTeX \\
æœ€å¾Œã®1æ–‡å­— &amp; ã€ŒãŠã€     &amp; ã€ŒãŠã€    \\
æœ€å¾Œã®2æ–‡å­— &amp; ã€ŒãŠã€     &amp; ã€ŒãŠã€    \\
æœ€å¾Œã®3æ–‡å­— &amp; ã€ŒãˆãŠã€   &amp; ã€ŒãŠã€    \\
æœ€å¾Œã®4æ–‡å­— &amp; ã€ŒãˆãŠã€   &amp; ã€ŒãˆãŠã€  \\
æœ€å¾Œã®5æ–‡å­— &amp; ã€Œã†ãˆãŠã€ &amp; ã€ŒãˆãŠã€  \\
æœ€å¾Œã®6æ–‡å­— &amp; ã€Œã†ãˆãŠã€ &amp; ã€ŒãˆãŠã€
\end{tabular}
\end{minipage}

\par\medskip\noindent
\begin{minipage}{0.45\textwidth}
\begin{verbatim}
ä¾‹3ï¼šå…ˆé&nbsp;­æ–‡å­—ã®é€”ä¸­èª¿æ•´(3)
"ã‚ã„ã†ãˆãŠ" #1 #6 substring$
"ã‚ã„ã†ãˆãŠ" #2 #5 substring$
"ã‚ã„ã†ãˆãŠ" #3 #4 substring$
"ã‚ã„ã†ãˆãŠ" #4 #3 substring$
"ã‚ã„ã†ãˆãŠ" #5 #2 substring$
"ã‚ã„ã†ãˆãŠ" #6 #1 substring$
\end{verbatim}
\end{minipage}
\begin{minipage}{0.5\textwidth}
\begin{tabular}{lll}
                       &amp; \pBibTeX   &amp; \upBibTeX \\
æœ€åˆã®6æ–‡å­—            &amp; ã€Œã‚ã„ã†ã€ &amp; ã€Œã‚ã„ã€  \\
æœ€åˆã®1æ–‡å­—ã‚’é™¤ã5æ–‡å­— &amp; ã€Œã„ã†ã€   &amp; ã€Œã„ã€    \\
æœ€åˆã®2æ–‡å­—ã‚’é™¤ã4æ–‡å­— &amp; ã€Œã„ã†ã€   &amp; ã€Œã„ã€    \\
æœ€åˆã®3æ–‡å­—ã‚’é™¤ã3æ–‡å­— &amp; ã€Œã„ã†ã€   &amp; ã€Œã„ã€    \\
æœ€åˆã®4æ–‡å­—ã‚’é™¤ã2æ–‡å­— &amp; ã€Œã†ã€     &amp; ã€Œã„ã€    \\
æœ€åˆã®5æ–‡å­—ã‚’é™¤ã1æ–‡å­— &amp; ã€Œã†ã€     &amp; ã€Œã„ã€
\end{tabular}
\end{minipage}

\par\medskip\noindent
\begin{minipage}{0.45\textwidth}
\begin{verbatim}
ä¾‹4ï¼šæœ«å°¾æ–‡å­—ã®é€”ä¸­èª¿æ•´(4)
"ã‚ã„ã†ãˆãŠ" #-1 #6 substring$
"ã‚ã„ã†ãˆãŠ" #-2 #5 substring$
"ã‚ã„ã†ãˆãŠ" #-3 #4 substring$
"ã‚ã„ã†ãˆãŠ" #-4 #3 substring$
"ã‚ã„ã†ãˆãŠ" #-5 #2 substring$
"ã‚ã„ã†ãˆãŠ" #-6 #1 substring$
\end{verbatim}
\end{minipage}
\begin{minipage}{0.5\textwidth}
\begin{tabular}{lll}
                       &amp; \pBibTeX   &amp; \upBibTeX \\
æœ€å¾Œã®6æ–‡å­—            &amp; ã€Œã†ãˆãŠã€ &amp; ã€ŒãˆãŠã€  \\
æœ€å¾Œã®1æ–‡å­—ã‚’é™¤ã5æ–‡å­— &amp; ã€Œã†ãˆã€   &amp; ã€Œãˆã€    \\
æœ€å¾Œã®2æ–‡å­—ã‚’é™¤ã4æ–‡å­— &amp; ã€Œã†ãˆã€   &amp; ã€Œãˆã€    \\
æœ€å¾Œã®3æ–‡å­—ã‚’é™¤ã3æ–‡å­— &amp; ã€Œã†ãˆã€   &amp; ã€Œãˆã€    \\
æœ€å¾Œã®4æ–‡å­—ã‚’é™¤ã2æ–‡å­— &amp; ã€Œã†ã€     &amp; ã€Œãˆã€    \\
æœ€å¾Œã®5æ–‡å­—ã‚’é™¤ã1æ–‡å­— &amp; ã€Œã†ã€     &amp; ã€Œãˆã€
\end{tabular}
\end{minipage}

\par\medskip
\begin{dangerous}
  (u)\pBibTeX~j0.33 (\TL~2021)ä»¥å‰ã®|substring$|ã§ã¯ï¼Œ
  ã‚ªãƒªã‚¸ãƒŠãƒ«ã®\JBibTeX ã¨åŒæ§˜ï¼Œä¸Šè¨˜ã®ã†ã¡èª¿æ•´(1)ã¨(2)ã—ã‹
  è¡Œã£ã¦ã„ãªã‹ã£ãŸï¼Žã™ãªã‚ã¡ã€Œé–‹å§‹ä½ç½®ã‚„çµ‚äº†ä½ç½®ãŒå¤šãƒã‚¤ãƒˆã®æ–‡å­—ã®
  é€”ä¸­ã¨ãªã‚‹å&nbsp;´åˆã¯ï¼Œä½ç½®ã‚’èª¿æ•´ã—ã¦\emph{å¸¸ã«é•·ã‚ã«åˆ‡ã‚Šå‡ºã™}ã€ã¨ã„ã†
  ä»•æ§˜ã§ã‚ã£ãŸï¼Žã—ã‹ã—ï¼Œã“ã‚Œã§ã¯
\begin{verbatim}
"ï¼ˆã‚ã„ã†ãˆãŠ" #2 global.max$ substring$  % æœ€åˆã®1æ–‡å­—ã‚’é™¤åŽ»ã—ãŸã„
"ã‚ã„ã†ãˆãŠï¼‰" #-2 global.max$ substring$ % æœ€å¾Œã®1æ–‡å­—ã‚’é™¤åŽ»ã—ãŸã„
\end{verbatim}
  ã®ã‚ˆã†ãªå&nbsp;´åˆã«æ–‡å­—ã‚’é™¤åŽ»ã§ããšï¼Œä¾‹ãˆã°ã€Œ|while$|ãƒ«ãƒ¼ãƒ—å†…ã§
  |substring$|é–¢æ•°ã«ã‚ˆã‚Šæ–‡å­—åˆ—ã‚’1ã¤ãšã¤åˆ‡ã‚Šè©°ã‚ã¦çŸ­ãã™ã‚‹å‡¦ç†ã€ã«
  å’Œæ–‡æ–‡å­—ãƒªãƒ†ãƒ©ãƒ«ãŒæ¸¡ã‚‹ã¨æ–‡å­—åˆ—ãŒä¸€å‘ã«çŸ­ããªã‚‰ãšï¼Œ
  ç„¡é™ãƒ«ãƒ¼ãƒ—ãŒèµ·ãã¦ã—ã¾ã£ã¦ã„ãŸ\cite{tjb133}ï¼Ž
  ãã“ã§ï¼Œ(u)\pBibTeX~j0.34 (\TL~2022)ä»¥é™ã¯èª¿æ•´(3)ã¨(4)ã‚’åŠ&nbsp;ãˆï¼Œ
  \emph{ã‚«ã‚¦ãƒ³ãƒˆèµ·ç‚¹ãŒã€Œå…ˆé&nbsp;­ã®å¤šãƒã‚¤ãƒˆæ–‡å­—ã®é€”ä¸­ã€ã¾ãŸã¯ã€Œæœ«å°¾ã®å¤šãƒã‚¤ãƒˆæ–‡å­—ã®
  é€”ä¸­ã€ã®å&nbsp;´åˆã«é™ã£ã¦å–ã‚Šé™¤ãã“ã¨ã§çŸ­ã‚ã«åˆ‡ã‚Šå‡ºã™}ã“ã¨ã¨ã—ãŸï¼Ž
  ãªãŠï¼Œã‚«ã‚¦ãƒ³ãƒˆçµ‚ç‚¹å´ã®å¤šãƒã‚¤ãƒˆæ–‡å­—ã«ã¤ã„ã¦ã¯å¸¸ã«é•·ã‚ã«åˆ‡ã‚Šå‡ºã™ã—ï¼Œ
  ã‚«ã‚¦ãƒ³ãƒˆèµ·ç‚¹ãŒå…ˆé&nbsp;­ã§ã‚‚æœ«å°¾ã§ã‚‚ãªã„å¤šãƒã‚¤ãƒˆæ–‡å­—ã®å&nbsp;´åˆã¯é•·ã‚ã«åˆ‡ã‚Šå‡ºã™
  ã¨ã„ã†ç‚¹ã¯å¾“æ¥ã¨åŒã˜ã§ã‚ã‚‹ï¼Žä¸Šè¨˜ã®ä¾‹ã‚’è¦‹ã‚‹ã®ãŒæ—©ã„ã§ã‚ã‚ã†ï¼Ž
\end{dangerous}

\begin{itemize}
 \item |int.to.chr$|, |chr.to.int$|\\
  |int.to.chr$|ã¯æ•´æ•°å€¤1ã¤ã‚’popã—ï¼Œ
  å¯¾å¿œã™ã‚‹æ–‡å­—ã‚³ãƒ¼ãƒ‰ã®æ–‡å­—1å­—ã‚’pushã™ã‚‹çµ„è¾¼é–¢æ•°ã§ã‚ã‚‹ï¼Ž
  |chr.to.int$|ã¯æ–‡å­—1å­—ã‚’popã—ï¼Œ
  å¯¾å¿œã™ã‚‹æ–‡å­—ã‚³ãƒ¼ãƒ‰ã®æ•´æ•°å€¤1ã¤ã‚’pushã™ã‚‹çµ„è¾¼é–¢æ•°ã§ã‚ã‚‹ï¼Ž
  (u)\pBibTeX~j0.34 (\TL~2022)ä»¥å‰ã§ã¯
  |int.to.chr$|ã¯ASCIIã®ç¯„å›²ã®æ•´æ•°ï¼ˆæœ€å¤§127ï¼‰ã®ã¿æœ‰åŠ¹ï¼Œ
  |chr.to.int$|ã¯å¤šãƒã‚¤ãƒˆæ–‡å­—ã®å&nbsp;´åˆå…ˆé&nbsp;­ãƒã‚¤ãƒˆã®ã‚³ãƒ¼ãƒ‰å€¤ãŒè¿”ã‚‹ä»•æ§˜ã§ã‚ã£ãŸï¼Ž\\
  (u)\pBibTeX~j0.35 (\TL~2023)ä»¥é™ã§ã¯
  ã“ã‚Œã‚‰ã®çµ„è¾¼é–¢æ•°ã‚’æ–‡å­—é›†åˆå…¨ä½“ãŒæ‰±ãˆã‚‹ã‚ˆã†ã«æ‹¡å¼µã—ãŸï¼Ž
  ã™ãªã‚ã¡ï¼Œæ–‡å­—1å­—åˆ†
  \footnote{\upBibTeX ã§ã¯ã‚ˆã‚Šæ­£ç¢ºã«ã¯ã‚³ãƒ¼ãƒ‰ãƒã‚¤ãƒ³ãƒˆ1ã¤åˆ†ã¨ãªã‚‹ï¼Ž
  Unicodeã§ã¯åˆæˆæ–‡å­—ã‚„ç•°ä½“å­—ã‚»ãƒ¬ã‚¯ã‚¿ç­‰ã§ã¯è¤‡æ•°ã®ã‚³ãƒ¼ãƒ‰ãƒã‚¤ãƒ³ãƒˆã§
  1æ–‡å­—ã¨ãªã‚‹ãŸã‚ï¼Ž}ã®å¤šãƒã‚¤ãƒˆæ–‡å­—åˆ—ã‚’å¯¾è±¡ã¨ã—ï¼Œ
  æ–‡å­—ã‚³ãƒ¼ãƒ‰ã®æ•´æ•°ã¨ã—ã¦ã¯\pBibTeX ã§ã¯JISã‚³ãƒ¼ãƒ‰%
  \footnote{JISã‚³ãƒ¼ãƒ‰ã‚’16bitè¡¨ç¾ã—ãŸæ•´æ•°å€¤$((åŒº+32)\times 256+(ç‚¹+32))$ï¼Ž}ï¼Œ
  \upBibTeX ã§ã¯Unicodeã®ã‚¹ã‚«ãƒ©ãƒ¼å€¤ã‚’ç”¨ã„ã‚‹ï¼Ž
\end{itemize}

\subsection{æ–‡å­—ç¨®ãŒå¢—ãˆãŸã“ã¨ã¸ã®å¯¾å¿œ}\label{sec:charset}

\begin{itemize}
 \item |add.period$|\\
  æ–‡å­—åˆ—ãƒªãƒ†ãƒ©ãƒ«ã‚’popã—ï¼Œæœ€å¾Œã®æ–‡å­—ï¼ˆ|}|ã‚’é™¤ãï¼‰ãŒãƒ”ãƒªã‚ªãƒ‰é¡ž
  \codechar{.}\codechar{?}\codechar{!}ã®ã„ãšã‚Œã§ã‚‚ãªã„ã¨ãã«
  \codechar{.}ã‚’æœ€å¾Œã«åŠ&nbsp;ãˆã‚‹çµ„è¾¼é–¢æ•°ã§ã‚ã‚‹ï¼Ž

  \pBibTeX ã§ã¯ï¼Œå…¨è§’ã®\codechar{ï¼}\codechar{ï¼Ÿ}\codechar{ï¼Ž}\codechar{ã€‚}
  ï¼ˆãã‚Œãžã‚ŒU+FF01, U+FF1F, U+3002, U+FF0Eï¼‰ã‚‚ãƒ”ãƒªã‚ªãƒ‰é¡žã¨ã¿ãªã—ï¼Œ
  ã“ã‚Œã‚‰ã§çµ‚ã‚ã£ã¦ã‚‚\codechar{.}ã‚’ä»˜åŠ&nbsp;ã—ãªã„ï¼Ž

  \upBibTeX ã§ã¯ã•ã‚‰ã«U+203C, U+203D\footnote{%
  U+203Dã‚’ãƒ”ãƒªã‚ªãƒ‰é¡žã¨ã¿ãªã™ä»•æ§˜ã¯ãƒãƒ¼ã‚¸ãƒ§ãƒ³u1.29 (\TL~2023)ä»¥é™ï¼Ž}, %
  U+2047, U+2048, U+2049ã‚‚ãƒ”ãƒªã‚ªãƒ‰é¡žã¨ã¿ãªã™ï¼Ž

 \item |format.name$|\\
  æ–‡å­—åˆ—ï¼ˆãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆæŒ‡å®šï¼‰ï¼Œæ•´æ•°å€¤ï¼ˆä½•ç•ªã‚ã‹ï¼‰ï¼Œæ–‡å­—åˆ—ï¼ˆåå‰ãƒªã‚¹ãƒˆï¼‰ã‚’popã—ï¼Œ
  ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã•ã‚ŒãŸåå‰ã®æ–‡å­—åˆ—ã‚’pushã™ã‚‹çµ„è¾¼é–¢æ•°ã§ã‚ã‚‹ï¼Ž\\
  (u)\pBibTeX ã§ã¯ï¼Œæ—¥æœ¬äººã®å§“åã®é–“ã®ã‚¹ãƒšãƒ¼ã‚¹ã¨ã—ã¦å…¨è§’ç©ºç™½U+3000ã‚‚
  åŠè§’ç©ºç™½ã¨åŒã˜ã¨ã¿ãªã—ï¼ˆå…¨è§’ç©ºç™½ã¯åŠè§’ç©ºç™½ã«å¤‰æ›ã—ã¦å‡¦ç†ï¼‰ï¼Œ
  ã¾ãŸè¤‡æ•°ã®æ°åé–“ã®åŒºåˆ‡ã‚Šã¨ã—ã¦|and|ã¨åŒæ§˜ã«
  å…¨è§’ã®èª­ç‚¹\codechar{ã€}ã¨ã‚³ãƒ³ãƒž\codechar{ï¼Œ}ï¼ˆãã‚Œãžã‚ŒU+FF0C, U+3001ï¼‰ã‚‚ä½¿ãˆã‚‹ï¼Ž

 \item |change.case$|\\
  å¤‰æ›å¯¾è±¡ã®æ–‡å­—åˆ—ã¨å¤‰æ›æ–¹æ³•ã®æ–‡å­—ã‚’popã—ï¼Œ
  å¤§æ–‡å­—å°æ–‡å­—å¤‰æ›ã‚’æ–½ã—ãŸæ–‡å­—åˆ—ã‚’pushã™ã‚‹çµ„è¾¼é–¢æ•°ã§ã‚ã‚‹ï¼Ž
  å¤‰æ›æ–¹æ³•ã®æ–‡å­—ã¯|l|, |u|, |t|ã§ï¼Œãã‚Œãžã‚Œ
  å°æ–‡å­—ã¸ã®å¤‰æ›ï¼Œå¤§æ–‡å­—ã¸ã®å¤‰æ›ï¼Œã‚¿ã‚¤ãƒˆãƒ«ã‚±ãƒ¼ã‚¹ï¼ˆèªžé&nbsp;­ãŒå¤§æ–‡å­—ã§ä»–ãŒå°æ–‡å­—ï¼‰
  ã¸ã®å¤‰æ›ã‚’ç¤ºã™ï¼Ž
  ã‚‚ã—ã“ã‚ŒãŒä¸éƒ½åˆã§æ–‡å­—åˆ—ã®ä¸€éƒ¨ã‚’å¤‰æ›ã—ãŸããªã„å&nbsp;´åˆã¯ï¼Œ
  å¯¾è±¡ã®éƒ¨åˆ†ã‚’æ³¢æ‹¬å¼§|{|ã¨|}|ã§å›²ã‚€ã“ã¨ã«ã‚ˆã‚Šå¤‰æ›ãªã—ã«å‡ºæ¥ã‚‹ï¼Ž\\
  å¾“æ¥ã¯å¤§æ–‡å­—å°æ–‡å­—å¤‰æ›ãŒè¡Œã‚ã‚Œã‚‹æ–‡å­—é›†åˆã¯ASCIIã®ã‚¢ãƒ«ãƒ•ã‚¡ãƒ™ãƒƒãƒˆã«é™ã‚‰ã‚Œã¦ã„ãŸãŒï¼Œ
  \upBibTeX ãƒãƒ¼ã‚¸ãƒ§ãƒ³u1.29 (\TL~2023)ä»¥é™ã§ã¯
  ã•ã‚‰ã«Latin-1, Latin Extended-A, Greek and Coptic, Cyrillic,
  Cyrillic Supplementãƒ–ãƒ­ãƒƒã‚¯ã®æ–‡å­—ã‚‚å¤‰æ›å¯¾è±¡ã¨ã™ã‚‹ã‚ˆã†ã«æ‹¡å¼µ
  \footnote{\pBibTeX ã§ã¯ã‚®ãƒªã‚·ãƒ£æ–‡å­—ãƒ»ã‚­ãƒªãƒ«æ–‡å­—ã‚’å…¨è§’æ–‡å­—ã¨ã—ã¦æ‰±ã£ã¦ããŸ
  é•·å¹´ã®æ…£ç¿’ã«å¾“ã„ï¼Œã‚®ãƒªã‚·ãƒ£æ–‡å­—ãƒ»ã‚­ãƒªãƒ«æ–‡å­—ã®å¤§æ–‡å­—å°æ–‡å­—å¤‰æ›ã¯
  è¡Œã‚ãªã„ä»•æ§˜ã‚’ç¶­æŒã—ã¦ã„ã‚‹ï¼Ž
  ã¾ãŸ\pBibTeX, \upBibTeX ã¨ã‚‚ã«å…¨è§’ãƒ©ãƒ†ãƒ³æ–‡å­—ï¼ˆU+FF21..FF3A, U+FF41..FF5A,
  ï¼¡ï¼¢ï¼£ãªã©ï¼‰ã®å¤§æ–‡å­—å°æ–‡å­—å¤‰æ›ã¯è¡Œã‚ãªã„ï¼Ž}ã—ãŸï¼Ž
\end{itemize}

\subsection{æ—¥æœ¬èªžæ–‡å­—ã¨ãã‚Œä»¥å¤–ã®åŒºåˆ¥}

\begin{itemize}
 \item |is.kanji.str$|\\
  (u)\pBibTeX ç‹¬è‡ªã®çµ„è¾¼é–¢æ•°ã§ã‚ã‚‹ï¼Ž
  ã‚¹ã‚¿ãƒƒã‚¯ãƒˆãƒƒãƒ—ã®æ–‡å­—åˆ—ãƒªãƒ†ãƒ©ãƒ«ã‚’popã—ï¼Œ
  æ–‡å­—åˆ—ä¸­ã«ã€Œæ—¥æœ¬èªžæ–‡å­—ã€ãŒ1ã¤ã§ã‚‚å«ã¾ã‚Œã¦ã„ã‚Œã°æ•´æ•°å€¤1ã‚’ï¼Œ
  å«ã¾ã‚Œãªã‘ã‚Œã°0ã‚’pushã™ã‚‹ï¼Ž
  ãªãŠï¼Œã€Œæ—¥æœ¬èªžæ–‡å­—ã€ã‹ã©ã†ã‹ã®åˆ¤å®šã¯ä»¥ä¸‹ã®ã‚ˆã†ã«è¡Œã†ï¼Ž
  \begin{itemize}
   \item \pBibTeX ã®å&nbsp;´åˆ\\
    ASCIIã®ç¯„å›²(0--127)ã«åŽã¾ã‚‰ãªã„æ–‡å­—ã‚’å…¨ã¦ã€Œæ—¥æœ¬èªžæ–‡å­—ã€ã¨ã—ã¦æ‰±ã†ï¼Ž
   \item \upBibTeX ï¼ˆå†…éƒ¨ã‚³ãƒ¼ãƒ‰|uptex|ï¼‰ã®å&nbsp;´åˆ\\
    æ¼¢å­—ãƒ»ã‹ãªãƒ»ãƒãƒ³ã‚°ãƒ«ã«è©²å½“ã™ã‚‹Unicodeãƒ–ãƒ­ãƒƒã‚¯ã®æ–‡å­—ã‚’ã€Œæ—¥æœ¬èªžæ–‡å­—ã€ã¨
    ã—ã¦æ‰±ã†\footnote{å®Ÿè£…ä¸Šã¯\upTeX ã®\.{kcatcode}ã¨åŒã˜ãƒ–ãƒ­ãƒƒã‚¯åˆ†ã‘ã‚’æµç”¨ã—ã¦
    ã„ã‚‹ã®ã§ãã‚Œã«å³ã—ã¦è¨˜è¿°ã™ã‚‹ã¨ï¼Œæ—¢å®šå€¤ãŒ16 (kanji), 17 (kana), 19 (hangul)ã®
    ãƒ–ãƒ­ãƒƒã‚¯ã‚’çœŸï¼Œ15 (latin), 18 (CJK symbol)ã®ãƒ–ãƒ­ãƒƒã‚¯ã‚’å½ã¨ã—ã¦ã„ã‚‹ï¼Ž}ï¼Ž
    \pBibTeX ã¨ã¯ç•°ãªã‚Šï¼Œè¨˜å·é¡žï¼ˆå¥èª­ç‚¹ï¼Œæ‹¬å¼§é¡žï¼Œâ—â—‹â–&nbsp;â–¡â—†â—‡ãªã©ï¼‰ã¯ã€Œæ—¥æœ¬èªžæ–‡å­—ã€ã¨
    ã—ã¦æ‰±ã‚ãªã„ï¼ˆãƒãƒ¼ã‚¸ãƒ§ãƒ³u1.27 (\TL~2021)ä»¥é™\cite{tjb109}ï¼‰ï¼Ž
  \end{itemize}
\end{itemize}

(u)\pBibTeX ç”¨ã®ã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã§ã¯ï¼Œã—ã°ã—ã°è‘—è€…åã®ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆã§
ã€Œæ—¥æœ¬äººã®å§“åã®é–“ã«ã¯ã‚¹ãƒšãƒ¼ã‚¹ã‚’å…¥ã‚Œãªã„ã€ã¨ã„ã†æŒ™å‹•ã‚’å®Ÿç¾ã™ã‚‹ãŸã‚ã«
|is.kanji.str$|é–¢æ•°ãŒå®Ÿç”¨ã•ã‚Œã¦ã„ã‚‹ã—ï¼Œ
ä»–ã«ã‚‚``, et~al.''ã®ä»£ã‚ã‚Šã«ã€Œã»ã‹ã€ã¨ã—ãŸã‚Š``Vol.~2''ã®ä»£ã‚ã‚Šã«ã€Œç¬¬2å·»ã€ã¨
ã—ãŸã‚Šã¨ã„ã£ãŸãƒ­ãƒ¼ã‚«ãƒ©ã‚¤ã‚ºã«ã‚‚å¤šç”¨ã•ã‚Œã¦ã„ã‚‹ï¼Ž

\begin{dangerous}
  |is.kanji.str$|ã«ã¤ã„ã¦ï¼Œ\pBibTeX ã¯æ¾äº•æ°ã®\JBibTeX ã®ä»•æ§˜ã‚’è¸è¥²ã—ã¦ã„ã‚‹ï¼Ž
  \upBibTeX ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³u1.27ä»¥é™ã§ã¯ä¸Šè¨˜ã®èª¿æ•´ã‚’è¡Œã£ã¦ã„ã‚‹ãŒï¼Œã“ã‚Œã¯
  \begin{itemize}
   \item |is.kanji.str$|ãŒã€Œæ—¥æœ¬èªžæ–‡å­—ã€ãŒ
         \emph{æœ€ä½Ž1ã¤ã§ã‚‚å«ã¾ã‚Œã¦ã„ã‚Œã°}çœŸã¨ãªã‚‹ã“ã¨
   \item å„ç¨®ã‚¹ã‚¿ã‚¤ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã§ã€Œè‘—è€…åã®æ–‡å­—åˆ—ã«ã¤ã„ã¦
         |is.kanji.str$|ãŒçœŸãªã‚‰ã°å§“åã®é–“ã«ã‚¹ãƒšãƒ¼ã‚¹ã‚’å…¥ã‚Œãªã„ã¨ã„ã†
         ä½¿ã‚ã‚Œæ–¹ãŒå¤šã„ã“ã¨
  \end{itemize}
  ã‚’è¸ã¾ãˆãŸã‚‚ã®ã§ã‚ã‚‹ï¼Žå°‘ãªãã¨ã‚‚ãƒ©ãƒ†ãƒ³æ–‡å­—(15)ã¯ASCIIã®ç¯„å›²(0--127)ã«
  åŽã¾ã‚‰ãªã„ãŒæ¬§æ–‡æ‰±ã„ã•ã‚ŒãŸã»ã†ãŒéƒ½åˆãŒã‚ˆã„ã—ï¼Œ
  ã•ã‚‚ãªã„ã¨Erwin SchrÃ¶dingerã®ã‚ˆã†ãªå§“åã®é–“ã®ã‚¹ãƒšãƒ¼ã‚¹ãŒå¤±ã‚ã‚Œã¦ã—ã¾ã†ï¼Ž
  ã¾ãŸï¼Œè¨˜å·é¡ž(18)ã®ä¸€éƒ¨ã¯æ¬§æ–‡ã®æ–‡è„ˆã§ä½¿ã‚ã‚Œã‚‹å¯èƒ½æ€§ã‚‚ã‚ã‚‹\footnote{ã•ã‚‰ã«è¨€ãˆã°
  ã‚®ãƒªã‚·ãƒ£æ–‡å­—ã¨ã‚­ãƒªãƒ«æ–‡å­—ã‚‚ä¸€éƒ¨JIS~X~0208ã«å«ã¾ã‚Œï¼Œ(u)\pTeX ã®æ—¢å®šã§å’Œæ–‡æ‰±ã„
  ã•ã‚Œã‚‹ï¼ˆã„ã‚ã‚†ã‚‹å…¨è§’æ–‡å­—ã§ã‚ã‚‹ï¼‰ã—ï¼Œ\upTeX ã§ã®\.{kcatcode}ã¯ã¨ã‚‚ã«18ã§
  è¨˜å·é¡žã¨åŒã˜æ‰±ã„ã§ã‚ã‚‹ï¼ˆã¡ãªã¿ã«\pTeX ã§ã¯ã‚®ãƒªã‚·ãƒ£æ–‡å­—ã¯17ï¼Œã‚­ãƒªãƒ«æ–‡å­—ã¯18ï¼‰ï¼Ž}ï¼Ž
  ä¸Šè¨˜ã®èª¿æ•´ã‚’è¡Œã†ã“ã¨ã§ï¼Œæ–‡å­—åˆ—å…¨ä½“ã§è¦‹ãŸã¨ãã«ã€Œæ—¥æœ¬èªžã®æ–‡è„ˆãªã‚‰çœŸï¼Œ
  ãã†ã§ãªã‘ã‚Œã°å½ã€ã¨ãªã‚‹ã®ã§éƒ½åˆãŒã‚ˆã„ã¨ã„ã†ç®—æ®µã§ã‚ã‚‹ï¼Ž
  ãªãŠï¼Œæ¼¢å­—ãƒ»ã‹ãªãƒ»ãƒãƒ³ã‚°ãƒ«ã®æ–‡å­—ã§çœŸã¨ã—ã¦ã„ã‚‹ã®ã¯ï¼Œæ—¥æœ¬äººãƒ»ä¸­å›½äººãƒ»éŸ“å›½äººã®
  å§“åã®é–“ã«ã¯ã‚¹ãƒšãƒ¼ã‚¹ã‚’å…¥ã‚Œãªã„è¨˜æ³•ãŒã‚ˆãè¡Œã‚ã‚Œã‚‹ã“ã¨ã«ä¾ã‚‹ï¼Ž
\end{dangerous}

\subsection{ãã®ä»–è©³ç´°}\label{sec:jnewline}

(u)\pBibTeX ã¯ï¼Œæ–‡çŒ®ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ï¼ˆBIBãƒ•ã‚¡ã‚¤ãƒ«ï¼‰ã‚’èª­ã¿è¾¼ã‚“ã§æ–‡çŒ®ãƒªã‚¹ãƒˆï¼ˆBBLãƒ•ã‚¡ã‚¤ãƒ«ï¼‰ã‚’
å‡ºåŠ›ã™ã‚‹ãŒï¼Œãƒ•ã‚¡ã‚¤ãƒ«ã®è¡Œæœ«ã®æ‰±ã„ã¯ä»¥ä¸‹ã®ã¨ãŠã‚Šã§ã‚ã‚‹ï¼Ž% r62001 (2022-02-08)
\begin{itemize}
 \item \emph{å…¥åŠ›BIBãƒ•ã‚¡ã‚¤ãƒ«å†…}ã®æ”¹è¡Œã¯ï¼Œ(u)\pBibTeX ã§ã¯ä¸€å¾‹ã«åŠè§’ç©ºç™½ã¨åŒæ§˜ã«æ‰±ã‚ã‚Œã‚‹ï¼Ž
   ã™ãªã‚ã¡ï¼Œ(u)\pTeX ã¨ã¯ç•°ãªã‚Š\emph{æ—¥æœ¬èªžæ–‡å­—ç›´å¾Œã®æ”¹è¡Œã‚‚åŠè§’ç©ºç™½ã¨ç­‰ä¾¡ã§ã‚ã‚‹}ï¼Ž
 \item \emph{BBLãƒ•ã‚¡ã‚¤ãƒ«ã®å‡ºåŠ›æ™‚}ã«ï¼Œé•·ã„ã‚¨ãƒ³ãƒˆãƒªã‚’ä¸€è¡Œã«å‡ºåŠ›ã™ã‚‹ã‹è¤‡æ•°è¡Œã«åˆ†å‰²ã™ã‚‹ã‹æ±ºå®š
   ã™ã‚‹å&nbsp;´é¢ã«ãŠã„ã¦ï¼Œã‚ªãƒªã‚¸ãƒŠãƒ«ã®\BibTeX ã¯ä»»æ„ã®åŠè§’ç©ºç™½ã‚’åˆ†å‰²å¯èƒ½ç®‡æ‰€ã¨ã¿ãªã™
   \footnote{\BibTeX~0.99cä»¥å‰ã§ã¯åŠè§’ç©ºç™½ä»¥å¤–ã®ç®‡æ‰€ã‚‚è¡Œæœ«ã«\code{\%}ã‚’è£œã£ã¦æ”¹è¡Œã•ã‚ŒãŸ
   ãŒï¼Œ2010å¹´ã®0.99dã§URLãªã©ã®é•·ã„æ–‡å­—åˆ—ã‚’å£Šã•ãªã„ã‚ˆã†ã«åŠè§’ç©ºç™½ä»¥å¤–ã§ã®åˆ†å‰²ãŒ
   ç¦æ­¢ã•ã‚ŒãŸï¼Ž}ãŒï¼Œ(u)\pBibTeX~j0.34 (\TL~2022)ä»¥é™ã¯\emph{æ—¥æœ¬èªžæ–‡å­—ã®ç›´å¾Œã§ãªã„
   åŠè§’ç©ºç™½ã®ã¿ã‚’åˆ†å‰²å¯èƒ½ç®‡æ‰€ã¨ã¿ãªã™}ï¼Žã“ã‚Œã¯ï¼Œå…ƒã€…BIBãƒ•ã‚¡ã‚¤ãƒ«ã«ã‚ã£ãŸæ—¥æœ¬èªžæ–‡å­—ç›´å¾Œã®
   åŠè§’ç©ºç™½ãŒä»®ã«BBLãƒ•ã‚¡ã‚¤ãƒ«ã§æ”¹è¡Œã«ç½®æ›ã•ã‚Œã‚Œã°ï¼Œ(u)\pTeX ã§ã®èª­è¾¼æ™‚ã«ã€Œæ—¥æœ¬èªžæ–‡å­—ç›´å¾Œã®
   æ”¹è¡Œã¯ç©ºç™½ã‚’ç™ºç”Ÿã—ãªã„ã€ã¨ã„ã†ä»•æ§˜ã«ã‚ˆã‚ŠåŠè§’ç©ºç™½ãŒæ¶ˆãˆã¦ã—ã¾ã†ãŸã‚ã§ã‚ã‚‹\cite{tjb132}ï¼Ž
   % ã“ã“ã§ã®ã€Œæ—¥æœ¬èªžæ–‡å­—ã€ã¯\pBibTeX/\upBibTeX ã¨ã‚‚ã«å˜ã«ã€ŒASCIIã®ç¯„å›²(0--127)ã«
   % åŽã¾ã‚‰ãªã„æ–‡å­—ã€ã¨ã—ã¦ã„ã‚‹ï¼ˆ\upBibTeX ã§ã‚‚|is.kanji.str$|ã®ã‚ˆã†ãªèª¿æ•´ã¯è¡Œã‚ãªã„ã—
   % æ•¢ãˆã¦æ”¹è¡Œã‚’å¢—ã‚„ã™å¿…è¦ã¯ãªã„ï¼‰ï¼Ž
\end{itemize}


\section{ã‚³ãƒžãƒ³ãƒ‰ãƒ©ã‚¤ãƒ³ã‚ªãƒ—ã‚·ãƒ§ãƒ³}\label{sec:commandline_option}

åŸºæœ¬çš„ã«ã¯\BibTeX ã¨åŒæ§˜ã§ã‚ã‚‹ãŒï¼Œä»¥ä¸‹ãŒè¿½åŠ&nbsp;ã•ã‚Œã¦ã„ã‚‹ï¼Ž
\begin{itemize}
 \item |-kanji=|&lt;encoding&gt;\\
   å…¥å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æ–‡å­—ã‚³ãƒ¼ãƒ‰ã‚’æŒ‡å®šã™ã‚‹ï¼Ž
   åˆ©ç”¨å¯èƒ½ãª&lt;encoding&gt;ã®å€¤ï¼š
   \begin{itemize}
    \item \pBibTeX ï¼š\code{euc}, \code{sjis}, \code{jis}, \code{utf8}
    \item \upBibTeX ï¼š\code{euc}, \code{sjis}, \code{jis}, \code{utf8}, \code{uptex}
   \end{itemize}
 \item |-kanji-internal=|&lt;encoding&gt;\\
   å†…éƒ¨ã‚³ãƒ¼ãƒ‰ã‚’æŒ‡å®šã™ã‚‹ï¼ˆ\upBibTeX å°‚ç”¨ï¼‰ï¼Ž
   åˆ©ç”¨å¯èƒ½ãª&lt;encoding&gt;ã®å€¤ï¼š
   \begin{itemize}
    \item \pBibTeX ï¼šãªã—ï¼ˆå¸¸ã«\code{euc}ã«å›ºå®šï¼‰
    \item \upBibTeX ï¼š\code{euc}, \code{uptex}
   \end{itemize}
 \item |-guess-input-enc|, |-no-guess-input-enc|\\
   å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æ–‡å­—ã‚³ãƒ¼ãƒ‰ã‚’æŽ¨å®šã™ã‚‹æ©Ÿèƒ½ã‚’æœ‰åŠ¹/ç„¡åŠ¹ã«ã™ã‚‹ï¼Ž
   kpathsearchãƒ©ã‚¤ãƒ–ãƒ©ãƒªå¤‰æ•°|guess_input_kanji_encoding|ã‚ˆã‚Šã‚‚ã“ã¡ã‚‰ãŒå„ªå…ˆã•ã‚Œã‚‹ï¼Žï¼ˆ\TL~2023ä»¥é™ï¼‰
\end{itemize}


\section{kpathsearchãƒ©ã‚¤ãƒ–ãƒ©ãƒªå¤‰æ•°}\label{sec:kpathsearch}

å‡ºåŠ›è¡Œã®é•·ã•ã®æœ€å¤§ã‚’æŒ‡å®šã™ã‚‹å¤‰æ•°|max_print_line|ï¼ˆãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤79ï¼‰ãŒ
((u)p)\BibTeX ã§ã¯å¾“æ¥ãƒãƒ¼ãƒ‰ã‚³ãƒ¼ãƒ‰ã•ã‚Œå›ºå®šã•ã‚Œã¦ã„ãŸãŒï¼Œ
\TL~2023ä»¥é™kpathsearchãƒ©ã‚¤ãƒ–ãƒ©ãƒªã®å¤‰æ•°ã«ãªã£ãŸï¼Ž
ã“ã‚Œã«ä¼´ã„\file{texmf.cnf}ã®ä¸­ã‚„ç’°å¢ƒå¤‰æ•°ãªã©ã§è¨­å®šå¤‰æ›´ãŒå¯èƒ½ã«ãªã£ãŸï¼Ž

å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æ–‡å­—ã‚³ãƒ¼ãƒ‰ã‚’æŽ¨å®šã™ã‚‹æ©Ÿèƒ½ãŒå®Ÿè£…ã•ã‚Œ
å¤‰æ•°|guess_input_kanji_encoding|ã§åˆ¶å¾¡ã§ãã‚‹ã‚ˆã†ã«ãªã£ãŸï¼ˆ\TL~2023ä»¥é™ï¼‰ï¼Ž
\pBibTeX ã§ã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤1ï¼ˆæŽ¨å®šã™ã‚‹ï¼‰ï¼Œ
\upBibTeX ã§ã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆå€¤0ï¼ˆæŽ¨å®šã—ãªã„ï¼‰ã¨ãªã£ã¦ã„ã‚‹ï¼Ž

\section{å‚è€ƒï¼š\JBibTeX ã¨\pBibTeX ã®é•ã„}\label{diff}

æ¾äº•æ°ã«ã‚ˆã‚‹\JBibTeX~0.31ï¼ˆ\BibTeX~0.99cãƒ™ãƒ¼ã‚¹ï¼‰ã‹ã‚‰
ç¾åœ¨ã®\pBibTeX ã«è‡³ã£ãŸçµŒç·¯ã¯ä»¥ä¸‹ã®ã¨ãŠã‚Šã§ã‚ã‚‹ï¼Ž
\begin{itemize}
 \item 1994å¹´ï¼Œéƒ½ç«‹å¤§ï¼ˆã®ã¡åƒè‘‰å¤§ï¼‰ã®æ¡œäº•è²´æ–‡æ°ã«ã‚ˆã‚Šï¼Œ
   \JTeX~1.6 (web2c~6.1)ã®é…å¸ƒã‚­ãƒƒãƒˆã«å«ã‚ã‚‹ãŸã‚ã®èª¿æ•´ â†’ \JBibTeX~0.32
 \item 1995å¹´ï¼Œã‚¢ã‚¹ã‚­ãƒ¼\pTeX ã®é…å¸ƒã‚­ãƒƒãƒˆã«å«ã‚ã‚‹ãŸã‚ã®èª¿æ•´
 \item 2002å¹´ï¼Œã‚¢ã‚¹ã‚­ãƒ¼ã«ã‚ˆã‚Š|-kanji|ã‚ªãƒ—ã‚·ãƒ§ãƒ³ã®è¿½åŠ&nbsp; â†’ \JBibTeX~0.33
 \item 2009å¹´ï¼Œæ—¥æœ¬èªž\TeX é–‹ç™ºã‚³ãƒŸãƒ¥ãƒ‹ãƒ†ã‚£ãŒ\JBibTeX ã‚’ãƒ•ã‚©ãƒ¼ã‚¯ã—ï¼Œ\pBibTeX ã«æ”¹å
 \item 2010å¹´ï¼Œ\pBibTeX ãŒ\pTeX ã¨ã¨ã‚‚ã«\TL ã¸åŽéŒ²ã•ã‚Œã‚‹ï¼Žã®ã¡ã«\BibTeX~0.99då¯¾å¿œ
 \item 2012å¹´ï¼Œ\upBibTeX ãŒ\upTeX ã¨ã¨ã‚‚ã«\TL ã¸åŽéŒ²ã•ã‚Œã‚‹ï¼Ž
 \item 2022å¹´ï¼Œå‡ºåŠ›BBLãƒ•ã‚¡ã‚¤ãƒ«ã§ã®è¡Œåˆ†å‰²ã®æ”¹è‰¯ï¼ˆç¬¬\ref{sec:jnewline}ç¯€ã‚’å‚ç…§ï¼‰\\
   |substring$|é–¢æ•°ã®æ”¹è‰¯ï¼ˆç¬¬\ref{sec:substring}ç¯€ã‚’å‚ç…§ï¼‰ â†’ \pBibTeX~j0.34
 \item |int.to.chr$|, |chr.to.int$|é–¢æ•°ã®æ‹¡å¼µ
   ï¼ˆç¬¬\ref{sec:substring}ç¯€ã‚’å‚ç…§ï¼‰ â†’ \pBibTeX~j0.35\\
   |change.case$|é–¢æ•°ã®æ‹¡å¼µï¼ˆç¬¬\ref{sec:charset}ç¯€ã‚’å‚ç…§ï¼‰ â†’ \upBibTeX~u1.29\\
   |max_print_line|ã®kpathsearchãƒ©ã‚¤ãƒ–ãƒ©ãƒªå¤‰æ•°åŒ–ï¼ˆç¬¬\ref{sec:kpathsearch}ç¯€ã‚’å‚ç…§ï¼‰\\
   å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æ–‡å­—ã‚³ãƒ¼ãƒ‰ã®æŽ¨å®šæ©Ÿèƒ½ã‚’è¿½åŠ&nbsp;ï¼ˆç¬¬\ref{sec:commandline_option}, \ref{sec:kpathsearch}ç¯€ã‚’å‚ç…§ï¼‰
 \item 2023å¹´ï¼Œ\pBibTeX ã¨\upBibTeX ã®ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰ï¼Œãƒã‚¤ãƒŠãƒªã‚’çµ±åˆ\cite{tjb154}ï¼Ž
   \pBibTeX ã¯\upBibTeX ã¸ã®ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒªãƒ³ã‚¯ã¨ãªã‚‹ãŒä½¿ç”¨æ³•ã¯å¤‰ã‚ã‚‰ãªã„ â†’ \pBibTeX~j0.36
\end{itemize}

\JBibTeX ã¯å½“åˆNTT \JTeX ã¨çµ„ã¿åˆã‚ã›ã¦ä½¿ç”¨ã™ã‚‹ã“ã¨ã‚’æƒ³å®šã—ã¦é–‹ç™ºã•ã‚ŒãŸãŸã‚ï¼Œ
æ–‡å­—ã‚³ãƒ¼ãƒ‰ã«é–¢ã™ã‚‹æ‰±ã„ã«NTT \JTeX ç”±æ¥ã®ã‚‚ã®ãŒå¤šã‹ã£ãŸï¼Ž
ã“ã‚Œã‚‰ã¯ã‚³ãƒžãƒ³ãƒ‰åãŒ|jbibtex|ã‹ã‚‰|pbibtex|ï¼ˆ\pTeX ã¨åŒã˜æŽ¥é&nbsp;­è¾žï¼‰
ã«æ”¹åã•ã‚ŒãŸ2009å¹´ã«å‰Šé™¤ã•ã‚ŒãŸ\cite{ptexlive}ãŸã‚ï¼Œ\pBibTeX ã¯\JBibTeX ã¨
ä»¥ä¸‹ã®ç‚¹ã§ç•°ãªã£ã¦ã„ã‚‹ï¼š
\begin{itemize}
 \item JISã‚³ãƒ¼ãƒ‰ã«ãŠã„ã¦æ—¥æœ¬èªžæ–‡å­—ã‚³ãƒ¼ãƒ‰é–‹å§‹ãƒ»çµ‚äº†ã‚’ç¤ºã™
  ç¨®ã€…ã®ã‚¨ã‚¹ã‚±ãƒ¼ãƒ—ãƒ»ã‚·ãƒ¼ã‚±ãƒ³ã‚¹ï¼ˆ|ESC$@|ã¨|ESC$B|ï¼Œ|ESC(J|ã¨|ESC(B|ãªã©ï¼‰ã‚’åŒºåˆ¥ã—ãªã„ï¼Ž
 \item ç’°å¢ƒå¤‰æ•°|BIBTERMCODE|, |BIBFILECODE|\footnote{æ¾äº•æ°ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆ
  \file{jbibtex.pdf} \cite{jbibtex}ã®ã€Œ3.3 æ¼¢å­—ã‚³ãƒ¼ãƒ‰ã®æ‰±ã„ã€ãŠã‚ˆã³
  \file{jbtxdoc.pdf} \cite{jbtxdoc}ã®ã€Œ1. æ¦‚è¦ã€ã®\JBibTeX ã§ã®æ³¨æ„ç‚¹ã¨ã—ã¦
  è¨€åŠã•ã‚Œã¦ã„ã‚‹ã‚‚ã®ï¼Ž}ã¯ï¼Œ\pBibTeX ã§ã¯å‚ç…§ã•ã‚Œãªã„ï¼Ž
\end{itemize}


\clearpage
\begin{thebibliography}{99}
 \bibitem{jbibtex} æ¾äº•æ­£ä¸€ï¼Œã€Œæ—¥æœ¬èªž\BibTeX ï¼š\JBibTeXã€ï¼Œ
  \file{./jbibtex.pdf}
 \bibitem{jbtxdoc} æ¾äº•æ­£ä¸€ï¼Œã€Œ\BibTeX ingï¼š\BibTeX ã®ä½¿ã„æ–¹ã€ï¼Œ
  \file{./jbtxdoc.pdf}
 \bibitem{jbtxhak} æ¾äº•æ­£ä¸€ï¼Œã€ŒDesigning \BibTeX\ Styles --- \BibTeX ã‚¹ã‚¿ã‚¤ãƒ«ã®ä½œã‚Šæ–¹ã€ï¼Œ
  \file{./jbtxhak.pdf}
 \bibitem{ptexlive} åœŸæ‘å±•ä¹‹ï¼Œã€Œã‚³ãƒžãƒ³ãƒ‰åå•é¡Œ - ptexlive Wikiã€\\
  \url{https://tutimura.ath.cx/ptexlive/?%A5%B3%A5%DE%A5%F3%A5%C9%CC%BE%CC%E4%C2%EA}
 \bibitem{tjb109} Haruhiko Okumuraï¼Œã€Œupbibtexã§åã¨å§“ã®é–“ã®ã‚¹ãƒšãƒ¼ã‚¹ãŒæ¶ˆãˆã‚‹ã€ï¼Œ
  2020/10/11,\\
  \url{https://github.com/texjporg/tex-jp-build/issues/109}
 \bibitem{tjb132} Hironobu Yamashitaï¼Œã€Œ(u)pbibtexã§å’Œæ–‡æ–‡å­—ç›´å¾Œã®åŠè§’ã‚¹ãƒšãƒ¼ã‚¹ã§æ”¹è¡ŒãŒèµ·ãã‚‹ã€ï¼Œ
  2022/02/07,\\
  \url{https://github.com/texjporg/pbibtex-manual/issues/1}
 \bibitem{tjb133} Hironobu Yamashitaï¼Œã€Œ(u)pbibtex: freeze at en-dash etc. + sieicej.bstã€ï¼Œ
  2022/02/19,\\
  \url{https://github.com/texjporg/tex-jp-build/issues/133}
 \bibitem{tjb139} Takuji Tanakaï¼Œã€Œbibtexuã®æ—¥æœ¬èªž(CJK)å¯¾å¿œã€ï¼Œ
  2022/04/16,\\
  \url{https://github.com/texjporg/tex-jp-build/issues/139}
 \bibitem{tjb142} Takuji Tanakaï¼Œã€Œ[ptexenc] å…¥åŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã®æ–‡å­—ã‚³ãƒ¼ãƒ‰ã®è‡ªå‹•åˆ¤å®šã€ï¼Œ
  2022/06/05,\\
  \url{https://github.com/texjporg/tex-jp-build/issues/142}
 \bibitem{tjb154} Takuji Tanakaï¼Œã€Œ(u)pbibtex ãƒã‚¤ãƒŠãƒªã®æ•´ç†çµ±åˆã€ï¼Œ
  2022/11/30,\\
  \url{https://github.com/texjporg/tex-jp-build/issues/154}
\end{thebibliography}

\end{document}
</pre></body></html>