Texlive2019⇒TeXlive2020で起きた問題

Texlive2019⇒TeXlive2020で起きた問題

- 星野 勉 の投稿
返信数: 5
TeXlive2019からTeXlive2020にしたところ
Undefined control sequence
のエラーメッセージがでました。
原因となるところが分からず、タイプセットできなくなってしまいました。
ご助言をお願いいたします。
タイプセットは
TeXworksで
ptex2pdf.exe -l -ot -kanji=utf8 $synctexoption $fullmame
です。
当該のTeXファイルは
=======================
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[sotsuron]{muee}

%\department{電気工学科}% 電気工学科の場合はコメントを外すこと

\title{%</p> <p style="margin:0px;text-indent:0px;">可撓型冷媒管兼用電流\\リードの予備冷却試験}

%\subtitle{副題はここ}

\author{大山 瑞喜}

\stnumber{16T3-010}

\professor{星野 勉 教授}

\date{2020年1月17日}

%\pagestyle{plain}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%% TEXT START %%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\maketitle

%\tableofcontents

%第1章の内容を書いたファイル Introduction/Introduction.tex の場合

%緒論

%\xinclude{Introduction}

%理論

%\xinclude{Theory}

%%実験

%\xinclude{Experiment}

%%考察

%\xinclude{Discussion}

%%結論

%\xinclude{Conclusion}

%%謝辞

%\xinclude{Acknowledgement}

%参考文献

%\xinclude{References}

%付録

%\appendix

%\xinclude{App_1}

\end{document}

=======================
logファイルは

=======================

