Help with Table of Contents: removing blank pages in book style

Murilo Zulian Colla <[email protected]> Fri, 1 May 2026 16:17:46 +0200
Newsgroups gmane.editors.texmacs.user
Message-ID <[email protected]>
Hello everyone,

I am a new user of TeXmacs and I am currently exploring its customization
through macros. I am using the "book" style on Linux, and I would like to
remove the blank pages that are automatically inserted before the Table of
Contents.

I found a workaround for the abstract that works perfectly for me by
redefining render-abstract and abstract-chapter* to remove the <new-dpage*>
command. However, I am struggling to apply the same logic to the table-of-
contents without breaking the automatic generation of the list or getting
encoding errors.

Could someone please guide me on the correct way to redefine the table-of-
contents macro so that it doesn't force a double blank page?

Best regards,

Murilo.