하이퍼참조의 경고

하이퍼참조의 경고

내 텍스트 내부의 링크를 사용하는 데 어려움을 겪고 있지만 \usepackage{hyperref}컴파일 후에는 경고음이 들립니다. 도와주실 수 있나요?

내 코드를 살펴보세요.

\documentclass[12pt,a4paper]{book}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage[english,greek]{babel}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{enumerate} 
\usepackage{textcomp}
\usepackage{tcolorbox,xcolor}
\usepackage{array}
\usepackage{extarrows} %για να γράφω πανω από συνεπαγωγές 
\usepackage{hyperref}


\newcommand{\rightarrowdbl}{\rightarrow\mathrel{\mkern-14mu}\rightarrow} % για να γραφω πανω απο βελη επιμορφισμων
\newcommand{\xrightarrowdbl}[2][]{%
  \xrightarrow[#1]{#2}\mathrel{\mkern-14mu}\rightarrow
}


\sloppy %Ρυθμίζει τα overfull/underfile στις γραμμές!


%Φτιάχνει το μέγεθος της γραμματοσειράς μέσα στα math enviroments δηλαδή μέσα στα δολάρια. Το πρώτο bracket είναι για το κείμενο και το δεύτερο για τα δολάρια. Δες και https://texfaq.org/FAQ-mathsize
\usepackage{lmodern}
\usepackage{anyfontsize}
\DeclareMathSizes{12}{13}{7}{5}

\theoremstyle{definition}

\makeatletter

% Define amsthm theorems first
\newtheorem{defin}{Ορισμός}[section] % Creates a new counter, number within section
\newtheorem{prt}[defin]{Παρατήρηση} % Putting [defin] in second position uses defin's counter instead of creating a new one
\newtheorem{prts}[defin]{Παρατηρήσεις} % Again share defin's counter
\newtheorem{exmp}[defin]{Παράδειγμα} % etc.
\newtheorem{exmps}[defin]{Παραδείγματα}
\newtheorem*{simiosi}{Σημείωση}

\usepackage{tcolorbox}
\tcbuselibrary{theorems}
\newtcbtheorem[use counter*=defin, number within=section]{mytheo}{Θεώρημα}%
{colback=black!5,colframe=red!35!black,fonttitle=\bfseries}{th
\newtcbtheorem[use counter*=defin, number within=section]{myprop}{Πρόταση}%
{colback=black!5,colframe=red!50!black,fonttitle=\bfseries}{th}
\newtcbtheorem[use counter*=defin, number within=section]{mylem}{Λήμμα}%
{colback=black!5,colframe=red!50!black,fonttitle=\bfseries}{th}
\newtcbtheorem[use counter*=defin, number within=section]{mypor}{Πόρισμα}%
{colback=black!5,colframe=red!35!black,fonttitle=\bfseries}{th}
\newtcbtheorem[use counter*=defin, number within=section]{myax}{Αξίωμα}%
{colback=black!5,colframe=blue!35!black,fonttitle=\bfseries}{th}
\renewcommand{\rmdefault}{udidot}
\usepackage{calrsfs}
\DeclareMathAlphabet{\pazocal}{OMS}{zplm}{m}{n}
\newcommand{\Bb}{\mathbb}
\newcommand{\tle}{\trianglelefteq}
\newcommand{\properideal}{%
  \mathrel{\ooalign{$\lneq$\cr\raise.22ex\hbox{$\lhd$}\cr}}}
\newcommand{\Ker}{\mathrm{Ker}}
\newcommand{\kdim}{\mathrm{Krulldim}}
\newcommand{\spec}{\mathrm{Spec}}
\newcommand{\mspec}{\mathrm{Maxpec}}
\newcommand{\rad}{\mathrm{Rad}}
\newcommand{\nrad}{\mathrm{Nilrad}}
\newcommand{\jac}{\mathrm{Jac}}
\raggedbottom
\BeforeBeginEnvironment{mylm}{\begin{minipage}{\linewidth}}
\AfterEndEnvironment{mylm}{\end{minipage}\par}
\usepackage{calrsfs}
\DeclareMathAlphabet{\pazocal}{OMS}{zplm}{m}{n}
\newcommand{\La}{\mathcal{L}}
\newcommand{\Lb}{\pazocal{L}}
\newcommand{\Fb}{\pazocal{F}}
\newcommand{\Pb}{\pazocal{P}}
\begin{document}
\title{\Huge{Το Θεώρημα των \\ \latintext Hopkins - Levitzki \greektext}}
\author{\Large{ασδφ}\\  ΑΠΘ}
\maketitle{} 
\thispagestyle{empty}
\newpage
\frontmatter
\tableofcontents
\mainmatter
\chapter{Πρώτα και Μέγιστα Ιδεώδη}
\section{Μέγιστα ιδεώδη}  
\begin{myprop}[label=krmegid]{Κριτήριο Μέγιστων Ιδεωδών}{}
Έστω $R$ 
ιλθυηβξν
\end{myprop}
Από την Πρόταση \ref{krmegid}
\end{document}

다음 그림에는 일부 경고가 나와 있습니다.

여기에 이미지 설명을 입력하세요

답변1

주어진 코드를 일부 변경하면(다음 MWE에서 로 표시함 <=======) 오류나 경고 없이 컴파일할 수 있지만 단지 해킹으로만 참조하십시오. 왜냐하면 로마 번호 매기기를 없애기 위해 단순히 주석을 달았기 때문입니다 \frontmatter(따라서 ). \mainmatter머리말 부분.

호출 순서를 변경하고 hyperref(귀하의 경우 마지막으로 호출해야 함) 제목의 오류를 수정했습니다(명령 \Huge\Large인수를 사용하지 않고 다음과 같이 사용 {\Huge text to be huge}).

코드를 참조하세요

\documentclass[12pt,a4paper]{book}

\usepackage[T1]{fontenc} % <============================================
\usepackage[utf8]{inputenc}

\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage[english,greek]{babel}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{enumerate} 
\usepackage{textcomp}
\usepackage{tcolorbox,xcolor}
\usepackage{array}
\usepackage{extarrows} %για να γράφω πανω από συνεπαγωγές 

\newcommand{\rightarrowdbl}{\rightarrow\mathrel{\mkern-14mu}\rightarrow} % για να γραφω πανω απο βελη επιμορφισμων
\newcommand{\xrightarrowdbl}[2][]{%
  \xrightarrow[#1]{#2}\mathrel{\mkern-14mu}\rightarrow
}

\sloppy %Ρυθμίζει τα overfull/underfile στις γραμμές!

%Φτιάχνει το μέγεθος της γραμματοσειράς μέσα στα math enviroments δηλαδή μέσα στα δολάρια. Το πρώτο bracket είναι για το κείμενο και το δεύτερο για τα δολάρια. Δες και https://texfaq.org/FAQ-mathsize
\usepackage{lmodern}
\usepackage{anyfontsize}
\DeclareMathSizes{12}{13}{7}{5}

\theoremstyle{definition}

% Define amsthm theorems first
\newtheorem{defin}{Ορισμός}[section] % Creates a new counter, number within section
\newtheorem{prt}[defin]{Παρατήρηση} % Putting [defin] in second position uses defin's counter instead of creating a new one
\newtheorem{prts}[defin]{Παρατηρήσεις} % Again share defin's counter
\newtheorem{exmp}[defin]{Παράδειγμα} % etc.
\newtheorem{exmps}[defin]{Παραδείγματα}
\newtheorem*{simiosi}{Σημείωση}

\usepackage{tcolorbox}
\tcbuselibrary{theorems}
\newtcbtheorem[use counter*=defin, number within=section]{mytheo}{Θεώρημα}%
{colback=black!5,colframe=red!35!black,fonttitle=\bfseries}{th} % <=====================
\newtcbtheorem[use counter*=defin, number within=section]{myprop}{Πρόταση}%
{colback=black!5,colframe=red!50!black,fonttitle=\bfseries}{th}
\newtcbtheorem[use counter*=defin, number within=section]{mylem}{Λήμμα}%
{colback=black!5,colframe=red!50!black,fonttitle=\bfseries}{th}
\newtcbtheorem[use counter*=defin, number within=section]{mypor}{Πόρισμα}%
{colback=black!5,colframe=red!35!black,fonttitle=\bfseries}{th}
\newtcbtheorem[use counter*=defin, number within=section]{myax}{Αξίωμα}%
{colback=black!5,colframe=blue!35!black,fonttitle=\bfseries}{th}
\renewcommand{\rmdefault}{udidot}

\usepackage{calrsfs}
\usepackage[unicode]{hyperref} % <======================================

\DeclareMathAlphabet{\pazocal}{OMS}{zplm}{m}{n}
\newcommand{\Bb}{\mathbb}
\newcommand{\tle}{\trianglelefteq}
\newcommand{\properideal}{%
  \mathrel{\ooalign{$\lneq$\cr\raise.22ex\hbox{$\lhd$}\cr}}}
\newcommand{\Ker}{\mathrm{Ker}}
\newcommand{\kdim}{\mathrm{Krulldim}}
\newcommand{\spec}{\mathrm{Spec}}
\newcommand{\mspec}{\mathrm{Maxpec}}
\newcommand{\rad}{\mathrm{Rad}}
\newcommand{\nrad}{\mathrm{Nilrad}}
\newcommand{\jac}{\mathrm{Jac}}

\raggedbottom

\BeforeBeginEnvironment{mylm}{\begin{minipage}{\linewidth}}
\AfterEndEnvironment{mylm}{\end{minipage}\par}

\DeclareMathAlphabet{\pazocal}{OMS}{zplm}{m}{n}
\newcommand{\La}{\mathcal{L}}
\newcommand{\Lb}{\pazocal{L}}
\newcommand{\Fb}{\pazocal{F}}
\newcommand{\Pb}{\pazocal{P}}


\begin{document}

\title{\Huge Το Θεώρημα των \\ \latintext Hopkins - Levitzki \greektext} % <==========
\author{{\Large ασδφ}\\  ΑΠΘ} % <=======================================
\maketitle{} 
\thispagestyle{empty}
\newpage

%\frontmatter % <============================ resulting in roman numbers
\tableofcontents

%\mainmatter % <========================================================
\chapter{Πρώτα και Μέγιστα Ιδεώδη}
\section{Μέγιστα ιδεώδη}  
\begin{myprop}[label=krmegid]{Κριτήριο Μέγιστων Ιδεωδών}{}
Έστω $R$ 
ιλθυηβξν
\end{myprop}
Από την Πρόταση \ref{krmegid}

\end{document}

결과는 다음과 같습니다.

그리스어 페이지

답변2

다음 옵션과 함께 hyperref를 사용하십시오 unicode.

\documentclass[12pt,a4paper]{book}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage[english,greek]{babel}
\usepackage[unicode]{hyperref}

\usepackage{lmodern}

\begin{document}
\tableofcontents
\chapter{Πρώτα και Μέγιστα Ιδεώδη}
\section{Μέγιστα ιδεώδη}
Από την Πρόταση \ref{krmegid}
\end{document}

그러면 올바른 북마크가 제공됩니다.

여기에 이미지 설명을 입력하세요

관련 정보