udlineパッケージがインストールできない

udlineパッケージがインストールできない

- t t の投稿
返信数: 4
macOS Monterey バージョン12.3.1、M1チップのmacbookair
で TeXlive2021を利用しています。
udlineパッケージを利用したく、styファイルをダウンロードした上で、
/usr/local/texlive/texmf-local/tex/latex/udline
のフォルダ内にudline.styを配置し、sudo mktexlsrを実行しました。
結果として、ls-R内には
./tex/latex/udline:
.DS_Store
udline.sty
という記述が出ているため、おそらくここまでは成功しています。
ところが、
\documentclass[uplatex,dvipdfmx,a4paper,11pt,twoside]{jsarticle}
\usepackage{udline}
\begin{document}
aa
\end{document}
というtexファイルをタイプセットしてもエラーが出ます。
コンパイルログの謎の文字化けが、macの解凍の問題かと思い、Windowsパソコンで解凍したものを使っても不具合は直りません。また、同じstyファイルをWindowsパソコンで使った場合は不具合が出ないため、styファイルの問題ではないのだろうと思っています。

コンパイルログは次のとおりです。
これはどのようにして解決するべき問題なのでしょうか。皆目見当がつきません

Multiple filename arguments? OK, I'll take the latter one.
Multiple filename arguments? OK, I'll take the latter one.
Multiple filename arguments? OK, I'll take the latter one.
This is ptex2pdf[.lua] version 20200520.0.
Processing /Users/(ユーザー名)/Documents/b数学/tex/230411のコピー
This is e-upTeX, Version 3.141592653-p3.9.0-u1.27-210218-2.6 (utf8.uptex) (TeX Live 2021) (preloaded format=uplatex)
restricted \write18 enabled.
entering extended mode
(/Users/(ユーザー名)/Documents/b数学/tex/230411のコピー.tex
pLaTeX2e <2020-10-01u04>+2 (based on LaTeX2e <2020-10-01> patch level 4)
L3 programming layer <2021-02-18> (/usr/local/texlive/2021/texmf-dist/tex/platex/jsclasses/jsarticle.cls
Document Class: jsarticle 2020/10/09 jsclasses (okumura, texjporg)
(/usr/local/texlive/2021/texmf-dist/tex/platex/jsclasses/jslogo.sty)) (/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Argument of \@pr@videpackage has an extra }.

\par
l.2 \ProvidesPackage{udline}[2005/01/28 ���^^fc�}
�N�� ver2.52�F���[�h���܂�]
Runaway argument?
2005/01/28 ���^^fc�
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Paragraph ended before \@pr@videpackage was complete.

\par
l.2 \ProvidesPackage{udline}[2005/01/28 ���^^fc�}
�N�� ver2.52�F���[�h���܂�]
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Too many }'s.
}