This is e-pTeX, Version 3.14159265-p3.8.3-191112-2.6 (utf8.sjis) (TeX Live 2020/W32TeX) (preloaded format=platex 2020.11.6) 9 NOV 2020 11:49
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**muee.cls
(./muee.cls
pLaTeX2e <2020-10-01>+1 (based on LaTeX2e <2020-10-01> patch level 2)
L3 programming layer <2020-10-27> xparse <2020-03-03>

LaTeX Warning: You have requested package `',
but the package provides `muee'.

Package: muee 2018/09/17

! LaTeX Error: Missing \begin{document}.

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

l.11 \newif\if@
NTT
?
! Emergency stop.
...

l.11 \newif\if@
NTT
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.


Here is how much of TeX's memory you used:
22 strings out of 479956
450 string characters out of 5885975
272072 words of memory out of 5000000
17337 multiletter control sequences out of 15000+600000
538959 words of font info for 46 fonts, out of 8000000 for 9000
929 hyphenation exceptions out of 8191
20i,0n,25p,79b,14s stack positions out of 5000i,500n,10000p,200000b,80000s
No pages of output.
================================

使ったclsファイルは

======================

%\ProvidesClass{muee}[2005/12/02]

% \ProvidesClass{kuee}[2005/01/31]

% \ProvidesClass{kuee}[2005/02/04] % Modified by Tsutomu Hoshino

%\ProvidesClass{muee}[2005/12/02] % Modified by Tsutomu Hoshino

%\ProvidesClass{muee}[2006/12/22] % Modified by Tsutomu Hoshino

%\ProvidesClass{muee}[2006/12/25] % Modified by Tsutomu Hoshino

%\ProvidesClass{muee}[2014/01/16] % Modified by Tsutomu Hoshino

%\ProvidesClass{muee}[2017/12/22] % Modified by Tsutomu Hoshino

\ProvidesClass{muee}[2018/09/17] % Modified by Tsutomu Hoshino

% floatの数を増やす

\newif\if@NTT

\ifx\pfmtname\undefined

\@NTTtrue

\NeedsTeXFormat{LaTeX2e}

\else

\@NTTfalse

\NeedsTeXFormat{pLaTeX2e}

\fi

\newif\if@sotsuron

\newif\if@figuretitle

\DeclareOption{sotsuron}{\@sotsurontrue}

\DeclareOption{shuuron}{\@sotsuronfalse}

\DeclareOption{figuretitle}{\@figuretitletrue}% by G. Morita

\DeclareOption*{\PassOptionsToClass{\CurrentOption}{jreport}}

\ProcessOptions\relax

\LoadClass[12pt]{jreport}

\def\stnumber#1{\gdef\@stnumber{#1}} % student number


\if@sotsuron

\gdef\@maintitle{学\hfil 士\hfil 論\hfil 文}

\gdef\@course{明星大学理工学部}

% \gdef\@department{電気工学科} by T. Hoshino (2008.11.19)

% \gdef\@department{電気電子システム工学科} by T. Hoshino (2014.1.16)

\gdef\@department{総合理工学科 電気電子工学系}

\else

\gdef\@maintitle{修\hfil 士\hfil 論\hfil 文}

\gdef\@course{明星大学大学院理工学研究科}

\gdef\@department{電気工学専攻}

\fi


%\typeout{学位論文スタイル Ver. 2006.12.22}

%\typeout{学位論文スタイル Ver. 2006.12.25}

%\typeout{学位論文スタイル Ver. 2008.11.19}

%\typeout{学位論文スタイル Ver. 2014.1.16}

%\typeout{学位論文スタイル Ver. 2017.12.22}

\typeout{学位論文スタイル Ver. 2018.9.17}

%%%%%%%%%%%%%%

%%% Layout %%%

%%%%%%%%%%%%%%

\count@\z@

\@whilenum\count@<64\do{%</p> <p style="margin:0px;text-indent:0px;"> \advance\count@\@ne</p> <p style="margin:0px;text-indent:0px;"> \expandafter\newinsert\csname bx@\romannumeral\count@\endcsname</p> <p style="margin:0px;text-indent:0px;"> \@cons\@freelist{\csname bx@\romannumeral\count@\endcsname}}

% レイアウト.

\oddsidemargin = 0.5cm \evensidemargin = 0.5cm

\marginparwidth = 68pt

\topmargin = 0pt \headheight = 12pt

\headsep = 25pt \footskip = 30pt

\textheight = 604pt \textwidth = 424pt


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% Chars in Line and Lines in Page %%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% 1行の文字数と1ページの行数から

% \jintercharskip, \baselineskip を自動設定する.


% default values.

\gdef\@charsinline{36}

\gdef\@linesinpage{32}


\def\charsinline#1{\gdef\@charsinline{#1}}

\def\linesinpage#1{\gdef\@linesinpage{#1}}


\let\kuee@document=\document

\def\kuee@adjuestmathskips{%</p> <p style="margin:0px;text-indent:0px;"> \abovedisplayskip .6\baselineskip plus .15\baselineskip minus .3\baselineskip</p> <p style="margin:0px;text-indent:0px;"> \belowdisplayskip \abovedisplayskip</p> <p style="margin:0px;text-indent:0px;"> \abovedisplayshortskip \z@ plus .15\baselineskip</p> <p style="margin:0px;text-indent:0px;"> \belowdisplayshortskip .3\baselineskip plus .15\baselineskip minus .15\baselineskip}

\if@NTT

\def\document{%</p> <p style="margin:0px;text-indent:0px;"> \kuee@document</p> <p style="margin:0px;text-indent:0px;"> \@tempcnta = \@charsinline \advance\@tempcnta \m@ne</p> <p style="margin:0px;text-indent:0px;"> \@tempdima = \textwidth</p> <p style="margin:0px;text-indent:0px;"> \advance\@tempdima - \@charsinline zw \divide\@tempdima by \@tempcnta</p> <p style="margin:0px;text-indent:0px;"> \jintercharskip = \@tempdima plus 0.5\@tempdima minus 0.33333\@tempdima</p> <p style="margin:0px;text-indent:0px;"> \jasciikanjiskip = .24zw plus .12zw minus .08zw</p> <p style="margin:0px;text-indent:0px;"> \jmathkanjiskip = .24zw plus .12zw minus .08zw</p> <p style="margin:0px;text-indent:0px;"> \parindent = 1zw \advance\parindent + \jintercharskip</p> <p style="margin:0px;text-indent:0px;"> \baselineskip = \textheight \divide\baselineskip by \@linesinpage</p> <p style="margin:0px;text-indent:0px;"> \kuee@adjuestmathskips}

\else

\def\document{%</p> <p style="margin:0px;text-indent:0px;"> \kuee@document</p> <p style="margin:0px;text-indent:0px;"> \@tempcnta = \@charsinline \advance\@tempcnta \m@ne</p> <p style="margin:0px;text-indent:0px;"> \@tempdima = \textwidth</p> <p style="margin:0px;text-indent:0px;"> \advance\@tempdima - \@charsinline zw \divide\@tempdima by \@tempcnta</p> <p style="margin:0px;text-indent:0px;"> \kanjiskip = \@tempdima plus 0.5\@tempdima minus 0.33333\@tempdima</p> <p style="margin:0px;text-indent:0px;"> \xkanjiskip = .25zw plus .15zw minus .1zw</p> <p style="margin:0px;text-indent:0px;"> \parindent = 1zw \advance\parindent + \kanjiskip</p> <p style="margin:0px;text-indent:0px;"> \baselineskip = \textheight \divide\baselineskip by \@linesinpage</p> <p style="margin:0px;text-indent:0px;"> \kuee@adjuestmathskips}

\fi


%%%%%%%%%%%%%%%%%

%%% Maketitle %%%

%%%%%%%%%%%%%%%%%

% 表紙.

\def\professor#1{\gdef\@professor{#1}}

\def\course#1{\gdef\@course{#1}}

\def\department#1{\gdef\@department{#1}}


\long\def\subtitle#1{\gdef\@subtitle{\\\Large ---#1---}}

\def\@subtitle{}


\def\offset{1.5}

%\def\offset{0.5}

\def\maketitle{%</p> <p style="margin:0px;text-indent:0px;"> \begin{titlepage}%

\let\footnoterule\relax \setcounter{page}{0}%

\thispagestyle{empty}%

\let\figure\kuee@figure

\begin{figure}

\center

\unitlength = 1cm

\hspace*{0mm}\\

\begin{picture}(0,0)(\offset,0)

\put(2.5,8.5){\makebox(0,0)[b]{\makebox[8cm]{\Huge \@maintitle}}}%

\put(-2.5,5.3){\makebox(0,0)[r]{\makebox[2cm]{題\hfill 目}}}%

% \put(2.5,5.5){\makebox(0,0){\parbox{10cm}{\center \LARGE \@title}}}%

\put(3,5.5){\makebox(0,0){\parbox{11cm}{\center \LARGE \@title\@subtitle}}}%

\ifx\@professor\undefined\else

\put(-2.5,1.8){\makebox(0,0)[r]{\makebox[2cm]{指\hfil 導\hfil 教\hfil 員}}}% Modified by Tsutomu Hoshino 050204

\put(2.5,2){\makebox(0,0){\parbox{8cm}{\center \LARGE \@professor}}}%

\fi

\put(2.5,-5.5){\makebox(0,0)[t]{\@course\ \@department}}%

\put(-0.5,-7){\makebox(0,0)[rb]{{学籍番号}}}%

\put(2.5,-7){\makebox(0,0)[b]{ {\@stnumber}}}%

\put(-0.5,-8.5){\makebox(0,0)[rb]{{氏 名}}}%

\put(2.5,-8.7){\makebox(0,0)[b]{\LARGE \underline{\@author}}}%

\put(2.5,-10){\makebox(0,0)[t]{\large \@date}}%

\end{picture}

\end{figure}

\setcounter{footnote}{0}\let\thanks\relax

\gdef\@thanks{}\gdef\@author{}\gdef\@stnumber{}\gdef\@title{}%

\gdef\@professor{}\gdef\@course{}\gdef\department{}%

\let\maketitle\relax

\end{titlepage}}



%%%%%%%%%%%%%%%%%%%%%%%%%

%%% Table of Contents %%%

%%%%%%%%%%%%%%%%%%%%%%%%%

% 目次.

% 目次ページの pagestyle は roman.

\def\tableofcontents{%</p> <p style="margin:0px;text-indent:0px;"> \setcounter{page}{0}

\bgroup

\def\thepage{\roman{page}}%

\lineskip = \normallineskip

\@restonecolfalse

\if@twocolumn\@restonecoltrue\onecolumn\fi

\chapter*{\contentsname\@mkboth{\contentsname}{\contentsname}}%

\@starttoc{toc}\if@restonecol\twocolumn\fi

\newpage

\egroup

\global\c@page = \@ne}


\def\contentsname{目 次}


\def\ptex@l@chapter#1#2{%</p> <p style="margin:0px;text-indent:0px;"> \pagebreak[3]</p> <p style="margin:0px;text-indent:0px;"> \setlength\@lnumwidth{4zw}%

\vskip 1.0em plus 1pt

\@tempdima 4em

\begingroup

\parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth

\bf \leavevmode

\advance\leftskip\@tempdima \hskip -\leftskip

#1\nobreak \hfil\nobreak \hbox to\@pnumwidth{\hss #2}\par

\endgroup}

