Hi Dieter, please keep the mailing-list in Cc, thanks.
"Dr.-Ing. Dieter Jurzitza" <[email protected]> writes:
> thanks for this feedback. The example of yours works for me, too - and there
> is one very important difference:
>
> In "my" example the emacs status line shows [0] pages formatted.
> In "your" example the emacs status line shows {1} pages formatted.
Yes, I saw that as I sent my message.
> So, considering the curly braces vs. the square brackets in the status
> line there is a significant difference IMHO. "Somewhere" in tex.el
> (this is the location where the variable TeX-current-page is used and
> used as the string indicating the number of pages formatted) something
> must be different.
I suggest you compile both versions with 'C-c C-c' and then look at the
Output buffer by hitting 'C-c C-l'. Do you see any differences there?
For my example, I see this:
--8<---------------cut here---------------start------------->8---
Running `LaTeX' on `Fontdepotbank-2-20260412' with ``pdflatex -file-line-error
-interaction=nonstopmode Fontdepotbank-2-20260412.tex''
This is pdfTeX, Version 3.141592653-2.6-1.40.29 (TeX Live 2026) (preloaded
format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./Fontdepotbank-2-20260412.tex
LaTeX2e <2025-11-01>
L3 programming layer <2026-03-20>
(/usr/local/texlive/2026/texmf-dist/tex/latex/dinbrief/dinbrief.cls
Document Class/Style 'dinbrief' - Version 1.73
University of Karlsruhe - 2000/03/02 12:49:21
*** dinbrief: Running in LaTeX 2e mode!
*** dinbrief: NFSS 2!
Document Class: dinbrief 2000/03/02 LaTeX2e class
(/usr/local/texlive/2026/texmf-dist/tex/latex/dinbrief/dinbrief.cfg))
==> First Aid for dinbrief.cls applied!
(/usr/local/texlive/2026/texmf-dist/tex/latex/lm/lmodern.sty)
(/usr/local/texlive/2026/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2026/texmf-dist/tex/latex/lm/t1lmr.fd))
(/usr/local/texlive/2026/texmf-dist/tex/generic/babel/babel.sty
(/usr/local/texlive/2026/texmf-dist/tex/generic/babel/txtbabel.def)
(/usr/local/texlive/2026/texmf-dist/tex/generic/babel/locale/invalid/babel-ngerman.tex)
(/usr/local/texlive/2026/texmf-dist/tex/generic/babel-german/ngerman.ldf
(/usr/local/texlive/2026/texmf-dist/tex/generic/babel-german/babel-german.def)))
(./Fontdepotbank-2-20260412.aux) [1{/usr/local/texlive/2026/texmf-var/fonts/m
ap/pdftex/updmap/pdftex.map}{/usr/local/texlive/2026/texmf-dist/fonts/enc/dvips/lm/lm-ec.enc}]
)</usr/local/texlive/2026/texmf-dist/fonts/type1/public/lm/lmr1
2.pfb>
Output written on Fontdepotbank-2-20260412.pdf (1 page, 28903 bytes).
Transcript written on Fontdepotbank-2-20260412.log.
TeX Output finished at Mon Apr 13 09:19:17
--8<---------------cut here---------------end--------------->8---
> I would consider this important and I am wondering what part of the
> code is in charge of generating the status line output here ... or is
> this formatting done by the individual latex package in use?
I don't think that individual LaTeX packages change the formatting; my
assumption was always that the "Output written on ... " line is emitted
by the used engine.
And while we're at it: How did you install AUCTeX?
Best, Arash