TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

This question already has an answer here:

I came across this idiom recently:

\def\foo#{...}

That is, a hash but no parameter number. What might be the purpose of this?

share|improve this question

marked as duplicate by Werner, Gonzalo Medina, egreg, clemens, Svend Tveskæg Apr 11 '14 at 20:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 11 down vote accepted

It grabs the content until the next brace (or group). For example:

\def\foo#1#{«#1»}

\starttext
\foo random content {until braces}
\stoptext

gives

enter image description here

share|improve this answer

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