当我使用《土耳其数学杂志》时,我收到“编码方案‘TU’未知。”错误。如何解决?

当我使用《土耳其数学杂志》时,我收到“编码方案‘TU’未知。”错误。如何解决?

我正在使用《土耳其数学杂志》撰写手稿,该杂志来自http://journals.tubitak.gov.tr/math/index.htm;jsessionid=D15895BC817F9481A9BEA2BAA5C33E04。这是我的工作试验:

\documentclass{math}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
urlcolor=blue,
citecolor=blue}
\usepackage[all]{xy}
\usepackage{amsfonts,amssymb,amsmath,amsgen,amsopn,amsbsy,theorem,graphicx,epsfig}
\usepackage{amscd,bezier,latexsym,mathrsfs,enumerate,multirow}
\usepackage[utf8]{inputenc}\usepackage[english]{babel}
\usepackage[dvipsnames]{xcolor}
\usepackage{academicons}
\definecolor{orcidlogocol}{HTML}{A6CE39}
\usepackage[pagewise]{lineno}
\linenumbers

\yil{}
\vol{}
\fpage{}
\lpage{}
\doi{}

\title{Manuscript template: Full title must be in sentence case \\
\textcolor{red}{\footnotesize  The first page should contain the full title in sentence case (e.g., Multiplication modules with Krull dimension)}}

\author[AUTHOR and AUTHOR]{
\textbf{First AUTHOR$^{1}$\thanks{Correspondence: [email protected]}~\href{https://orcid.org/XXXX-XXXX-XXXX-XXXX}{\orc},
Second AUTHORP$^{1,2}$\href{https://orcid.org/XXXX-XX12-3456-789X}{\orc}}\\
\textcolor{red}{The
full names (last names fully capitalised) and affiliations (in English) of all authors}\\ 
$^{1}$Department, Faculty, University, City, Country\\
$^{2}$Department of Mathematics, Faculty of Science, \.{I}zmir Institute of Technology, 
\.{I}zmir, Turkey\\
\textcolor{red}{(Department, Faculty, University, City,
Country), and the contact e-mail address for the clearly identified}\\
\textcolor{red}{corresponding author.}
\\ [1.8em]

\rec{.201}
\acc{.201}
\finv{..201}
}


\amssayisi{2010 {\itshape AMS Mathematics Subject Classification:} 23584 \textcolor{red}{(Each manuscript should be accompanied by classification numbers from the American
Mathematical Society classification scheme.)}
\newline
\vspace{-15mm}
\begin{center}
         \raisebox{-17ex}[0ex][0ex]{~~ \raisebox{.5ex}[0ex][0ex]{\footnotesize  This work is licensed under a Creative Commons Attribution 4.0 International License.}}
            \end{center}} 

\input{math.tex}

\setcounter{page}{1}
\begin{document}

\maketitle


\begin{abstract}The abstract should provide clear information about the research and the results obtained, and should not exceed 200 words. The abstract should not contain citations.

\keywords{Please provide key words or phrases to enable retrieval and indexing. Acronyms should be avoided.}
\end{abstract}

\section{Introduction}

\end{document}

但是,当我尝试运行它时,出现以下错误:

编码方案“TU”未知。

我收到的错误如下:

在此处输入图片描述

答案1

如果要使用ORCID标识,则需要用XeLaTeX或LuaLaTeX编译文档。

否则,你需要将徽标制作成独立的 PDF,例如

\documentclass{standalone}
\usepackage{academicons,xcolor}
\definecolor{orcidlogocol}{HTML}{A6CE39}

\begin{document}

\textcolor{orcidlogocol}{\aiOrcid}

\end{document}

将上述文件另存为orcidlogo.tex并使用 XeLaTeX 编译。然后,您可以将文档修改为

\documentclass{math}
\usepackage[all]{xy}
\usepackage{amsfonts,amssymb,amsmath,amsgen,amsopn,amsbsy,theorem,graphicx,epsfig}
\usepackage{amscd,bezier,latexsym,mathrsfs,enumerate,multirow}
\usepackage[utf8]{inputenc}\usepackage[english]{babel}
\usepackage[dvipsnames]{xcolor}
%\usepackage{academicons}
%\definecolor{orcidlogocol}{HTML}{A6CE39}
\usepackage[pagewise]{lineno}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
urlcolor=blue,
citecolor=blue}

\linenumbers

\yil{}
\vol{}
\fpage{}
\lpage{}
\doi{}

\renewcommand{\orc}{\includegraphics[height=\fontcharht\font`A]{orcidlogo}}

\title{Manuscript template: Full title must be in sentence case \\
\textcolor{red}{\footnotesize  The first page should contain the full
  title in sentence case (e.g., Multiplication modules with Krull dimension)}}

\author[AUTHOR and AUTHOR]{
\textbf{First AUTHOR$^{1}$\thanks{Correspondence: [email protected]}~%
  \href{https://orcid.org/XXXX-XXXX-XXXX-XXXX}{\orc},
Second AUTHORP$^{1,2}$\href{https://orcid.org/XXXX-XX12-3456-789X}{\orc}}\\
\textcolor{red}{The
full names (last names fully capitalised) and affiliations (in English) of all authors}\\
$^{1}$Department, Faculty, University, City, Country\\
$^{2}$Department of Mathematics, Faculty of Science, \.{I}zmir Institute of Technology,
\.{I}zmir, Turkey\\
\textcolor{red}{(Department, Faculty, University, City,
Country), and the contact e-mail address for the clearly identified}\\
\textcolor{red}{corresponding author.}
\\ [1.8em]

\rec{.201}
\acc{.201}
\finv{..201}
}

只要该orcidlogo.pdf文件与您的主文档位于同一文件夹中,就没问题。

不过,我只需输入 URL,将最后的工作留给期刊编辑。

在此处输入图片描述 笔记。已加载的软件包列表很长,而且全是过时或弃用的软件包;特别是epsfig,,应该删除。此外,已经由;加载,并且不需要,因为由latexsym;加载是无用的,因为您加载会生成更好的图表。最后,不会是我管理定理类环境的选择。bezieramsfontsamssymbamsgenamsopnamsbsyamsmathamscdxytheorem

答案2

由于您没有提供 math.cls,因此我无法重现您的脚本。但是,我有一个建议来解决 中的编码问题academicons。尽管我使用了luatexxetex,但我得到了相同的编码错误。我通过强制编码解决了它:

\usepackage[TU]{fontenc}

这解决了问题,但我猜这是一个肮脏的黑客行为。欢迎提供有关字体编码的任何完整答案或背景信息。

相关内容