我正在使用一个外部程序,它可以根据以粗体显示的单词从 pdf 文档生成索引。当我用 LaTeX 创建文档时,文章标题和目录包含粗体单词。然而,外部程序却无法识别它们。LaTeX 或 pdf 内部是否有东西可以解释为什么正确以粗体显示的单词除了肉眼之外无法识别为粗体?
梅威瑟:
\documentclass[12pt,a4paper]{article}
\title{Important Article}
\author{Unaffiliated Author}
\date{}
\usepackage{mathpazo} %I don't know if this affects the answer
\begin{document}
\maketitle
\tableofcontents
\section{Article $[$1$]$ Bacon}
Bacon ipsum dolor amet doner ball tip chuck rump. Pig meatball jowl, bresaola pastrami chicken ball tip venison beef ribs andouille pork loin leberkas. Tongue alcatra brisket, sausage andouille pork belly chuck doner ball tip meatball hamburger salami. Turducken tongue pork belly, hamburger boudin rump meatball chicken fatback cupim capicola chuck spare ribs. Tail kevin prosciutto ham chicken.
\section{Article $[$2$]$ Pork}
Bacon ipsum dolor amet doner ball tip chuck rump. Pig meatball jowl, bresaola pastrami chicken ball tip venison beef ribs andouille pork loin leberkas. Tongue alcatra brisket, sausage andouille pork belly chuck doner ball tip meatball hamburger salami. Turducken tongue pork belly, hamburger boudin rump meatball chicken fatback cupim capicola chuck spare ribs. Tail kevin prosciutto ham chicken.
\section{Article $[$3$]$ Ribs}
Bacon ipsum dolor amet doner ball tip chuck rump. Pig meatball jowl, bresaola pastrami chicken ball tip venison beef ribs andouille pork loin leberkas. Tongue alcatra brisket, sausage andouille pork belly chuck doner ball tip meatball hamburger salami. Turducken tongue pork belly, hamburger boudin rump meatball chicken fatback cupim capicola chuck spare ribs. Tail kevin prosciutto ham chicken.
\end{document}
更新:LaTeX 默认嵌入字体。我不知道取消嵌入字体是否能解决问题。
尝试 \pdfcompresslevel=0 没有效果。