
Estou recebendo caracteres desnecessários em meu projeto. Usei um aplicativo simples, mas também está gerando esses caracteres. Tentei comentar minhas alterações anteriores, mas ainda estou recebendo esses caracteres. Também estou recebendo erro com \maketitle
.
Meu código é:
\documentclass[manuscript,screen]{acmart}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{listings}
\input{solidity-highlighting.tex}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{rotating}
\usepackage{array, makecell}
\renewcommand\rotheadgape{}
\usepackage{xparse}
\NewExpandableDocumentCommand\mcc{O{1}m}
{\multicolumn{#1}{>{\bfseries\small}c|}{#2}}
%---------------- show page layout. don't use in a real document!
%\usepackage{showframe}
%\renewcommand\ShowFrameLinethickness{0.15pt}
%\renewcommand*\ShowFrameColor{\color{red}}
\usepackage{lipsum}
%\usepackage{natbib}
%\bibliographystyle{unsrtnat}
%\title{TestingLatexCopy}
%\author{ }
%\date{August 2020}
\AtBeginDocument{%
\providecommand\BibTeX{{%
\normalfont B\kern-0.5em{\scshape i\kern-0.25em b}\kern-0.8em\TeX}}}
\setcopyright{acmcopyright}
\copyrightyear{2020}
\acmYear{2020}
\acmDOI{10.1145/1122445.1122456}
\begin{document}
\title{A Testing}
%Survey on the Tools Support and Vulnerability Detection in Smart Contracts}
\author{A1author}
\authornote{A1Note}
\email{}
%\orcid{}
\author{A2author}
\authornotemark{A2Note}
\email{}
\affiliation{
\institution{}
% \streetaddress{P.O. Box 1212}
% \city{Dublin}
% \state{Ohio}
% \postcode{43017-6221}
}
%\renewcommand{\shortauthors}{Trovato and Tobin, %et al.}
\begin{abstract}
Testing abstract
\end{abstract}
\begin{CCSXML}
<ccs2012>
<concept>
<concept_id>10002978.10003022</concept_id>
<concept_desc>Security </concept_desc>
<concept_significance>500</concept_significance>
</concept>
<concept>
<concept_id>10002944.10011122.10002945</concept_id>
<concept_desc>General overviews</concept_desc>
<concept_significance>500</concept_significance>
</concept>
</ccs2012>
\end{CCSXML}
\ccsdesc[500]{Security and privacy}
\ccsdesc[500]{General and reference}
%%
%% Keywords. The author(s) should pick words that accurately describe
%% the work being presented. Separate the keywords with commas.
\keywords{Testing1, Testing2, testing3}
\maketitle
\section{Introduction}
\bibliographystyle{ACM-Reference-Format}
\bibliography{sourcefile-bib}
\end{document}
\endinput
Minha imagem de saída é:
Link para arquivos: ou seja, Solidity-highlighting.tex, arquivo ACM_Reference Format, arquivos acmart e arquivo .bib, por favor, use o seguinte link: Link para arquivos do projeto
Após alterações no meu comentário1, a imagem é:
Responder1
Se eu alterar as linhas 35-44 para o código a seguir, não recebo erros no Overleaf:
\documentclass[manuscript,screen]{acmart}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{listings}
\input{solidity-highlighting.tex}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{rotating}
\usepackage{array, makecell}
\renewcommand\rotheadgape{}
\usepackage{xparse}
\NewExpandableDocumentCommand\mcc{O{1}m}
{\multicolumn{#1}{>{\bfseries\small}c|}{#2}}
%---------------- show page layout. don't use in a real document!
%\usepackage{showframe}
%\renewcommand\ShowFrameLinethickness{0.15pt}
%\renewcommand*\ShowFrameColor{\color{red}}
\usepackage{lipsum}
\AtBeginDocument{%
\providecommand\BibTeX{{%
\normalfont B\kern-0.5em{\scshape i\kern-0.25em b}\kern-0.8em\TeX}}}
\setcopyright{acmcopyright}
\copyrightyear{2020}
\acmYear{2020}
\acmDOI{10.1145/1122445.1122456}
\begin{document}
\title{A Testing}
\author{A1}
% \authornote{}
% \email{}
%\orcid{}
\author{A2}
% \authornotemark{}
% \email{}
% \affiliation{
% \institution{}
% }
\begin{abstract}
Testing abstract
\end{abstract}
\begin{CCSXML}
<ccs2012>
<concept>
<concept_id>10002978.10003022</concept_id>
<concept_desc>Security </concept_desc>
<concept_significance>500</concept_significance>
</concept>
<concept>
<concept_id>10002944.10011122.10002945</concept_id>
<concept_desc>General overviews</concept_desc>
<concept_significance>500</concept_significance>
</concept>
</ccs2012>
\end{CCSXML}
\ccsdesc[500]{Security and privacy}
\ccsdesc[500]{General and reference}
\keywords{Testing1, Testing2, testing3}
\maketitle
\section{Introduction}
\bibliographystyle{ACM-Reference-Format}
\bibliography{sourcefile-bib}
\end{document}
\endinput
O único aviso que recebo é:Package natbib Warning: Empty `thebibliography' environment on input line 40.