\def\jtex@l@chapter#1#2{%</p> <p style="margin:0px;text-indent:0px;"> \pagebreak[3] </p> <p style="margin:0px;text-indent:0px;"> \vskip 1.0em plus 1pt</p> <p style="margin:0px;text-indent:0px;"> \@tempdima 4em</p> <p style="margin:0px;text-indent:0px;"> \begingroup</p> <p style="margin:0px;text-indent:0px;"> \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth </p> <p style="margin:0px;text-indent:0px;"> \bf \leavevmode </p> <p style="margin:0px;text-indent:0px;"> \advance\leftskip\@tempdima \hskip -\leftskip</p> <p style="margin:0px;text-indent:0px;"> #1\nobreak \hfil\nobreak \hbox to\@pnumwidth{\hss #2}\par

\endgroup}

\if@NTT

\let\l@chapter\jtex@l@chapter

\else

\let\l@chapter\ptex@l@chapter

\fi


\def\l@section{\@dottedtocline{1}{1.7em}{2.3em}}

\def\l@subsection{\@dottedtocline{2}{4em}{3.2em}}

\def\l@subsubsection{\@dottedtocline{3}{7.2em}{4.1em}}

\def\l@paragraph{\@dottedtocline{4}{10.2em}{5em}}

\def\l@subparagraph{\@dottedtocline{5}{12.2em}{6em}}


%%%%%%%%%%%%%%%

%%% Chapter %%%

%%%%%%%%%%%%%%%

% 章.

