Page breaks on exercises

7 views
Skip to first unread message

Alexandre Lymberopoulos

unread,
Feb 18, 2026, 1:42:37 PMFeb 18
to PreTeXt support
Dear all,

I'm preparing a course and I put the first list of exercises. The HTML version is perfect, but when one wishes to print it, there some unnecessary (at least visually) page brakes. Is there any control over it?

You can check the actual situation here:


Best, Alexandre

Alex Jordan

unread,
Feb 18, 2026, 2:33:54 PMFeb 18
to pretext...@googlegroups.com
Hi Alexandre,

Your link was to a localhost. Do you have the project public?

Is this about page breaks in a worksheet that you try to print from HTML? Or page breaks in the LaTeX build of the book? If it's the latter, see:

Alex


--
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/50229878-b0c3-497b-875f-cfaa55ccb0dan%40googlegroups.com.

Alexandre Lymberopoulos

unread,
Feb 18, 2026, 3:53:05 PMFeb 18
to pretext...@googlegroups.com
Hi Alex,

Shame on me. The pubic link is
<https://lymber.github.io/mat0321/lista01.html>.

Going to check page breaks on the link you mentioned, but it seems to
tell how to add a break. I think they could bem removed in my context.

Best, Alexandre
> > <https://groups.google.com/d/msgid/pretext-support/50229878-b0c3-497b-875f-cfaa55ccb0dan%40googlegroups.com?utm_medium=email&utm_source=footer>
> > .
> >
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "PreTeXt support" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/pretext-support/UC866lGl-gE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to pretext-suppo...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/pretext-support/CA%2BR-jrf-ve4djvsRENR_QEmevauaVYURR456_G1zWJi9PdKaaw%40mail.gmail.com.

--
===============================================================================
Alexandre Lymberopoulos - lym...@gmail.com
===============================================================================

Oscar Levin

unread,
Feb 18, 2026, 4:54:31 PMFeb 18
to pretext...@googlegroups.com
What the print preview (what you get when you hit the print icon for a worksheet or handout) does, is try to distribute "extra" space as equitably as possible among the pages required to show all the content.  This makes a lot of sense if you specify @workspace on element, since adding a little workspace to each element would be better than keeping all the workspaces exactly as authored an having a big chunk of workspace on the last page.  

If you authored each element inside the worksheet, then you could use the <page> element to control pages.  But there isn't any way to do this if you are using a list-of mechanism.

I think a reasonable question would be whether the current behaviour should be modified if no workspace is given.  I think that wouldn't be impossible to add to the logic here, but it would be a few days or weeks before it gets implemented.

Alex Jordan

unread,
Feb 18, 2026, 6:21:33 PMFeb 18
to pretext...@googlegroups.com
Sorry, this seems to be about worksheets from HTML, not ptx PDF output. For the former, declaring some specific page breaks can influence latex's automated page breaking. But its not relevant for these worksheets. Oscar is on the right track.

Reply all
Reply to author
Forward
0 new messages