KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당

안녕하세요.

특정 저널 서식에 따라 조금씩 연습을 하는중인데, 예측할수 없는 컴파일 에러들이 발생하여 많은 시간을 소비하게 만듭니다.

어떤 이유에서인지 몰라도 현재 Tex 파일을 첨부할 수 없어서, 제가 관련 내용을 아래에다 paste 했습니다. 컴파일 해보시면 아시겠지만, 수많은 에러가 발생합니다. 그 중에서 공통적으로 "head_foot/DOI not found" 와 "head_foot/dates not found" 와 같은 에러들이 보이는데, 제가 작성한 서식을 보시면 아시겠지만, 실제로 "head_foot" 과 관련한 코멘트가 있습니다. \includegraphics{head_foot_DOI} 그리고 \includegraphics{head_foot_dates} 를 보시길 바랍니다. (본문에서 관련부분의 에러가 포함된 부분을 Bold Style로 표시를 했습니다!!!)

지금 File Not Found 라는 말 자체가 어떤 파일을 첨가하지 않았다는 것인지, 아니면 path를 지정하는데 문제가 생겼다는지 알수가 없네요. 참고로, 제가 보낸 서식은 해당저널의 Latex Template을 그대로 사용하고, 다만 특정부분을 첨가하거나 변경했을 뿐, 이러한 것들은 발생한 에러와는 전혀 관계가 없습니다.

그런데, 이러한  error message에도 불구하고 PDF 파일이 하나 만들어졌는데, 나름대로 체대로 출력이 된 것 같습니다. 

어떻게 된 일인지 잘 모르겠습니다. 한번 아래 내용을 컴파일해보시고 관련 에러를 해결할 수 있는 방법을 알려주시면 감사하겠습니다. 

 

\documentclass[twoside,twocolumn,9pt]{article}
\usepackage{extsizes}
\usepackage[super,sort&compress,comma]{natbib} 
\usepackage[version=3]{mhchem}
\usepackage[left=1.5cm, right=1.5cm, top=1.785cm, bottom=2.0cm]{geometry}
\usepackage{balance}
\usepackage{times,mathptmx}
\usepackage{sectsty}
\usepackage{lastpage}
\usepackage[format=plain,justification=justified,singlelinecheck=false,font={stretch=1.125,small,sf},labelfont=bf,labelsep=space]{caption}
\usepackage{float}
\usepackage{fancyhdr}
\usepackage{fnpos}
\usepackage[english]{babel}
\addto{\captionsenglish}{%
    \renewcommand{\refname}{References}
}
\usepackage{array}
\usepackage{droidsans}
\usepackage{charter}
\usepackage[T1]{fontenc}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{setspace}
\usepackage[compact]{titlesec}
%\usepackage{hyperref} % Do not use temporarily!
%\usepackage[latin1]{inputenc}  % Do not use this command!
%\usepackage{rsc}    % This command does not work!
\usepackage{multicol} % New command added to the existing format
\usepackage{mwe} % New command added to the existing format
\usepackage{rotating}   % New commands added to the existing format
\usepackage{graphicx,subfigure}  % New commands added to the existing format
%\usepackage[demo]{graphicx}   % Not used temporarily
%\usepackage{subfig} % Not used temporarily
%\usepackage{dblfloatfix} % Not used temporarily
%\usepackage{subcaption}  % It is used for "subfigure" command
\usepackage{graphicx}  % It is used for "subfigure" command

%%%Please don't disable any packages in the preamble, as this may cause the template to display incorrectly.%%%

\usepackage{epstopdf} %This line makes .eps figures into .pdf - please comment out if not required.
%\usepackage{placeins} % Use this command to place the position of figure (Added to the exsiting format}

\definecolor{cream}{RGB}{222,217,201}