l.2 \ProvidesPackage{udline}[2005/01/28 ���^^fc�}
�N�� ver2.52�F���[�h���܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Package inputenc Error: Invalid UTF-8 byte "83.

See the inputenc package documentation for explanation.
Type H for immediate help.
...

l.2 \ProvidesPackage{udline}[2005/01/28 ���^^fc�}�
N�� ver2.52�F���[�h���܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...

l.2 ...videsPackage{udline}[2005/01/28 ���^^fc�}�N
�� ver2.52�F���[�h���܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Package inputenc Error: Invalid UTF-8 byte "83.

See the inputenc package documentation for explanation.
Type H for immediate help.
...

l.2 ...idesPackage{udline}[2005/01/28 ���^^fc�}�N�
� ver2.52�F���[�h���܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Package inputenc Error: Invalid UTF-8 byte "8D.

See the inputenc package documentation for explanation.
Type H for immediate help.
...

l.2 ...desPackage{udline}[2005/01/28 ���^^fc�}�N��
ver2.52�F���[�h���܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Package inputenc Error: Invalid UTF-8 byte "81.

See the inputenc package documentation for explanation.
Type H for immediate help.
...

l.2 ...e{udline}[2005/01/28 ���^^fc�}�N�� ver2.52�
F���[�h���܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Package inputenc Error: Invalid UTF-8 byte "83.

See the inputenc package documentation for explanation.
Type H for immediate help.
...

l.2 ...udline}[2005/01/28 ���^^fc�}�N�� ver2.52�F�
��[�h���܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Package inputenc Error: Invalid UTF-8 byte "8D.

See the inputenc package documentation for explanation.
Type H for immediate help.
...

l.2 ...dline}[2005/01/28 ���^^fc�}�N�� ver2.52�F��
�[�h���܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Package inputenc Error: Invalid UTF-8 byte "81.

See the inputenc package documentation for explanation.
Type H for immediate help.
...

l.2 ...line}[2005/01/28 ���^^fc�}�N�� ver2.52�F���
[�h���܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Package inputenc Error: Invalid UTF-8 byte "83.

See the inputenc package documentation for explanation.
Type H for immediate help.
...

l.2 ...ne}[2005/01/28 ���^^fc�}�N�� ver2.52�F���[�
h���܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Package inputenc Error: Invalid UTF-8 byte "82.

See the inputenc package documentation for explanation.
Type H for immediate help.
...

l.2 ...}[2005/01/28 ���^^fc�}�N�� ver2.52�F���[�h�
��܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Package inputenc Error: Invalid UTF-8 byte "B5.

See the inputenc package documentation for explanation.
Type H for immediate help.
...

l.2 ...[2005/01/28 ���^^fc�}�N�� ver2.52�F���[�h��
�܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Package inputenc Error: Invalid UTF-8 byte "82.

See the inputenc package documentation for explanation.
Type H for immediate help.
...

l.2 ...2005/01/28 ���^^fc�}�N�� ver2.52�F���[�h���
܂�]

/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:2: Package inputenc Error: Invalid UTF-8 byte "B7.

See the inputenc package documentation for explanation.
Type H for immediate help.
...

l.2 ...5/01/28 ���^^fc�}�N�� ver2.52�F���[�h���܂�
]
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:434: Illegal parameter number in definition of \@udline.

1
l.434 \def\@makeun#1
{% �����ɉ��^^fc�^^f0^^88^^f8�...
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:435: Illegal parameter number in definition of \@udline.

1
l.435 \hskip \z@ plus.5\p@ minus\z@\unl{#1
}}% ���łɒ^^e8^^8b`����\unl�...
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:439: Illegal parameter number in definition of \@udline.

1
l.439 \def\@makeov#1
{% �����ɏ^^e3^^90^^fc�^^f0^^8...
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:440: Illegal parameter number in definition of \@udline.

1
l.440 \hskip \z@ plus.5\p@ minus\z@\ovl{#1
}}% ���łɒ^^e8^^8b`����\ovl�...
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:442: Illegal parameter number in definition of \@udline.

1
l.442 \def\@makeso#1
{% �����ɑŏ^^c1���^^fc�^^f0^^88^^...
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:443: Illegal parameter number in definition of \@udline.

1
l.443 \hskip \z@ plus.5\p@ minus\z@\@@sol{#1
}}%���łɒ^^e8^^8b`����\@@sol�...
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:445: Illegal parameter number in definition of \@udline.

1
l.445 \def\@varmakeun#1
{% �����ɏ^^fc����^^fc�^^f0^^88^^...
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:446: Illegal parameter number in definition of \@udline.

1
l.446 \hskip \z@ plus.5\p@ minus\z@\unc{#1
}}% ���łɒ^^e8^^8b`����\unc�...
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:448: Illegal parameter number in definition of \@udline.

1
l.448 \def\@varmakeov#1
{% �����ɏ^^fc�^^e8^^8f^^e3^^90^^f...
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:449: Illegal parameter number in definition of \@udline.

1
l.449 \hskip \z@ plus.5\p@ minus\z@\ovc{#1
}}% ���łɒ^^e8^^8b`����\ovc�...
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:451: Illegal parameter number in definition of \@udline.

1
l.451 \def\@varmakeso#1
{% �����ɏ^^fc�^^e8^^91ŏ^^c1���^^fc�^...
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:452: Illegal parameter number in definition of \@udline.

1
l.452 \hskip \z@ plus.5\p@ minus\z@\@@soc{#1
}}%���łɒ^^e8^^8b`����\@@soc�...
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:561: Illegal parameter number in definition of \@udline.

1
l.561 \def\unnoko#1
{{\setnoko\unc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:561: Illegal parameter number in definition of \@udline.

1
l.561 \def\unnoko#1{{\setnoko\unc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:562: Illegal parameter number in definition of \@udline.

1
l.562 \def\ovnoko#1
{{\setnoko\ovc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:562: Illegal parameter number in definition of \@udline.

1
l.562 \def\ovnoko#1{{\setnoko\ovc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:563: Illegal parameter number in definition of \@udline.

1
l.563 \def\unoko#1
{{\setnoko\uc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:563: Illegal parameter number in definition of \@udline.

1
l.563 \def\unoko#1{{\setnoko\uc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:564: Illegal parameter number in definition of \@udline.

1
l.564 \def\onoko#1
{{\setnoko\oc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:564: Illegal parameter number in definition of \@udline.

1
l.564 \def\onoko#1{{\setnoko\oc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:565: Illegal parameter number in definition of \@udline.

1
l.565 \def\Eunoko#1
{{\setnoko\Euc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:565: Illegal parameter number in definition of \@udline.

1
l.565 \def\Eunoko#1{{\setnoko\Euc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:566: Illegal parameter number in definition of \@udline.

1
l.566 \def\Eonoko#1
{{\setnoko\Eoc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:566: Illegal parameter number in definition of \@udline.

1
l.566 \def\Eonoko#1{{\setnoko\Eoc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:568: Illegal parameter number in definition of \@udline.

1
l.568 \def\unnami#1
{{\setnami\unc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:568: Illegal parameter number in definition of \@udline.

1
l.568 \def\unnami#1{{\setnami\unc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:569: Illegal parameter number in definition of \@udline.

1
l.569 \def\ovnami#1
{{\setnami\ovc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:569: Illegal parameter number in definition of \@udline.

1
l.569 \def\ovnami#1{{\setnami\ovc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:570: Illegal parameter number in definition of \@udline.

1
l.570 \def\unami#1
{{\setnami\uc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:570: Illegal parameter number in definition of \@udline.

1
l.570 \def\unami#1{{\setnami\uc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:571: Illegal parameter number in definition of \@udline.

1
l.571 \def\onami#1
{{\setnami\oc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:571: Illegal parameter number in definition of \@udline.

1
l.571 \def\onami#1{{\setnami\oc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:572: Illegal parameter number in definition of \@udline.

1
l.572 \def\Eunami#1
{{\setnami\Euc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:572: Illegal parameter number in definition of \@udline.

1
l.572 \def\Eunami#1{{\setnami\Euc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:573: Illegal parameter number in definition of \@udline.

1
l.573 \def\Eonami#1
{{\setnami\Eoc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:573: Illegal parameter number in definition of \@udline.

1
l.573 \def\Eonami#1{{\setnami\Eoc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:575: Illegal parameter number in definition of \@udline.

1
l.575 \def\unNami#1
{{\setNami\unc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:575: Illegal parameter number in definition of \@udline.

1
l.575 \def\unNami#1{{\setNami\unc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:576: Illegal parameter number in definition of \@udline.

1
l.576 \def\ovNami#1
{{\setNami\ovc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:576: Illegal parameter number in definition of \@udline.

1
l.576 \def\ovNami#1{{\setNami\ovc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:577: Illegal parameter number in definition of \@udline.

1
l.577 \def\uNami#1
{{\setNami\uc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:577: Illegal parameter number in definition of \@udline.

1
l.577 \def\uNami#1{{\setNami\uc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:578: Illegal parameter number in definition of \@udline.

1
l.578 \def\oNami#1
{{\setNami\oc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:578: Illegal parameter number in definition of \@udline.

1
l.578 \def\oNami#1{{\setNami\oc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:579: Illegal parameter number in definition of \@udline.

1
l.579 \def\EuNami#1
{{\setNami\Euc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:579: Illegal parameter number in definition of \@udline.

1
l.579 \def\EuNami#1{{\setNami\Euc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:580: Illegal parameter number in definition of \@udline.

1
l.580 \def\EoNami#1
{{\setNami\Eoc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:580: Illegal parameter number in definition of \@udline.

1
l.580 \def\EoNami#1{{\setNami\Eoc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:582: Illegal parameter number in definition of \@udline.

1
l.582 \def\unitten#1
{{\setitten\unc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:582: Illegal parameter number in definition of \@udline.

1
l.582 \def\unitten#1{{\setitten\unc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:583: Illegal parameter number in definition of \@udline.

1
l.583 \def\ovitten#1
{{\setitten\ovc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:583: Illegal parameter number in definition of \@udline.

1
l.583 \def\ovitten#1{{\setitten\ovc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:584: Illegal parameter number in definition of \@udline.

1
l.584 \def\uitten#1
{{\setitten\uc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:584: Illegal parameter number in definition of \@udline.

1
l.584 \def\uitten#1{{\setitten\uc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:585: Illegal parameter number in definition of \@udline.

1
l.585 \def\oitten#1
{{\setitten\oc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:585: Illegal parameter number in definition of \@udline.

1
l.585 \def\oitten#1{{\setitten\oc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:586: Illegal parameter number in definition of \@udline.

1
l.586 \def\Euitten#1
{{\setitten\Euc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:586: Illegal parameter number in definition of \@udline.

1
l.586 \def\Euitten#1{{\setitten\Euc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:587: Illegal parameter number in definition of \@udline.

1
l.587 \def\Eoitten#1
{{\setitten\Eoc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:587: Illegal parameter number in definition of \@udline.

1
l.587 \def\Eoitten#1{{\setitten\Eoc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:589: Illegal parameter number in definition of \@udline.

1
l.589 \def\unniten#1
{{\setniten\unc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:589: Illegal parameter number in definition of \@udline.

1
l.589 \def\unniten#1{{\setniten\unc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:590: Illegal parameter number in definition of \@udline.

1
l.590 \def\ovniten#1
{{\setniten\ovc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:590: Illegal parameter number in definition of \@udline.

1
l.590 \def\ovniten#1{{\setniten\ovc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:591: Illegal parameter number in definition of \@udline.

1
l.591 \def\uniten#1
{{\setniten\uc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:591: Illegal parameter number in definition of \@udline.

1
l.591 \def\uniten#1{{\setniten\uc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:592: Illegal parameter number in definition of \@udline.

1
l.592 \def\oniten#1
{{\setniten\oc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:592: Illegal parameter number in definition of \@udline.

1
l.592 \def\oniten#1{{\setniten\oc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:593: Illegal parameter number in definition of \@udline.

1
l.593 \def\Euniten#1
{{\setniten\Euc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:593: Illegal parameter number in definition of \@udline.

1
l.593 \def\Euniten#1{{\setniten\Euc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:594: Illegal parameter number in definition of \@udline.

1
l.594 \def\Eoniten#1
{{\setniten\Eoc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:594: Illegal parameter number in definition of \@udline.

1
l.594 \def\Eoniten#1{{\setniten\Eoc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:596: Illegal parameter number in definition of \@udline.

1
l.596 \def\unniju#1
{{\setniju\unc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:596: Illegal parameter number in definition of \@udline.

1
l.596 \def\unniju#1{{\setniju\unc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:597: Illegal parameter number in definition of \@udline.

1
l.597 \def\ovniju#1
{{\setniju\ovc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:597: Illegal parameter number in definition of \@udline.

1
l.597 \def\ovniju#1{{\setniju\ovc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:598: Illegal parameter number in definition of \@udline.

1
l.598 \def\uniju#1
{{\setniju\uc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:598: Illegal parameter number in definition of \@udline.

1
l.598 \def\uniju#1{{\setniju\uc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:599: Illegal parameter number in definition of \@udline.

1
l.599 \def\oniju#1
{{\setniju\oc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:599: Illegal parameter number in definition of \@udline.

1
l.599 \def\oniju#1{{\setniju\oc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:600: Illegal parameter number in definition of \@udline.

1
l.600 \def\Euniju#1
{{\setniju\Euc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:600: Illegal parameter number in definition of \@udline.

1
l.600 \def\Euniju#1{{\setniju\Euc{#1
}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:601: Illegal parameter number in definition of \@udline.

1
l.601 \def\Eoniju#1
{{\setniju\Eoc{#1}}}
/usr/local/texlive/texmf-local/tex/latex/udline/udline.sty:601: Illegal parameter number in definition of \@udline.

1
l.601 \def\Eoniju#1{{\setniju\Eoc{#1
}}}
(That makes 100 errors; please try again.)
No pages of output.
Transcript written on 230411のコピー.log.
ptex2pdf processing of /Users/(ユーザー名)/Documents/b数学/tex/230411のコピー failed.

t t への返信

Re: udlineパッケージがインストールできない

- TONE Kozaburo の投稿
よくわかりませんが、文字コードの問題かと思います。
ダウンロードした udline.sty の文字コードを nkf 等で UTF-8 等に変換するとどうなるでしょうか。
見当違いの回答だったらご容赦を。
t t への返信

Re: udlineパッケージがインストールできない

- m c の投稿
TONEさんご指摘のように,文字コードの問題です.
ダウンロードされたudline.styはShift JISで記述されていますが,uplatexをお使いですのでUTF-8に変換する必要があります.

Macには標準でnkfは入っていませんので,CotEditorのように文字コードや行末文字を変更できるテキストエディタを用いて
変換するのが楽だと思います.

以下,CotEditorでの手順です.
1. CotEditorでudline.styを開く
2. もしウィンドウ最下部にステータスバー(行数等の各種情報を表示するエリア)が表示されていなければ,メニューバーの“表示”>“ステータスバーを表示”で表示させる
3. ステータスバー右側に表示されている文字コード,行末文字を次のように変更:
 (1) 文字コード「日本語(Shift JIS)」を「Unicode(UTF-8)」に変更(この時に「変換しますか?」というダイアログが出るので,変換ボタンで変換する)
 (2) 行末文字「CRLF」を「LF」に変更
4. メニューバーの“検索”>“検索...”(または⌘F)で検索と置換窓を出し,¥を検索文字列に,\を置換文字列に設定して「すべて置換」
5. 保存して終了
t t への返信

Re: udlineパッケージがインストールできない

- ut の投稿
# 本題からは外れてしまいますが…。

udline パッケージの Mac へのインストールにつきましては、TONE Kozaburo さん
や m c さんのおっしゃるとおり、文字コードの問題のように思えます。

それで:

> また、同じstyファイルをWindowsパソコンで使った場合は不具合が出ないため、

という点についてなのですが、Windows 版のバイナリでは、文字コ
ードの自動判別機能が効いています。また:

> TeXlive2021を利用しています。

とのことですが、TeX Live でも、2023 からは、自動判別が可能に
なったらしいです。

(1)Windows の場合は自動判別されます(私の手元は少し古い W32TeX なのですが)

  prompt> uplatex test
  This is e-upTeX, Version 3.14159265-p3.8.3-u1.26-191112-2.6 (utf8.uptex) (TeX Live 2020/W32TeX) (preloaded format=uplatex)
   restricted \write18 enabled.
  entering extended mode
  (./test.tex
  pLaTeX2e <2020-04-12u03> (based on LaTeX2e <2020-02-02> patch level 5)
  L3 programming layer <2020-07-17>
  (c:/w32tex/share/texmf-dist/tex/platex/jsclasses/jsarticle.cls(guessed encoding: UTF-8 = utf8)
  Document Class: jsarticle 2020/02/02 jsclasses (okumura, texjporg)
  (c:/w32tex/share/texmf-dist/tex/platex/jsclasses/jslogo.sty)) (./udline.sty(guessed encoding: Shift_JIS = sjis))
  (c:/w32tex/share/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def)
  (./test.aux) [1] (./test.aux) )
  Output written on test.dvi (1 page, 216 bytes).
  Transcript written on test.log.

(2)TeX Live 2023 への文字コード自動判別機能の導入について

  文字コード自動判定 TeX Live 2023
  by t tk - Sunday, 3 July 2022, 7:52 PM
  https://okumuralab.org/tex/mod/forum/discuss.php?d=3407
ut への返信

Re: udlineパッケージがインストールできない

- t t の投稿
皆様、ありがとうございます。
文字コードというのが関係しているのですね。
解決できました。