Re: Help with Table of Contents: removing blank pages in book style
Giovanni Piredda <[email protected]> Fri, 01 May 2026 15:08:19 +0000
| Newsgroups | gmane.editors.texmacs.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Murilo, using the book style I redefined the chapter-title macro, which the Table of Contents depends on, and the redefinition removed the double page before the table of contents. Of course one should do it differently, by building a new set of macros for the table of contents, so that one can adjust it independently of chapters; despite this I think that what I did shows that the redefinition works. Could you please describe more in detail what you observe? Giovanni On 5/1/26 16:17, Murilo Zulian Colla wrote: > 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.