% 章題は `第1章 序論' のように.

% 目次の章題も同様に.

\def\ptex@makechapterhead#1{%</p> <p style="margin:0px;text-indent:0px;"> \vspace*{20pt}%

{ \parindent 0pt \raggedright</p> <p style="margin:0px;text-indent:0px;"> \ifnum \c@secnumdepth >\m@ne</p> <p style="margin:0px;text-indent:0px;"> \LARGE \bf</p> <p style="margin:0px;text-indent:0px;"> \setbox\@tempboxa\hbox{\@chapapp{\thechapter}\@chappos\hskip 10pt}%

\begin{list}{}{%</p> <p style="margin:0px;text-indent:0px;"> \topsep = 0pt \parsep = 0pt</p> <p style="margin:0px;text-indent:0px;"> \labelwidth = \wd\@tempboxa \labelsep = 0pt</p> <p style="margin:0px;text-indent:0px;"> \leftmargin = \labelwidth</p> <p style="margin:0px;text-indent:0px;"> }\item[\box\@tempboxa] #1

\end{list}%

\else

\LARGE \bf #1\par

\fi

\nobreak

\vskip 10pt }}

\def\jtex@makechapterhead#1{%</p> <p style="margin:0px;text-indent:0px;"> \vspace*{20pt}%

{ \parindent 0pt \raggedright</p> <p style="margin:0px;text-indent:0px;"> \ifnum \c@secnumdepth >\m@ne</p> <p style="margin:0px;text-indent:0px;"> \LARGE \bf</p> <p style="margin:0px;text-indent:0px;"> \setbox\@tempboxa\hbox{\@chapapp{\thechapter}\hskip 10pt}%

\begin{list}{}{%</p> <p style="margin:0px;text-indent:0px;"> \topsep = 0pt \parsep = 0pt</p> <p style="margin:0px;text-indent:0px;"> \labelwidth = \wd\@tempboxa \labelsep = 0pt</p> <p style="margin:0px;text-indent:0px;"> \leftmargin = \labelwidth</p> <p style="margin:0px;text-indent:0px;"> }\item[\box\@tempboxa] #1

\end{list}%

\else

\LARGE \bf #1\par

\fi

\nobreak

\vskip 10pt }}

\if@NTT

\let\@makechapterhead\jtex@makechapterhead

\else

\let\@makechapterhead\ptex@makechapterhead

\fi

\def\@makeschapterhead#1{%</p> <p style="margin:0px;text-indent:0px;"> \vspace*{20pt}%

{ \parindent 0pt</p> <p style="margin:0px;text-indent:0px;"> \raggedright</p> <p style="margin:0px;text-indent:0px;"> \LARGE \bf #1\par</p> <p style="margin:0px;text-indent:0px;"> \nobreak</p> <p style="margin:0px;text-indent:0px;"> \vskip 20pt }}


\def\clearfigurepage{%</p> <p style="margin:0px;text-indent:0px;"> \kuee@iwrite{\string\clearpage}}


\def\chapter{%</p> <p style="margin:0px;text-indent:0px;"> \clearpage</p> <p style="margin:0px;text-indent:0px;"> \clearfigurepage</p> <p style="margin:0px;text-indent:0px;"> \global\@topnum\z@ \@afterindenttrue</p> <p style="margin:0px;text-indent:0px;"> \secdef\@chapter\@schapter}

\def\ptex@chapter[#1]#2{%</p> <p style="margin:0px;text-indent:0px;"> \ifnum \c@secnumdepth >\m@ne</p> <p style="margin:0px;text-indent:0px;"> \refstepcounter{chapter}%

\typeout{\@chapapp{\thechapter}\@chappos.}%

\addcontentsline{toc}{chapter}{%</p> <p style="margin:0px;text-indent:0px;"> \protect\numberline{\@chapapp{\thechapter}\@chappos}#1

}%

\else

\addcontentsline{toc}{chapter}{#1}%

\fi

\chaptermark{#1}%

\addtocontents{lof}{\protect\addvspace{10pt}}%

\addtocontents{lot}{\protect\addvspace{10pt}}%

\if@twocolumn

\@topnewpage[\@makechapterhead{#2}]

\else

\@makechapterhead{#2}%

\@afterheading

\fi}

\def\jtex@chapter[#1]#2{%</p> <p style="margin:0px;text-indent:0px;"> \ifnum \c@secnumdepth >\m@ne</p> <p style="margin:0px;text-indent:0px;"> \refstepcounter{chapter}%

\typeout{\@chapapp{\thechapter}.}%

\addcontentsline{toc}{chapter}{%</p> <p style="margin:0px;text-indent:0px;"> \protect\numberline{\@chapapp{\thechapter}}#1

}%

\else

\addcontentsline{toc}{chapter}{#1}%

\fi

\chaptermark{#1}%

\addtocontents{lof}{\protect\addvspace{10pt}}%

\addtocontents{lot}{\protect\addvspace{10pt}}%

\if@twocolumn

\@topnewpage[\@makechapterhead{#2}]

\else

\@makechapterhead{#2}%

\@afterheading

\fi}

\if@NTT

\let\@chapter\jtex@chapter

\else

\let\@chapter\ptex@chapter

\fi

\def\@schapter#1{%</p> <p style="margin:0px;text-indent:0px;"> \if@twocolumn</p> <p style="margin:0px;text-indent:0px;"> \@topnewpage[\@makeschapterhead{#1}]

\else

\@makeschapterhead{#1}%

\@afterheading

\fi

}


\if@NTT

\else

\renewcommand\section{%</p> <p style="margin:0px;text-indent:0px;"> \@startsection{section}{1}{\z@}%

{3.5ex \@plus 1ex \@minus .2ex}%

{2.3ex \@plus.2ex}%

{\normalfont\Large\bfseries}}

\renewcommand\subsection{%</p> <p style="margin:0px;text-indent:0px;"> \@startsection{subsection}{2}{\z@}%

{3.25ex\@plus 1ex \@minus .2ex}%

{1.5ex \@plus .2ex}%

{\normalfont\large\bfseries}}

\renewcommand\subsubsection{%</p> <p style="margin:0px;text-indent:0px;"> \@startsection{subsubsection}{3}{\z@}%

{3.25ex\@plus 1ex \@minus .2ex}%

{1.5ex \@plus .2ex}%

{\normalfont\normalsize\bfseries}}

\fi


%%%%%%%%%%%%%%%%

%%% Footnote %%%

%%%%%%%%%%%%%%%%

% 脚注.

% 2行以上になっても左にはみ出さない.

% マークは \newfnsymbol で.

%\def\newfnsymbol#1{\@newfnsymbol{\@nameuse{c@#1}}}

%\def\@newfnsymbol#1{%</p> <p style="margin:0px;text-indent:0px;">% \ifcase #1</p> <p style="margin:0px;text-indent:0px;">% \or *\or **\or ***%</p> <p style="margin:0px;text-indent:0px;">% \or \dagger \or \dagger\dagger\or \dagger\dagger\dagger</p> <p style="margin:0px;text-indent:0px;">% \or \ddagger\or \ddagger\ddagger\or \ddagger\ddagger\ddagger</p> <p style="margin:0px;text-indent:0px;">% \else \@ctrerr</p> <p style="margin:0px;text-indent:0px;">% \fi</p> <p style="margin:0px;text-indent:0px;">% \relax</p> <p style="margin:0px;text-indent:0px;">%}


\long\def\@makefntext#1{%</p> <p style="margin:0px;text-indent:0px;"> \begin{list}{}{%</p> <p style="margin:0px;text-indent:0px;"> \topsep = 0pt \partopsep = 0pt \itemsep = 0pt \parsep = 0pt</p> <p style="margin:0px;text-indent:0px;"> \labelwidth = 1.2em \labelsep = 5pt</p> <p style="margin:0px;text-indent:0px;"> \leftmargin = \labelwidth \advance\leftmargin + \labelsep</p> <p style="margin:0px;text-indent:0px;"> }%

\item[\hss$^{\@thefnmark}$] #1%

\end{list}%

}

%\def\thefootnote{\newfnsymbol{footnote}}

\def\thefootnote{\fnsymbol{footnote}}


%%%%%%%%%%%%

%%% List %%%

%%%%%%%%%%%%

% リスト・パラメタ.

\def\@listI{%</p> <p style="margin:0px;text-indent:0px;"> \leftmargin \leftmargini</p> <p style="margin:0px;text-indent:0px;"> \topsep .5\baselineskip plus .2\baselineskip minus .3\baselineskip</p> <p style="margin:0px;text-indent:0px;"> \parsep .25\baselineskip plus .125\baselineskip minus .05\baselineskip</p> <p style="margin:0px;text-indent:0px;"> \itemsep \parsep</p> <p style="margin:0px;text-indent:0px;">}

\let\@listi\@listI

\@listi

\def\@listii{%</p> <p style="margin:0px;text-indent:0px;"> \leftmargin \leftmarginii</p> <p style="margin:0px;text-indent:0px;"> \labelwidth \leftmarginii \advance\labelwidth - \labelsep</p> <p style="margin:0px;text-indent:0px;"> \topsep .25\baselineskip plus .1\baselineskip minus .15\baselineskip</p> <p style="margin:0px;text-indent:0px;"> \parsep .125\baselineskip plus .0625\baselineskip minus .025\baselineskip</p> <p style="margin:0px;text-indent:0px;"> \itemsep \parsep</p> <p style="margin:0px;text-indent:0px;">}

\def\@listiii{%</p> <p style="margin:0px;text-indent:0px;"> \leftmargin \leftmarginiii</p> <p style="margin:0px;text-indent:0px;"> \labelwidth \leftmarginiii \advance\labelwidth - \labelsep</p> <p style="margin:0px;text-indent:0px;"> \topsep .125\baselineskip plus .0625\baselineskip minus .025\baselineskip</p> <p style="margin:0px;text-indent:0px;"> \parsep \z@</p> <p style="margin:0px;text-indent:0px;"> \partopsep 1pt plus 0pt minus 1pt</p> <p style="margin:0px;text-indent:0px;"> \itemsep \topsep</p> <p style="margin:0px;text-indent:0px;">}

\def\@listiv{\leftmargin\leftmarginiv</p> <p style="margin:0px;text-indent:0px;"> \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}

\def\@listv{\leftmargin\leftmarginv</p> <p style="margin:0px;text-indent:0px;"> \labelwidth\leftmarginv\advance\labelwidth-\labelsep}

\def\@listvi{\leftmargin\leftmarginvi</p> <p style="margin:0px;text-indent:0px;"> \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}


%%%%%%%%%%%%%%%%%%%%%%%%

%%% Acknowledgements %%%

%%%%%%%%%%%%%%%%%%%%%%%%

% 謝辞.

% 目次に載せる.

\def\acknowledgements{%</p> <p style="margin:0px;text-indent:0px;"> \bgroup</p> <p style="margin:0px;text-indent:0px;"> \c@secnumdepth = \m@ne</p> <p style="margin:0px;text-indent:0px;"> \chapter{\ackname\@mkboth{\ackname}{\ackname}}%

\egroup

\relax

}


\def\ackname{謝 辞}


%%%%%%%%%%%%%%%%%%%%

%%% Bibliography %%%

%%%%%%%%%%%%%%%%%%%%

% 参考文献.

% 目次に載せる.

% \bibitem のラベルは `1)' のように.

