GNU TeXmacs Forum

Is it possible to disallow word-breaking in the TOC?

#1

The title says it all. Is it possible to disallow word-breaking in the TOC? Instead of using a hyphen, the word should just be put on the next line.

#2

"The Jolly Writer" suggests various approaches (pag 132): non-breaking hyphens ('-' Tab) or Format->Break->Group->Horizontal (to create unbreakable regions of text).

1 Like
#3

I couln’t find that in the menus. But I found Format->Special->Group which seems to do the trick. Maybe it was moved there in newer versions?

#4

Hi, it should work fine if you select the word in the table of contents (see below)

Screenshot%20From%202025-07-27%2018-30-47
Screenshot From 2025年07月27日 18-30-47.png×ばつ1080 142 KB

Before applying it, the word got broken into parts. This is from the most recent version (2.1.4).

AltStyle によって変換されたページ (->オリジナル) /