vmargin.sty를 찾을 수 없습니다

vmargin.sty를 찾을 수 없습니다

사용하고 싶은 제목 페이지의 템플릿이 있습니다. TexStudio에서 컴파일을 클릭하면 TexStudio에서 추가 패키지를 설치하는 대화 상자가 열립니다. 대화상자를 클릭합니다(사진 첨부).

패키지 설치 대화상자

결과는 "파일을 vmargin.sty찾을 수 없습니다"라는 오류 메시지입니다. 더 이상 사용되지 않는(오래된) 것을 알았으므로 vmargin.sty이를 형상으로 바꿔야 합니다. 하지만 그렇게 할 수는 없습니다. 왜냐하면 전체 템플릿을 다시 작성해야 하기 때문입니다(물론 템플릿은 로 컴파일되지 않습니다 \usepackage{geometry}). 또한 패키지를 다운로드하는 서버도 변경했습니다. 그러나 결과는 같습니다. 도와주세요? 감사합니다. 아래에 템플릿 코드를 추가합니다.

\documentclass{thesisclass}
% Based on thesisclass.cls of Timo Rohrberg, 2009
% ----------------------------------------------------------------
% Thesis - Main document
% ----------------------------------------------------------------


%% -------------------------------
%% |  Information for PDF file   |
%% -------------------------------
\hypersetup{
 pdfauthor={Not set},
 pdftitle={Not set},
 pdfsubject={Not set},
 pdfkeywords={Not set}
}


%% ---------------------------------
%% | Information about the thesis  |
%% ---------------------------------

\newcommand{\myname}{Name}
\newcommand{\mytitle}{Title of thesis\\ 
                                        Second title line}
\newcommand{\myinstitute}{Chair for Computer Science II\\
                                                Software Engineering}

\newcommand{\reviewerone}{?}
\newcommand{\reviewertwo}{?}
\newcommand{\advisor}{?}
\newcommand{\advisortwo}{?}

\newcommand{\timestart}{XX. Monat 20XX}
\newcommand{\timeend}{XX. Monat 20XX}
\newcommand{\submissiontime}{DD. MM. 20XX}


%% ---------------------------------
%% | ToDo Marker - only for draft! |
%% ---------------------------------
% Remove this section for final version!
\setlength{\marginparwidth}{20mm}

\newcommand{\margtodo}
{\marginpar{\textbf{\textcolor{red}{ToDo}}}{}}

\newcommand{\todo}[1]
{{\textbf{\textcolor{red}{(\margtodo{}#1)}}}{}}


%% --------------------------------
%% | Old Marker - only for draft! |
%% --------------------------------
% Remove this section for final version!
\newenvironment{deprecated}
{\begin{color}{gray}}
{\end{color}}


%% --------------------------------
%% | Settings for word separation |
%% --------------------------------
% Help for separation:
% In german package the following hints are additionally available:
% "- = Additional separation
% "| = Suppress ligation and possible separation (e.g. Schaf"|fell)
% "~ = Hyphenation without separation (e.g. bergauf und "~ab)
% "= = Hyphenation with separation before and after
% "" = Separation without a hyphenation (e.g. und/""oder)

% Describe separation hints here:
\hyphenation{
% Pro-to-koll-in-stan-zen
% Ma-na-ge-ment  Netz-werk-ele-men-ten
% Netz-werk Netz-werk-re-ser-vie-rung
% Netz-werk-adap-ter Fein-ju-stier-ung
% Da-ten-strom-spe-zi-fi-ka-tion Pa-ket-rumpf
% Kon-troll-in-stanz
}


%% ------------------------
%% |    Including files   |
%% ------------------------
   % Only files listed here will be included!
   % Userful command for partially translating the document (for bug-fixing             e.g.)
   \includeonly{%
titlepage,
declaration,
introduction,
content,
evaluation,
conclusion,
appendix
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Here, main documents begins %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

% Remove the following line for German text
\selectlanguage{english}

\frontmatter
\pagenumbering{roman}
\include{titlepage}
\include{declaration}
\blankpage


%% -------------------
%% |   Directories   |
%% -------------------
\tableofcontents
\blankpage


%% -----------------
%% |   Main part   |
%% -----------------
\mainmatter
\pagenumbering{arabic}
\include{introduction}
\include{content}
\include{evaluation}
\include{conclusion}


%% --------------------
%% |   Bibliography   |
%% --------------------
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}

\iflanguage{english}
{\bibliographystyle{IEEEtranSA}}    % english style
{\bibliographystyle{babalpha-fl}}   % german style

% Use IEEEtran for numeric references
%\bibliographystyle{IEEEtranSA})

\bibliography{thesis}


%% ----------------
%% |   Appendix   |
%% ----------------
\cleardoublepage

\input{appendix}


\end{document}

답변1

miktex가 잘못된 패키지를 다운로드하려고 하면 로컬 패키지 데이터베이스에 결함이 있거나 오래된 것처럼 보입니다. 온라인 데이터베이스와 동기화하여 이 데이터베이스를 업데이트할 수 있습니다.

패키지 관리자(admin그리고사용자 버전) 및 동기화(메뉴 저장소) 후 다시 시도하십시오.

관련 정보