By the way, what causes the error
"slide.mom:5: can't transparently output node at top level"
?
KB
On Sun, Jun 13, 2021 at 08:24:10PM +0200, Oliver Corff wrote:
> Hi Hans,
>
> I understand from mom's documentation that you are required to have a
> .PRINTSTYLE.
>
> Then, I finished your example with .LIST OFF after the "Bye" and it
> compiles, probably as intended, while throwing the error message
>
> slide.mom:5: can't transparently output node at top level
>
> Here my trial version:
>
> .\" TITLE "Trial"
> .\" AUTHOR "Hans Bezemer"
> .\" PRINTSTYLE TYPESET
> .DOCTYPE SLIDES
> .START
> .HEADING 1 "Heading 1!"
> .LIST
> .ITEM
> Hello
> .ITEM
> Bye
> .LIST OFF
>
> See attachment for result.
>
> Best regards,
>
> Oliver.
>
>
> On 13/06/2021 19:14, Hans Bezemer wrote:
> > Dear all,
> >
> > I would like to use LIST within DOCTYPE SLIDES in mom, but
> > when doing so it doesn't show.
> >
> > Also trying to set QUAD to LEFT doesn't seem to work.
> > Maybe I'm missing the obvious.
> >
> > Here's a minimal code:
> >
> > .DOCTYPE SLIDES
> > \#.PRINTSTYLE TYPESET
> > \#.DOCTYPE DEFAULT
> >
> > .START
> > .HEADING 1 "Heading 1!"
> > .LIST
> > .ITEM
> > Hello
> > .ITEM
> > Bye
> >
> > Kind regards,
> >
> > Hans
> >