groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mom] Using LIST with DOCTYPE SLIDES


From: Oliver Corff
Subject: Re: [mom] Using LIST with DOCTYPE SLIDES
Date: Sun, 13 Jun 2021 21:47:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

Hi Hans,

a substantial number of requests comes in on/off or begin/end pairs, so
my first thought was that .LIST has to be closed; I tried .LIST OFF and
it worked.

With regard to .PRINTSTYLE, the mom manual online is quite assertive,
but for the example here it did not seem to produce any differences in
output, either present or absent.

Best regards,

Oliver.


On 13/06/2021 21:09, Hans Bezemer wrote:
Hi Oliver,

LIST OFF did the trick.
Thank you.
I thing PRINTSTYLE isn't needed for slides, I think it's
part of the macro SLIDES.

Regards,

Hans
On 21/06/13 08:24PM, 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]