TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a document containing many forward slashes (/). I noticed that ConTeXt does not allow breaks after /. For instance, if a text contains bear/rabbit/tiger, it will not place a break and the text will flow off the edge into the margins.

  • How can I create a special environment, inside of which, the rules for line breaking allows a line break after a /, if deemed necessary, with slightly higher or equal preference to what is given to a space?
share|improve this question
up vote 5 down vote accepted

The command \setbreakpoints is made for that. Setting \setbreakpoints [compound] enables a break point after /, +, (, ) and -. For more information see ConTeXt wiki Composed words.


\setuplayout [width=4cm]


\setbreakpoints [compound]




share|improve this answer
If I want some block of text to behave in this way, but the rest of the document not to, how do I ensure only that part has this kind of line breaks? – Village Apr 4 '12 at 7:21
Set \setbreakpoints[compound] in a group (between {...} or \bgroup ... \egroup or \begingroup ... \endgroup. If this is part of an environment, you should be able to use the setups key. – Aditya Apr 4 '12 at 7:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.