我尝试用土耳其语进行演讲:
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[turkish]{babel}
\title{Title}
\author{İÖÇığş}
\institute{University}
\date{2020}
\begin{document}
\frame{\titlepage}
\begin{frame}
\frametitle{Sample frame title}
Turkish Pangram: Pijamalı hasta yağız şoföre çabucak güvendi.
\end{frame}
\end{document}
但是 Overleaf 给出了以下警告:
Package hyperref main.tex, line 16
Warning:Composite letter
'\textdotaccent+I' not defined in PD1 encoding, removing '\textdotaccent' on input line 16.
Package hyperref main.tex, line 16
Warning:Glyph not defined in PD1
encoding, removing '\u' on input line 16.
Package hyperred main.tex, line 16
Warning:Composite letter '\textcedilla+s'
not defined in PD1 encoding, removing '\textcedilla' on input line 16.
既然我添加了\usepackage[utf8]{inputenc}
\usepackage[turkish]{babel}
,那么为什么它会给我发送这些消息?
答案1
您可以传递该unicode
选项,hyperref
然后警告就会消失。
\documentclass[hyperref=unicode]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[turkish]{babel}
\title{Title}
\author{İÖÇığş}
\institute{University}
\date{2020}
\begin{document}
\frame{\titlepage}
\begin{frame}
\frametitle{Sample frame title}
Turkish Pangram: Pijamalı hasta yağız şoföre çabucak güvendi.
\end{frame}
\end{document}