Rocky Linux 8.5
texlive 2021
例によっててこずっております。
emath_perl 置き場:
/home/user/latex/.perl
emath_sty 置き場:
/home/user/latex/.packages
シンボリックリンクを作成
/usr/local/texlive/2021/texmf-dist/tex/latex/packages -> /home/user/latex/.packages
/usr/share/perl5/latex -> /home/user/latex/.package
ちなみに:
$ perl -V
Summary of my perl5 (revision 5 version 26 subversion 3) configuration:
Platform:
osname=linux
osvers=4.19.34-300.el7.x86_64
archname=x86_64-linux-thread-multi
uname='linux x86-01.mbox.centos.org 4.19.34-300.el7.x86_64 #1 smp mon apr 15 18:04:36 utc 2019 x86_64 x86_64 x86_64 gnulinux '
(略)
Built under linux
Compiled at Nov 4 2021 17:06:58
@INC:
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
TeX ファイル
\documentclass[dvipdfmx,a4j]{ujarticle}
\usepackage[top=30truemm,bottom=30truemm,left=15truemm,right=15truemm]{geometry}
\usepackage{amsmath, amsfonts, ascmac, amssymb}
\usepackage{graphicx, fancyhdr}
\setlength{\headheight}{15pt}
\usepackage{color, comment, accents}
\usepackage{enumerate}
\renewcommand{\labelenumi}{\textbf{問題{\theenumi}.}}
\renewcommand{\theenumii}{\arabic{enumii}}
\renewcommand{\baselinestretch}{1.5}
\usepackage{emathP}
\begin{document}
aaaaaaaaa
%\begin{EMpsrectbox}%
% [wave, borderwidth=5pt]
%aaaa
%\end{EMpsrectbox}
aaaaaaaaa
\end{document}
VSCode setting.json:
{
"name": "uptex2pdf",
"command": "ptex2pdf",
"args": [
"-u",
"-l",
"-ot",
"-shell-escape",
"-kanji=utf8",
"-guess-input-enc",
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
],
"env": {
"PATH": "/usr/local/texlive/2021/bin/x86_64-linux/"
}
},
ptex2pdf ログ
This is e-upTeX, Version 3.141592653-p3.9.0-u1.27-210218-2.6 (utf8.uptex) (TeX Live 2021) (preloaded format=uplatex 2022.1.4) 4 JAN 2022 07:52
entering extended mode
\write18 enabled.
(略)
\openout4 = `hoge--------.pl'.
runsystem(perl hoge--------.pl)...executed.
LaTeX Warning: emathPp : you cannot use perl on input line 12.
それと, emath wiki が basic 認証を求められてパスワードが分からないために入れないのですが、他の方は如何でしょうか、、、。