\begin{document}
    \pagestyle{fancy}
    \thispagestyle{plain}
    \fancypagestyle{plain}{
        
        %%%HEADER%%%
        \fancyhead[C]{\includegraphics[width=18.5cm]{head_foot/header_bar}}
        \fancyhead[L]{\hspace{0cm}\vspace{1.5cm}\includegraphics[height=30pt]{head_foot/journal_name}}
        \fancyhead[R]{\hspace{0cm}\vspace{1.7cm}\includegraphics[height=55pt]{head_foot/RSC_LOGO_CMYK}}
        \renewcommand{\headrulewidth}{0pt}
    }
    %%%END OF HEADER%%%
    
    %%%PAGE SETUP - Please do not change any commands within this section%%%
    \makeFNbottom
    \makeatletter
    \renewcommand\LARGE{\@setfontsize\LARGE{15pt}{17}}
    \renewcommand\Large{\@setfontsize\Large{12pt}{14}}
    \renewcommand\large{\@setfontsize\large{10pt}{12}}
    \renewcommand\footnotesize{\@setfontsize\footnotesize{7pt}{10}}
    \makeatother
    
    \renewcommand{\thefootnote}{\fnsymbol{footnote}}
    \renewcommand\footnoterule{\vspace*{1pt}% 
        \color{cream}\hrule width 3.5in height 0.4pt \color{black}\vspace*{5pt}} 
    \setcounter{secnumdepth}{5}
    
    \makeatletter 
    \renewcommand\@biblabel[1]{#1}            
    \renewcommand\@makefntext[1]% 
    {\noindent\makebox[0pt][r]{\@thefnmark\,}#1}
    \makeatother 
    \renewcommand{\figurename}{\small{Fig.}~}
    \sectionfont{\sffamily\Large}
    \subsectionfont{\normalsize}
    \subsubsectionfont{\bf}
    \setstretch{1.125} %In particular, please do not alter this line.
    \setlength{\skip\footins}{0.8cm}
    \setlength{\footnotesep}{0.25cm}
    \setlength{\jot}{10pt}
    \titlespacing*{\section}{0pt}{4pt}{4pt}
    \titlespacing*{\subsection}{0pt}{15pt}{1pt}
    %%%END OF PAGE SETUP%%%
    
    %%%FOOTER%%%
    \fancyfoot{}
    \fancyfoot[LO,RE]{\vspace{-7.1pt}\includegraphics[height=9pt]{head_foot/LF}}
    \fancyfoot[CO]{\vspace{-7.1pt}\hspace{13.2cm}\includegraphics{head_foot/RF}}
    \fancyfoot[CE]{\vspace{-7.2pt}\hspace{-14.2cm}\includegraphics{head_foot/RF}}
    \fancyfoot[RO]{\footnotesize{\sffamily{1--\pageref{LastPage} ~\textbar  \hspace{2pt}\thepage}}}
    \fancyfoot[LE]{\footnotesize{\sffamily{\thepage~\textbar\hspace{3.45cm} 1--\pageref{LastPage}}}}
    \fancyhead{}
    \renewcommand{\headrulewidth}{0pt} 
    \renewcommand{\footrulewidth}{0pt}
    \setlength{\arrayrulewidth}{1pt}
    \setlength{\columnsep}{6.5mm}
    \setlength\bibsep{1pt}
    %%%END OF FOOTER%%%
    
    %%%FIGURE SETUP - please do not change any commands within this section%%%
    \makeatletter 
    \newlength{\figrulesep} 
    \setlength{\figrulesep}{0.5\textfloatsep} 
    
    \newcommand{\topfigrule}{\vspace*{-1pt}% 
        \noindent{\color{cream}\rule[-\figrulesep]{\columnwidth}{1.5pt}} }
    
    \newcommand{\botfigrule}{\vspace*{-2pt}% 
        \noindent{\color{cream}\rule[\figrulesep]{\columnwidth}{1.5pt}} }
    
    \newcommand{\dblfigrule}{\vspace*{-1pt}% 
        \noindent{\color{cream}\rule[-\figrulesep]{\textwidth}{1.5pt}} }
    
    \makeatother
    %%%END OF FIGURE SETUP%%%
    
        
    %%%TITLE, AUTHORS AND ABSTRACT%%%
    \twocolumn [
    \begin{@twocolumnfalse}
        \vspace{3cm}
        \sffamily
        \begin{tabular}{m{4.5cm} p{13.5cm}}
            
            \includegraphics{head_foot/DOI} & \noindent\LARGE{\textbf{test}} \\%Article title goes here instead of the text "This is the title"
            \vspace{0.3cm} & \vspace{0.3cm} \\                            
            
            & \noindent\large{First Author\textit{$^{\ast}$$^{a}$} and Second Author\textit{$^{a}$$^{b}$}} \\%Author names go here instead of "Full name", etc.
            \includegraphics{head_foot/dates} & \noindent\normalsize{Abstract will be shown here.} \\
            
        \end{tabular}
        
    \end{@twocolumnfalse} \vspace{0.6cm}
]    
    
    %%%END OF TITLE, AUTHORS AND ABSTRACT%%%
    
    %%%FONT SETUP - please do not change any commands within this section
    \renewcommand*\rmdefault{bch}\normalfont\upshape
    \rmfamily
    \section*{}
    \vspace{-1cm}
    
    
    %%%FOOTNOTES%%%
%\newcommand\nnfootnote[1]{%
%    \begin{NoHyper}
%        \renewcommand\thefootnote{}\footnote{#1}%
%        \addtocounter{footnote}{-1}%
%    \end{NoHyper}
%}
%The NoHyper environment additionally ensures that there is no hyperlink from the text to the footnote.

\footnotetext{\textit{$^{a}$~Department of A1, ABC University}} 
\footnotetext{\textit{$^{b}$~Department of A2, ABC University}} 

% Use \nnfootnote instead of \footnotetext when \usepackage{hyperref} is used!


    
    %%%END OF FOOTNOTES%%%
    
    %%%MAIN TEXT%%%%
    % The main text of the article\cite{Mena2000} should appear here.   % Temporarily not used!
    
\section{Introduction}
\indent Introduction will be provided. \\
    

\begin{figure}[h]
\begin{multicols}{2}
    \centering
    \includegraphics[width=\linewidth]{EF} 
    \includegraphics[width=\linewidth]{EF_3D} 
    \caption{test1}
\end{multicols}
\end{figure}


\begin{figure*}[h] 
    \subfigure[]{
        \includegraphics[width=0.46\textwidth]{EF}      
    }
    \quad
    \subfigure[]{
        \includegraphics[width=0.46\textwidth]{EF_3D} \\            
    }
    \caption{\textit{test2}}            
\end{figure*}

%\FloatBarrier
%\begin{thebibliography}{3}
%    \bibitem{1} U.Alon   \textit{Chapman and Hall/CRC}, 2017.   
%    \bibitem{2} J.J.Hopfield, \textit{Proc. Nat. Acad. Sci. USA}, \textbf{71}, 1974, 4135-4139   
%    \bibitem{3} J.Ninio, \textit{Biochimie}, 1975, \textbf{57}, 587-595.
%\end{thebibliography}   
** 이 질문글과 연관된 질문으로 판단되어 별도의 글을 이글의 댓글로 옮깁니다. (관리자) **

KTUG 한국 텍 사용자 그룹