虽然有一些处理警告信息的建议:
复合字母“\textasciicaron+c”未在 PD1 编码中定义
例如请参见此处:
元数据中的 UTF-8 问题
如果章节(子章节)标签中出现字母(),似乎我无法摆脱这些警告\section{Example: \v{s}}
。有人能给我一些建议吗?
我的标题包含:
\documentclass[12pt]{beamer}
\usepackage[english,serbian]{babel}
\usepackage[default,osfigures,scale=0.95]{opensans}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{tabularx}
我也尝试过:
\documentclass[12pt]{beamer}
\usepackage[english,serbian]{babel}
\usepackage[default,osfigures,scale=0.95]{opensans}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{tabularx}
非常感谢!PM
===========================================================
最小示例:
\documentclass[12pt]{beamer}
\usepackage[english,serbian]{babel}
\usepackage[default,osfigures,scale=0.95]{opensans}
\usepackage[T1]{fontenc}
\usepackage[normalem]{ulem}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{color}
\usepackage{setspace}
\usepackage{parskip}
%
\xdefinecolor{myStructureColor}{RGB}{51,158,51}
\xdefinecolor{myAlertedColor}{RGB}{255,51,51}
\xdefinecolor{myTextColor}{RGB}{60,60,60}
\xdefinecolor{midGrey}{RGB}{180,180,180}
\xdefinecolor{lightGrey}{RGB}{225,225,225}
%
\setbeamercolor{normal text}{fg=myTextColor}
\setbeamercolor{structure}{fg=myStructureColor}
\setbeamercolor{alerted text}{fg=myAlertedColor}
\setbeamercolor{section in toc}{fg=myAlertedColor}
%
\setbeamerfont{structure}{shape=\scshape}
\setbeamerfont{section in toc}{shape=\scshape}
%
\setbeamertemplate{itemize item}
{\includegraphics[width=0.06in]{backbulls/bulettA}}
\setbeamertemplate{itemize subitem}
{\includegraphics[width=0.05in]{backbulls/bulettB}}
\setbeamertemplate{itemize subsubitem}
{\includegraphics[width=0.05in]{backbulls/bulettC}}
%
\AtBeginSection[]
{\begin{frame}
\frametitle{Sadr\v zaj}
\tableofcontents[currentsection]
\end{frame}}
%
\setlength{\parskip}{1ex}
%
\title{Slo\v zeni linearni modeli}
\date{\tiny{februar 2014. godine}}
%
\begin{document}
\begin{frame}
\begin{spacing}{2}
\titlepage
\end{spacing}
\end{frame}
\section{Ve\v zba}
\begin{frame}[fragile]
\frametitle{Works}
previous section label works fine...
\end{frame}
\section{\v Cinjenica}
\begin{frame}[fragile]
\frametitle{Does not work}
previous section label does not work...
\end{frame}
\begin{frame}
\vspace*{4\baselineskip}
\begin{center}
{\LARGE{K~~~R~~~A~~~J}}
\end{center}
\end{frame}
\end{document}
答案1
添加unicode
选项hyperref
(使用此选项支持的字母范围更大)。
\documentclass[12pt,hyperref={unicode}]{beamer}
\usepackage[english,serbian]{babel}
\usepackage[default,osfigures,scale=0.95]{opensans}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[normalem]{ulem}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{color}
\usepackage{setspace}
\usepackage{parskip}
%
\xdefinecolor{myStructureColor}{RGB}{51,158,51}
\xdefinecolor{myAlertedColor}{RGB}{255,51,51}
\xdefinecolor{myTextColor}{RGB}{60,60,60}
\xdefinecolor{midGrey}{RGB}{180,180,180}
\xdefinecolor{lightGrey}{RGB}{225,225,225}
%
\setbeamercolor{normal text}{fg=myTextColor}
\setbeamercolor{structure}{fg=myStructureColor}
\setbeamercolor{alerted text}{fg=myAlertedColor}
\setbeamercolor{section in toc}{fg=myAlertedColor}
%
\setbeamerfont{structure}{shape=\scshape}
\setbeamerfont{section in toc}{shape=\scshape}
%
\setbeamertemplate{itemize item}
{\includegraphics[width=0.06in]{backbulls/bulettA}}
\setbeamertemplate{itemize subitem}
{\includegraphics[width=0.05in]{backbulls/bulettB}}
\setbeamertemplate{itemize subsubitem}
{\includegraphics[width=0.05in]{backbulls/bulettC}}
%
\AtBeginSection[]
{\begin{frame}
\frametitle{Sadr\v zaj}
\tableofcontents[currentsection]
\end{frame}}
%
\setlength{\parskip}{1ex}
%
\title{Slo\v zeni linearni modeli}
\date{\tiny{februar 2014. godine}}
%
\begin{document}
\begin{frame}
\begin{spacing}{2}
\titlepage
\end{spacing}
\end{frame}
\section{Ve\v zba}
\begin{frame}[fragile]
\frametitle{Works}
previous section label works fine...
\end{frame}
\section{\v Cinjenica}
\begin{frame}[fragile]
\frametitle{Does not work}
previous section label does not work...
\end{frame}
\begin{frame}
\vspace*{4\baselineskip}
\begin{center}
{\LARGE{K~~~R~~~A~~~J}}
\end{center}
\end{frame}
\end{document}
答案2
线
\documentclass[12pt,hyperref={unicode}]{beamer}
对我来说不起作用,
我解决了我的问题
\usepackage{hyperref}
代替
\usepackage[unicode]{hyperref}