![表达语言问题](https://linux22.com/image/420555/%E8%A1%A8%E8%BE%BE%E8%AF%AD%E8%A8%80%E9%97%AE%E9%A2%98.png)
我尝试用土耳其语进行演讲:
\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}