% \cite の出力は上付き `1)' のように.

\def\thebibliography#1{%</p> <p style="margin:0px;text-indent:0px;"> \bgroup</p> <p style="margin:0px;text-indent:0px;"> \c@secnumdepth = \m@ne</p> <p style="margin:0px;text-indent:0px;"> \chapter{\refname\@mkboth{\refname}{\refname}}%

\egroup

\list{\arabic{enumi})}{%</p> <p style="margin:0px;text-indent:0px;"> \settowidth\labelwidth{#1)}%

\leftmargin\labelwidth \advance\leftmargin\labelsep

\usecounter{enumi}%

}%

\def\newblock{\hskip .11em plus .33em minus .07em}%

\sloppy\sfcode`\.=1000

\relax

}

\let\endthebibliography=\endlist


\def\@cite#1#2{%</p> <p style="margin:0px;text-indent:0px;"> \nobreak$^{\mbox{\scriptsize #1\if@tempswa , #2\fi})}$%

}


\def\refname{参 考 文 献}


%%%%%%%%%%%%%%%%

%%% Appendix %%%

%%%%%%%%%%%%%%%%

%\newcount\@kuee@appseq

% commented by G. Morita

\let\kuee@appendix\appendix

\def\appendix{%</p> <p style="margin:0px;text-indent:0px;">% \@kuee@appseq=\@kuee@seq</p> <p style="margin:0px;text-indent:0px;">% \global\advance\@kuee@appseq 1\relax</p> <p style="margin:0px;text-indent:0px;">% commented by G. Morita</p> <p style="margin:0px;text-indent:0px;"> \kuee@iwrite{\string\kueefigureappendix}% by G. Morita

\kuee@iwrite{ }% by G. Morita

\kuee@appendix%

}


\def\kueefigureappendix{\global\let\thechapter\kuee@theappendix}



%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% Figures and Tables %%%

%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\kuee@figureandtable{%</p> <p style="margin:0px;text-indent:0px;"> \advance\textwidth + 2\oddsidemargin</p> <p style="margin:0px;text-indent:0px;"> \advance\textheight + \headheight</p> <p style="margin:0px;text-indent:0px;"> \advance\textheight + \headsep</p> <p style="margin:0px;text-indent:0px;"> \oddsidemargin = 0pt</p> <p style="margin:0px;text-indent:0px;"> \evensidemargin = 0pt</p> <p style="margin:0px;text-indent:0px;"> \headheight = 0pt</p> <p style="margin:0px;text-indent:0px;"> \headsep = 0pt</p> <p style="margin:0px;text-indent:0px;"> \@colht = \textheight</p> <p style="margin:0px;text-indent:0px;">}


