I seem to be unable to use \begin{slide} and\end{slide} from
a \newenvironment or a \newcommand when using powersem with the
display option.  More specifically something like:

    \documentclass[display]{powersem}
    \newenvironment{myslide} {\begin{slide}} {\end{slide}}
    \begin{document}
      \begin{myslide}
        hello there
      \end{myslide}
    \end{document}

simply produces no output.  Removing the `display' option or using `slide'
rather than `myslide' results in the expected single-page dvi file.

The same problem seems to happen with newcommand:

    \documentclass[display]{powersem}
    \newcommand\foo{\end{slide}\begin{slide}}
    \begin{document}
      \begin{slide}
        hello \foo there
      \end{slide}
    \end{document}

only outputs a single page (which says "hello").
Any idea what might be going on ?
This is with the latest texpower.zip downloaded a couple hours ago
and a non-bleeding-edge teTeX install (1.0.6 from RedHat).
I append LaTeX's output for the first example.


        Stefan


% latex \\nonstopmode\\input foo.tex
This is TeX, Version 3.14159 (Web2C 7.3.1)
LaTeX2e <1998/12/01> patch level 1
Babel <v3.6x> and hyphenation patterns for american, french, german, ngerman, i
talian, nohyphenation, loaded.

(foo.tex (/usr/local/lib/texmf/tex/latex/texpower/powersem.cls
Document Class: powersem 2000/07/03 Create online Presentations with seminar. v
0.5a
(/usr/share/texmf/tex/latex/base/ifthen.sty)
(/usr/share/texmf/tex/latex/seminar/seminar.cls
Document Class: seminar 1997/10/13, 1.4
Document Style: `seminar' v1.4 <1997/10/13> (tvz)
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 1999/01/07 v1.4a Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/seminar/sem-page.sty)
(/usr/share/texmf/tex/latex/seminar/xcomment.sty
Style-Option: `xcomment' v1.2 <93/02/12> (tvz) 
)) (/usr/share/texmf/tex/latex/config/seminar.con)
(/usr/share/texmf/tex/latex/seminar/seminar.bug)
(/usr/share/texmf/tex/latex/seminar/seminar.bg2
seminar.bg2: various corrections for the Seminar document class added since sem
inar.bug (waiting Seminar 98)
(Version 1.7 of <May 22, 1998> (D.G.))
)) (foo.aux) (foo.aux) )
No pages of output.
Transcript written on foo.log.
%

Reply via email to