Long sectiontitle with line-break in index of contents
![](https://secure.gravatar.com/avatar/4a68af71fe5327c72564458ef9d00c6b.jpg?s=120&d=mm&r=g)
Hi there, today many questions :) Look at this: \starttext \completecontent \section[ title={A very long title\par with a formatting in it} ] \stoptext I have a case, where I want to have a line-break (\par) in the title in the text (to avoid hyphenation) - but not in the index of contents - there it should be simply like: \starttext \completecontent \section[ title={A very long title with a formatting in it} ] \stoptext Huseyin
![](https://secure.gravatar.com/avatar/27c34cb91f1e92bd850fe60b3d9ef336.jpg?s=120&d=mm&r=g)
Am 27.11.2012 um 12:06 schrieb H. Özoguz
Hi there,
today many questions :)
Look at this:
\starttext \completecontent \section[ title={A very long title\par with a formatting in it} ] \stoptext
I have a case, where I want to have a line-break (\par) in the title in the text (to avoid hyphenation) - but not in the index of contents - there it should be simply like:
Use \\ and not \par to break the line in the header because in the TOC it’s handled as a space. Wolfgang
participants (2)
-
"H. Özoguz"
-
Wolfgang Schuster