Discussion:
[AUCTeX] strange "LaTeX: problems after {1} page"
jfbu
2017-05-10 08:54:09 UTC
Permalink
Hi,

I have a (very) strange problem with a (minimal) test file for xelatex

Loading /Users/xxx/yyy/auto/testxetex.el (source)...done
Loading /Users/xxx/.emacs.d/elpa/auctex-11.90.0/style/article.elc...done
Loading /Users/xxx/.emacs.d/elpa/auctex-11.90.0/style/fontspec.elc...done
Loading /Users/xxx/.emacs.d/elpa/auctex-11.90.0/style/expl3.elc...done
Loading /Users/xxx/.emacs.d/elpa/auctex-11.90.0/style/xparse.elc...done
Applying style hooks... done
Type ‘C-c C-l’ to display results of compilation.
LaTeX: problems after {1} page

This is with TeXLive 2017 (in pretest). The log contains no
indication of any error.

The exact same file with TeXLive 2016 gives:

LaTeX: successfully formatted {1} page

and the log appears to be the same as with 2017 apart from the
date changes.

There isn't in the 2017 version an error which is not in the 2016
version. (I diffed)

As my test file uses \XeTeXtracingfonts=1, I wondered if exit
status of XeTeX has changed which would explain new behaviour of
auctex. But it seems not (here with TL2017)

$ xelatex testxetex.tex ; echo $?
...
Transcript written on testxetex.log.
0

so it seems not to be that.

For what it is worth I am attaching the logs (and test). But as you will
see the logs seem to have only innocuous differences.

Here is the test file

\documentclass{article}
\XeTeXtracingfonts1

\usepackage{fontspec}

\setmainfont{TeX Gyre Termes}

\setsansfont{DejaVu Sans}

\setmonofont{FreeMono}

\begin{document}

\rmfamily Hello

\sffamily Hello

\ttfamily Hello

\thispagestyle{empty}

\end{document}

% Local Variables:
% TeX-engine: xetex
% End:

But to reproduce my exact same set-up you need a Mac OS and you need
to have put into ~/Library/Fonts two symlinks

TeXOpenType -> /Library/TeX/Root/texmf-dist/fonts/opentype
TeXTrueType -> /Library/TeX/Root/texmf-dist/fonts/truetype

(for FreeMono, you need to "deactivate in FontBook the ttf and
activate the otf", but well...)

I am currently with 11.90.0.

Best

Jean-François
Mosè Giordano
2017-05-10 08:56:44 UTC
Permalink
Hi Jean-François,
Post by jfbu
I am currently with 11.90.0.
Update to the latest ELPA version, the issue is already fixed there ;-)
See this thread: https://lists.gnu.org/archive/html/auctex/2017-04/msg00007.html

Bye,
Mosè
jfbu
2017-05-10 09:05:25 UTC
Permalink
Post by Mosè Giordano
Hi Jean-François,
Post by jfbu
I am currently with 11.90.0.
Update to the latest ELPA version, the issue is already fixed there ;-)
See this thread: https://lists.gnu.org/archive/html/auctex/2017-04/msg00007.html
Bye,
Mosè
Thanks Mosè

I had seen the thread as I subscribe to the list but we are **3** weeks later!
How could I have remembered ? ;-)

I will update,

sorry for noise.

And I was not good at producing a mwe...

Jean-François
jfbu
2017-05-10 09:00:51 UTC
Permalink
ah wait,

this happens actually with any XeTeX compilation

---
\documentclass{article}

\begin{document}
a
\end{document}
---

I was focused on my font set-up, and wasted my time and yours.

Anyway with the above:


LaTeX: problems after {1} page


but I see now Mosè's message in my mailbox...

Best,

Jean-François
Mosè Giordano
2017-05-10 09:33:45 UTC
Permalink
Post by jfbu
ah wait,
this happens actually with any XeTeX compilation
---
\documentclass{article}
\begin{document}
a
\end{document}
---
So, is the issue fixed by the new version of AUCTeX or not?

Bye,
Mosè
jfbu
2017-05-10 09:46:58 UTC
Permalink
Hi Mosè,
Post by Mosè Giordano
So, is the issue fixed by the new version of AUCTeX or not?
it is indeed, thanks !

(by the way I focused on xetex, but
from the thread you linked too, it was general --
this year I installed the pretest only yesterday because
I am short on disk space and I had done so far
only *latex runs via Makefile's, not using the Emacs/AUCTeX
interface until this morning)

Best,
Jean-François

Loading...