\newcommand{\kueeseparator}{\goodbreak}%{\clearpage}

\newwrite\kuee@post

\newcount\@kuee@open

\def\kuee@openpost{%</p> <p style="margin:0px;text-indent:0px;"> \immediate\openout\kuee@post=\jobname.fff\relax</p> <p style="margin:0px;text-indent:0px;"> \global\@kuee@open=1\relax</p> <p style="margin:0px;text-indent:0px;"> \message{(\jobname.fff)}}

\def\kuee@condopen{%</p> <p style="margin:0px;text-indent:0px;"> \ifnum\@kuee@open>0\relax\else\kuee@openpost\fi}

\def\kuee@iwrite#1{%</p> <p style="margin:0px;text-indent:0px;"> \immediate\write\kuee@post{#1}}

\newcommand*{\kuee@makeinnocent}[1]{\catcode`#1=12 }

\let\kuee@figure\figure

\let\kuee@table\table

\let\kuee@float\relax


%\newcount\@kuee@seq

%\def\kuee@savevalue#1{%</p> <p style="margin:0px;text-indent:0px;">% \expandafter\newcount\csname @kuee\number\@kuee@seq#1\endcsname</p> <p style="margin:0px;text-indent:0px;">% \expandafter\global\csname @kuee\number\@kuee@seq#1\endcsname=\value{#1}\relax}

% comment by G. Morita

%\def\kuee@store#1{%</p> <p style="margin:0px;text-indent:0px;">% \global\advance\@kuee@seq 1\relax%</p> <p style="margin:0px;text-indent:0px;">% \kuee@savevalue{chapter}

% \kuee@savevalue{#1}}

% comment by G. Morita


\let\kuee@chapter\@chapter% by G. Morita

\def\@chapter[#1]#2{% by G. Morita</p> <p style="margin:0px;text-indent:0px;"> \kuee@chapter[#1]{#2}%

\kuee@condopen%

\kuee@iwrite{\string\setcounter{chapter}{\@arabic\value{chapter}}}%

\kuee@iwrite{\string\addtocounter{chapter}{-1}}%

\kuee@iwrite{\string\stepcounter{chapter}}%

\kuee@iwrite{ }%

}


\let\kuee@thechapter\thechapter

\let\kuee@theappendix\relax

%\def\kuee@restorevalue#1{%</p> <p style="margin:0px;text-indent:0px;">% \setcounter{#1}{\csname @kuee\number\@kuee@seq#1\endcsname}}

% commented by G. Morita

%\def\kuee@restore#1{%</p> <p style="margin:0px;text-indent:0px;">% \global\advance\@kuee@seq 1\relax</p> <p style="margin:0px;text-indent:0px;">% \@tempcnta=\c@chapter</p> <p style="margin:0px;text-indent:0px;">% \kuee@restorevalue{chapter}

% \kuee@restorevalue{#1}

% \ifnum\@kuee@seq=\@kuee@appseq

% \global\let\thechapter\kuee@theappendix

% \fi}

% commented by G. Morita


\def\figure{%</p> <p style="margin:0px;text-indent:0px;">% \kuee@store{figure}

% \refstepcounter{figure}

% commented by G. Morita

\edef\kuee@envname{\@currenvir}%

\def\kuee@externalenvname{figure*}%

\kuee@condopen%

\kuee@iwrite{\string\begin{figure*}}%

\def\@currenvir{kuee@float}%

\begingroup%

\let\do\kuee@makeinnocent \dospecials%

\kuee@makeinnocent\^^L% and whatever other special cases

\endlinechar`\^^M \catcode`\^^M=12

\kuee@setup

\kuee@xfloat}%

\def\table{%</p> <p style="margin:0px;text-indent:0px;">% \kuee@store{table}

% \refstepcounter{table}

% commented by G. Morita

\edef\kuee@envname{\@currenvir}%

\def\kuee@externalenvname{table*}%

\kuee@condopen%

\kuee@iwrite{\string\begin{table*}}%

\def\@currenvir{kuee@float}%

\begingroup

\let\do\kuee@makeinnocent \dospecials

\kuee@makeinnocent\^^L% and whatever other special cases

\endlinechar`\^^M \catcode`\^^M=12

\kuee@setup

\kuee@xfloat}

\def\kuee@foundend#1{\def\next{\endgroup\end{kuee@float}%

\kuee@iwrite{\string\end{#1}}%

\kuee@iwrite{\string\kueeseparator}%

\kuee@iwrite{ }}}%

\begingroup

\catcode`\^^M=12\relax%

\gdef\kuee@xfloat#1^^M{%</p> <p style="margin:0px;text-indent:0px;"> \edef\@tempa{#1\kuee@xfloat@to@be@detected}%

\expandafter\kuee@xfloat@linecheck\@tempa\@nil%

\ifx\@tempa\@empty%

\kuee@iwrite{#1}%

\let\next\kuee@xfloat%

\else%

\edef\@tempa{\noexpand\kuee@foundend{\kuee@externalenvname}}%

\@tempa%

\fi%

\next}%

\endgroup%

\begingroup

\catcode`\{=12 \catcode`\[=1</p> <p style="margin:0px;text-indent:0px;">\catcode`\}=12 \catcode`\]=2

\catcode`\|=0 \catcode`\\=12

|gdef|kuee@setup[%

|edef|kuee@xfloat@to@be@detected[\end{|kuee@envname}]%

|def|@tempa[|def|kuee@xfloat@linecheck####1]%

|expandafter|@tempa|kuee@xfloat@to@be@detected##2|@nil[|def|@tempa[##2]]]

|endgroup


\@namedef{figure*}{\figure}

\@namedef{table*}{\table}


\newcommand{\processdelayedfloats@hook}{\@empty}

\def\AtBeginDelayedFloats{\g@addto@macro\processdelayedfloats@hook}


\newcommand{\processotherdelayedfloats}{\@empty}

\renewcommand{\bottomfraction}{1.0}

\renewcommand{\topfraction}{1.0}

\renewcommand{\textfraction}{0.0}

\newcommand{\processdelayedfloats}{{%</p> <p style="margin:0px;text-indent:0px;"> \let\kuee@theappendix\thechapter</p> <p style="margin:0px;text-indent:0px;"> \def\baselinestretch{1}\normalsize

% \global\@kuee@seq=0

% commented by G. Morita

\global\let\thechapter\kuee@thechapter

\def\figure{\kuee@figure}

\def\table{\kuee@table}

\kuee@figureandtable

\if@figuretitle% by G. Morita

\clearpage

\thispagestyle{empty}

\vbox to \textheight{%</p> <p style="margin:0px;text-indent:0px;"> \vfil%</p> <p style="margin:0px;text-indent:0px;"> \hbox to \textwidth{\Huge\bf\hfil 図 表 \hfil}%

\vfil}

\clearpage

\fi

\processdelayedfloats@hook

\ifnum\@kuee@open>0

\immediate\closeout\kuee@post

\global\@kuee@open=0

%\markboth{\uppercase{\figuresection}}{\uppercase{\figuresection}}

\@input{\jobname.fff}

\fi}}

\AtEndDocument{</p> <p style="margin:0px;text-indent:0px;"> \message{AED kuee: Processing end Figures and Tables}

\onecolumn

\processdelayedfloats }



%%% 従来の kueethesis.sty との後方互換性を保つためのコマンド

\def\figureandtable{%</p> <p style="margin:0px;text-indent:0px;"> \@warning{This command `figureandtable' is obsolete. Don't use it.}

\def\figure{\kuee@figure}

\def\table{\kuee@table}}


\def\figureandtableof#1{%</p> <p style="margin:0px;text-indent:0px;"> \@warning{This command `figureandtableof' is obsolete. Don't use it.}

\clearpage

\@ifundefined{r@#1}

{\@warning{Chapter refered by `#1' undefined}}

{\edef\@tempa{\@nameuse{r@#1}}

\xdef\thechapter{\expandafter\@firstoftwo\@tempa}

\kuee@refcounter{chapter}}

\setcounter{figure}{0}%

\setcounter{table}{0}}


\def\kuee@refcounter#1{%</p> <p style="margin:0px;text-indent:0px;"> \protected@edef\@currentlabel</p> <p style="margin:0px;text-indent:0px;"> {\csname p@#1\endcsname\csname the#1\endcsname}}

% *************************************

% 森田の LaTeX2e 用 初期化ファイル

% 変更して使用してもいいですが、

% フリーに限ります。

% GPLに従っての使用をお願いします

% ************************************


%\usepackage{xcolor}

%\usepackage{etex}

\usepackage{amsmath}

\usepackage[dvipdfmx]{graphicx}

\usepackage{musee-misc}

%\usepackage{graphicx}

%\usepackage[hang]{caption}

%\usepackage{morefloats_m}

%\usepackage{tools/xr}

%\usepackage{kueecite,unit}

%\usepackage[hang,normalsize]{subfigure}

%\usepackage{newtxtext,newtxmath,otf}

\usepackage{newtxtext,newtxmath}

%\newcommand{\sla}[1]{\backslash\llap#1}

%\newcommand{\sta}[2]{\!\stackrel{\textstyle#1}{\backslash\llap#2}\!}


\newcommand{\path}{.}

\newcommand{\xinclude}[1]{\renewcommand{\path}{#1}\include{#1/#1}}


\newcommand{\xlabel}[1]{\label{#1:\path}}


\newcommand{\xref}[2][\path]{\ref{#2:#1}}

\newcommand{\chapref}[1]{{\prechaptername\ref{chap:#1}\postchaptername}}

\newcommand{\secref}[2][\path]{{\xref[#1]{sec:#2}節}}

\newcommand{\subsecref}[2][\path]{{\xref[#1]{subsec:#2}項}}

\newcommand{\figref}[1]{{\figurename\ref{fig:#1}}}

\newcommand{\tabref}[1]{{\tablename\ref{tab:#1}}}

\renewcommand{\eqref}[2][\path]{{式(\xref[#1]{eq:#2})}}

\newcommand{\appref}[1]{{付録\ref{chap:#1}}}


%\newcommand{\dd}{\mathrm{d}}

\newcommand{\rd}{\partial}

\newcommand{\vc}[1]{\boldsymbol{#1}}

\newcommand{\norm}[1]{{\lVert #1 \rVert}}

\newcommand{\brac}[1]{{\left( #1 \right)}}

\newcommand{\Jc}{J_\text{c}}

\newcommand{\Jcm}{J_\text{cm}}

\newcommand{\Ic}{I_\text{c}}

\newcommand{\Icm}{I_\text{cm}}

\newcommand{\Qr}{\theta_\text{r}}

\newcommand{\Qm}{\theta_\text{m}}

\newcommand{\Qs}{\theta_\text{s}}

\renewcommand{\Wr}{\omega_\text{r}}

\newcommand{\Wm}{\omega_\text{m}}

\newcommand{\Ws}{\omega_\text{s}}

\newcommand{\Vs}{V_\text{S}}

\newcommand{\Vmin}{V_\text{min}}

\newcommand{\Fs}{\Phi_\text{S}}

\newcommand{\Fss}{\Phi_\text{SS}}

\newcommand{\Ts}{\tau_\text{s}}

\newcommand{\Tss}{\tau_\text{ss}}

\newcommand{\Pm}{P_\text{m}}

\newcommand{\aaa}{\text{a}}

\newcommand{\bbb}{\text{b}}

\newcommand{\ccc}{\text{c}}

\newcommand{\ddd}{\text{d}}

\newcommand{\qqq}{\text{q}}

\newcommand{\mmm}{\text{m}}

\newcommand{\ttt}{\text{t}}

\newcommand{\abc}{\text{abc}}

\newcommand{\dq}{\text{dq}}

\newcommand{\mt}{\text{mt}}

\newcommand{\Lpm}{L_\text{1M}}

\newcommand{\Lsm}{L_\text{2M}}

\newcommand{\Fmm}{\phi_\text{mM}}

\newcommand{\Ftm}{\phi_\text{tM}}

\newcommand{\rF}{r_\text{F}}

\newcommand{\Zst}{z_\text{st}}

\newcommand{\npi}[1]{\frac{#1}{3} \pi}

\newcommand{\Jmat}{\mathrm{J}}

\newcommand{\trade}{{\hspace{0pt}$^\text{\textregistered}$}}


\AtBeginDelayedFloats{</p> <p style="margin:0px;text-indent:0px;"> \clearpage</p> <p style="margin:0px;text-indent:0px;"> \thispagestyle{empty}

\vbox to \textheight{%</p> <p style="margin:0px;text-indent:0px;"> \vfil%</p> <p style="margin:0px;text-indent:0px;"> \hbox to \textwidth{%</p> <p style="margin:0px;text-indent:0px;"> \Huge\bf\hfil 図 表 \hfil}%

\vfil}

\clearpage

}

\def\項目間隔{\topsep 0pt</p> <p style="margin:0px;text-indent:0px;"> \parsep0pt</p> <p style="margin:0px;text-indent:0px;"> \itemsep \parsep}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\maru#1{{\large\leavevmode\lower.05zh\hbox{%</p> <p style="margin:0px;text-indent:0px;">\rlap{\hbox to 1zw{\hfil ○\hfil}}%

\raise.12zh\hbox to 1zw{\hfil{\small#1}\hfil}}}}

%\def\dV{\dot{V}}

%\def\dE{\dot{E}}

%\def\dI{\dot{I}}

%\def\dZ{\dot{Z}}

\setlength{\topsep}{0pt}

%\def\Ingra#1#2{\includegraphics[scale=#1]{#2}}

%\def\InGra#1#2#3{\includegraphics[scale=#1]{#2}\caption{#3}\label{fig:#2}}

%\graphicspath{{.}{C:/home/pdf/2015/}{C:/home/pdf/2016/}{C:/home/pdf/2017/}{C:/home/pdf/2018/}{C:/home/pdf/}{../pdf/}{./pdf/}{C:/home/eps/}{../eps/}{./eps/}{../jpeg/}{./jpeg/}{./Theory/}{./Introduction/}{./Experiment/}{./Discussion/}{./Conclusion/}{./App_1/}{./App_2/}{./App_3/}{./App_4/}}

=========================================

読み込んだstyファイルは

=================================

\newcommand{\sla}[1]{\backslash\llap#1}
\newcommand{\sta}[2]{\!\stackrel{\textstyle#1}{\backslash\llap#2}\!}
\def\Ingra#1#2{\includegraphics[scale=#1]{#2}}
\def\Ingrah#1#2{\includegraphics[height=#1]{#2}}
\def\Ingraw#1#2{\includegraphics[width=#1\figurewidth]{#2}}
\def\InGra#1#2#3{\includegraphics[scale=#1]{#2}\caption{#3}\label{fig:#2}}
\graphicspath{{./}{./Introduction/}{./Theory/}{./Experiment/}{./Discussion/}{./pdf/}{../pdf/}{C:/home/pdf/}{

星野 勉 への返信

Re: Texlive2019⇒TeXlive2020で起きた問題

- 奥村 晴彦 の投稿
授業の合間なのであまりよく見ていませんが,うちではNTTのところではエラーにならず別のところでエラーになりました。なぜなんでしょうね。とりあえず11-18行はNTT jTeXを使うことは今さらないので消して

\NeedsTeXFormat{pLaTeX2e}

だけでいいですね。これにともなって後にいくつかある \if@NTT ... \else の部分とそれに対応する \fi は不要になります。

あと,うちでエラーになったのは

\count@\z@
\@whilenum\count@<64\do{%
  \advance\count@\@ne
  \expandafter\newinsert\csname bx@\romannumeral\count@\endcsname
  \@cons\@freelist{\csname bx@\romannumeral\count@\endcsname}}

という昔のハックですが,このあたりももう外していいのではないでしょうか。なおTeX Live 2019最終版でもここはエラーになり,TeX Live 2018なら大丈夫でした。何か変わったんでしょうね。
奥村 晴彦 への返信

Re: Texlive2019⇒TeXlive2020で起きた問題

- 星野 勉 の投稿
奥村先生
有難うございます。

\count@\z@
\@whilenum\count@<64\do{%
\advance\count@\@ne
\expandafter\newinsert\csname bx@\romannumeral\count@\endcsname
\@cons\@freelist{\csname bx@\romannumeral\count@\endcsname}}

を外したら、タイプセット出来ました。
昔の学位論文でNTTjTeXのファイルをタイプセットすることは
たぶんないでしょうから、判別のところは外しました。

タイプセットできたクラスファイルとlogファイルを添付します。

星野 勉 への返信

Re: Texlive2019⇒TeXlive2020で起きた問題

- Z. R. の投稿

ログの内容から判断すると、自分の書いた.texファイルではなくて、muee.cls自体をタイプセットしようとしています。