auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reporting warnings from pdftex itself (not LaTeX macro layer)


From: jfbu
Subject: Reporting warnings from pdftex itself (not LaTeX macro layer)
Date: Sun, 24 Nov 2024 16:42:25 +0100
User-agent: Mozilla Thunderbird

Hi,

The following document

\documentclass{article}
\usepackage{amsmath}
\usepackage{hyperref}
\begin{document}
\eqref{eq:b}
\begin{equation}\label{eq:a}\tag{$*$}
  a
\end{equation}
\clearpage
\begin{equation}\label{eq:b}
  b
\end{equation}
\end{document}

when compiled with pdflatex, reports no warnings,
even with Debug Warnings.

Indeed the log contains no LaTeX warnings. But it does contain

```
pdfTeX warning (ext4): destination with the same identifier (name{equation.1})
has been already used, duplicate ignored
<to be read again>
                   \relax
l.10 \begin{equation}
                     \label{eq:b}
pdfTeX warning (ext4): destination with the same identifier (name{equation.1})
has been already used, duplicate ignored
<to be read again>
                   \relax
l.10 \begin{equation}
                     \label{eq:b}
pdfTeX warning (ext4): destination with the same identifier (name{equation.1})
has been already used, duplicate ignored
<to be read again>
                   \relax
l.10 \begin{equation}
                     \label{eq:b}
pdfTeX warning (ext4): destination with the same identifier (name{equation.1})
has been already used, duplicate ignored
<to be read again>
                   \relax
l.10 \begin{equation}
                     \label{eq:b}

[2
```

where the stuttering must be from amsmath proceeding multiple times its 
environments.


More importantly, the link in the PDF is broken (point to wrong location).

So really the issue should be reported to user, ideally.

Hence this feature request.  I also realized now that Latexmk default
configuration not only will not report the pdftex warnings but even
make them invisible in console output.  Only via pdflatex foo.tex
do we see in console output prominent warnings.

Best,
Jean-François
PS: the MWE comes from a github LaTeX2e ticket
https://github.com/latex3/latex2e/issues/1560#issuecomment-2495625333




reply via email to

[Prev in Thread] Current Thread [Next in Thread]