In html, one can <div class, id> and CSS styling with selection based on "class" or "id". Is it possible to do it similarly in ConTeXt?

For example, using "define" then "setup", then "start/stop"? From the document, I can see that one can define/customize "head". How about an arbitrary piece of text?

  • It’s not exactly classes or id”s, but \definehighlight may be what you’re looking for. – Philipp Gesang Nov 22 '13 at 20:58
  • \definehighlight and \definestartstop. Also look at Wolfgang Schuster's annotation module. – Aditya Nov 22 '13 at 23:04

\definestartstop is what you're looking for.



  Foo Bar Baz


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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