
我是 LaTeX 新手,並且收到了一份用於撰寫論文的 LaTeX 草稿。除了這個警告之外,一切正常:
see the transcript file for additional information)pdfTeX warning (dest): name{ehrenw\366rtliche\040erkl\344rung.1} has been referenced but does not exist, replaced by a fixed one
這是程式碼中的位置:
\refstepcounter{dummy}
\pdfbookmark[1]{Ehrenwörtliche Erklärung}{ehrenwörtliche erklärung}
\chapter*{Ehrenwörtliche Erklärung}
\thispagestyle{empty}`
當我不使用德語變音符號(ä,ö,ü)時,即
\pdfbookmark[1]{Ehrenwoertliche Erklaerung}{ehrenwoertliche erklaerung}
效果很好!我沒有收到任何警告並且鏈接有效。
我已經在谷歌上搜尋了兩週類似的警告,並嘗試了一些方法,但沒有成功。任何具有類似經驗或想法的人都可以解決此問題。
我正在使用 MAC 10.8 和 MacTeX-2012
答案1
我也遇到過類似的問題,但我已經「解決」了它。
網路上有些人似乎認為這與 有關hyperref
,但是,我不相信。最後加載hyperref
沒有任何影響。
在 .tex 檔中我有:
\begin{proposition}\label{prop:amG delta in amG delta K}
\begin{enumerate}
\item
此格式使得 1.\item
位於「Proposition 3.6」標題旁。
我的日誌檔告訴我:
pdfTeX warning (dest): name{theorem.3.6} has been referenced but does not exist
, replaced by a fixed one
然後,我插入了一些空格,如下所示:
\begin{proposition}\label{prop:amG delta in amG delta K}
\hspace{2em}
\begin{enumerate}
\item
當然,現在的 1.\item
是在「命題 3.6」標題下方,而不是旁邊,而且,引用問題也奇蹟般地解決了!
不過,不要問我為什麼。
答案2
載入bookmark
包裹:
\documentclass{report}
\usepackage[utf8]{inputenc}% http://ctan.org/pkg/inputenc
\usepackage{hyperref}% http://ctan.org/pkg/hyperref
\usepackage{bookmark}% http://ctan.org/pkg/bookmark
\begin{document}
\pdfbookmark[1]{Ehrenwörtliche Erklärung}{ehrenwörtliche erklärung}
\chapter*{Ehrenwörtliche Erklärung}
\thispagestyle{empty}
\end{document}
答案3
我也遇到類似的問題,這似乎與Poeh的問題有關。我引用了一個沒有內容的環境
\begin{env}[foo]\label{env:foo}
\end{env}
產生以下錯誤訊息
pdfTeX warning (dest): name{env.#} has been referenced but does not exist, replaced by a fixed one
(#
表示參考號)。顯然,只有當環境具有一些有效內容(除了它的名稱,這裡foo
:)時,pdfTeX 才能正確處理環境。在 Poeh 的情況下,內容確實是\hspace{2em}
因為 pdfTeX 重新啟動了每個子環境的處理環境內容(這就是為什麼\begin{enumerate}
不足以觸發 pdfTeX 正確回應)。
如果除了變音符號之外您沒有更改任何其他內容,那麼我懷疑警告訊息可能是由上面建議的 pdfTeX 和 hyperref 之間的錯誤交互引起的。正如您在警告中看到的,變音符號沒有被正確解釋(當然,它們也不是由 hyperref 解釋的,它也不會解釋數學符號,偶爾會提示諸如 之類的警告Package hyperref Warning: Token not allowed in a PDF string (Unicode):(hyperref) removing '\mathgroup' on input line 58.
)。
這個問題更難處理,但是,由於您使用的是 Mac OS,我建議將您的編碼設定更改為applemac
(而不是UTF8
或Unicode
其他任何值)。
答案4
我的文件上遇到了同樣的問題/警告,這是因為我試圖修復其他警告而引起的:如何修復具有相同識別碼(名稱{page.A})的目的地已被使用,重複被忽略?
我在正文之前添加了\hypersetup{pageanchor=false}
整個論文。這會禁用這些頁面內的所有錨點,任何嘗試連結到那裡的內容的人都會拋出錯誤:pdfTeX warning (dest): name{page.11} has been referenced but does not exist, replaced by a fixed one
\hypersetup{pageanchor=false}
修復方法是僅在實際發出警告的頁面周圍添加destination with the same identifier (name{page.1}) has been already used, duplicate ignored
有關的: