Exercise label printed in worksheet

10 views
Skip to first unread message

Sean Fitzpatrick

unread,
Jun 9, 2026, 1:42:42 PM (9 days ago) Jun 9
to pretext...@googlegroups.com

In one of my books, I have some worksheets.

All the exercises and tasks have an @label so that the book will play nice with Runestone.

I was hoping to be able to structure the worksheet into a couple of parts, with subsection, or paragraphs, or some other way to get a couple of title headings in place.

There's no entry for worksheet in the schema browser, so I wasn't sure what was allowed.

But if I do either subsection or paragraphs, the labels from the exercises get printed in PDF.

Example:

This comes from

<exercise label="ex-ws-eigenvalue-1">
  <task label="ex-ws-eigenvalue-1a">

Oscar Levin

unread,
Jun 9, 2026, 2:06:54 PM (9 days ago) Jun 9
to pretext...@googlegroups.com
Not able to look into this right now, but paragraphs are intended to be supported as a division of a printout.  That works in html, but I havent looked at pdf yet.

--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-support/9884c167-dd92-450c-bcf7-c3ca274fd3d0%40gmail.com.
iuZE7r8KjK5zLgLu.png

Sean Fitzpatrick

unread,
Jun 9, 2026, 2:23:38 PM (9 days ago) Jun 9
to pretext...@googlegroups.com
No worries. The extraneous label goes away if I remove the <paragraphs>, so something is not quite right. 

On the other hand, since the exercise has tasks, I suppose the exercise itself does not need a label.

Sean Fitzpatrick

unread,
Jun 9, 2026, 3:24:12 PM (9 days ago) Jun 9
to pretext...@googlegroups.com

Removing the exercise label doesn't change anything: the stylesheet just moves up to the label at the next highest level, and prints that!

I've rewritten the worksheet without #paragraphs, but it does seem something is missing if it should be supported for a worksheet in PDF.

Reply all
Reply to author
Forward
0 new messages