"Dr.-Ing. Dieter Jurzitza" <[email protected]> writes:

> I compiled both files and I attach the logs. What is apparent to me - in the 
> logfile of "my" document I see several references to the string "page". In 
> contrast in the "ok" example there is just one.
> I *assume* that this is caused by the fact that the original author of 
> "djbrief" added an option to log all files in use:
> \listfiles
> If I comment this out, the error is vanishing. So the root cause for the 
> difference might be buried in the log difference I attach.
>
> Question: can anyone let me know how this information:
> "Output written on dummy.pdf (1 page, 28926 bytes)."
> vs.
> this information:
> "Output written on Fondsdepotbank-2-20260412.pdf (1 page, 49999 bytes)."
> is (or should be ...) parsed by auctex?

Have a look at the definition of the function `TeX-TeX-sentinel-check'
which is called inside `TeX-LaTeX-sentinel'.

> Both should result in [1] page formatted or something alike. I guess (but 
> cannot verify) that the parser for the formatted page is tricked by the fact 
> that there are several references to "page" in the logfile of the problematic 
> document caused by the "\listfiles" command?

I can't see why.  Can you try to assemble a minimal test with files
freely available?  It is hard to debug when one can't run the files in
question.  It seems that dinbrief.cls disables \listfiles:

--8<---------------cut here---------------start------------->8---
\documentclass[12pt]{dinbrief}

\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}

\listfiles

\begin{document}

\begin{letter}{Fontdepotbank}
  \subject{Online-Zugang}
  \opening{Sehr geehrte Damen und Herren,}
  Für Ihre Bemühungen herzlichen Dank im Voraus.
\end{letter}
\end{document}

%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---

This doesn't show the files used.  OTOH, AUCTeX parses this right:

--8<---------------cut here---------------start------------->8---
\documentclass[12pt]{letter}

\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}

\listfiles

\begin{document}

\begin{letter}{Fontdepotbank}
  \opening{Sehr geehrte Damen und Herren,}
  Für Ihre Bemühungen herzlichen Dank im Voraus.
\end{letter}
\end{document}

%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---

and says:

  LaTeX: successfully formatted {1} page

>
> @Arash, referring to your questions:
> 1.) please find both logfiles as attachments to this email.
> 2.) I used the rpm as provided by openSUSE (Tumbleweed). However, as I 
> already 
> stated: I saw similar behavior already with auctex 11.81, so this is nothing 
> new.

Ok.

> 3.) I use "djbrief.cls" what had hat been provided by Heiko Oberdiek
> quite a while ago. It is using dinbrief.cls.

See above; it would make things easier with files freely available in
order to reproduce this.

Best, Arash

Reply via email to