3

After installing the latest miktex (20.11) on my new laptop, I tried to compile the following simple presentation in seminar style:

\documentclass[portrait]{seminar}
\begin{document}
\begin{slide*}
aaa
\end{slide*}
\end{document}

But I get the following error:

\document ->\endgroup \the \before@document \begingroup \UseOneTimeHook

On another machine where I use Miktex 2.9.6670 it works just fine.

Writing simple articles and Beamer presentations works fine.

Can anybody please help me. Thanks in advance

I also tried to find old miktex version 2.9.6670, but I could not find it anywhere. Andrej

11
  • 1
    Seminar is a very old class and not compatible with a new latex. Why are you using it instead of e.g. beamer? Nov 15, 2020 at 8:18
  • Thanks for your reply. I know, it is a very old class, but I have several presentations prepared in this way. For newer presentations I use beamer, but it would be a lot of work to update all this old presentations in seminar style to beamer. So I will be very thankful if there is a way to compile seminars presentations. Andrej Nov 15, 2020 at 8:20
  • 1
    Contact the maintainer and ask if he is willing to update the class to make it compatible again ctan.org/pkg/seminar (he should already know about the incompatibility) Nov 15, 2020 at 8:26
  • Thanks. I did. I will see if he (Herbert Voß) will answer. BTW is it possible to get Miktex 2.9.6670 complete installation anywhere? Nov 15, 2020 at 8:36
  • You can also try to roll back to an older latex with latexrelease tex.stackexchange.com/a/565938/2388 Nov 15, 2020 at 8:37

1 Answer 1

1

seminar patches \document in a way that is not compatible with a LaTeX 2020-10-01 and the new hooks the format implemented (the maintainer has been notified some months ago about the upcomming problem).

As a work-around you can rollback to an older latex with latexrelease:

\RequirePackage[2020-02-02]{latexrelease}
\documentclass[portrait]{seminar}
\begin{document}
\begin{slide*}
aaa
\end{slide*}
\end{document}

Be aware that this doesn't work with every package: if a new version of a package requires a feature of the new format it can fail or error if you rollback.

2
  • After restarting the computer and refreshing the file name database the example tex file with addition "\RequirePackage[2020-02-02]{latexrelease}" at the top compiles without any problem, Even more: now, with this addition, I can compile all my old presentations. Dear Ulrike: THANKS A LOT. You saved a lot of work and time to me. I really appreciate your help. The problem solved. Nov 15, 2020 at 17:02
  • @AndrejMrvar as a warning: the package will probably get the status unmaintained and be moved to obsolet. That means texsystem will not longer install it. Jun 24, 2021 at 16:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.