答案1
hyperref
显然不允许您这样做。有点不礼貌,但请尝试一下(这假设~
章节标题中的任何内容都将成为有效的 pdf 字符串):
\documentclass[10pt,a5paper]{abntex2}
\usepackage[brazil]{babel}
\usepackage{hyphenat}
\makeatletter
\def\HyPsd@LetUnexpandableSpace#1{%
\if\noexpand~\noexpand#1%
\else
\expandafter\@firstofone
\fi{\expandafter\futurelet\expandafter#1\expandafter\@gobble\space\relax}}
\makeatother
\useshorthands{~}
\defineshorthand{~=}{\hyp{}}
\begin{document}
\chapter{First~=Chapter}
\end{document}