ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \definehighlight with style=command problem
@ 2013-05-27 13:36 Alan Bowen
  2013-05-27 17:14 ` Hans Hagen
  2013-05-27 20:48 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Alan Bowen @ 2013-05-27 13:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 469 bytes --]

I an trying to use \definehighlight to define a macro that will color and
overstrike selected text.
Thus far,

\definehighlight[Delete][color=red,style={\overstrike}]
\starttext
test  \Delete{test} test
\stoptext

reports

! Too many }'s.

system          > tex > error on line 4 in file ...TEST.tex: Too many }'s
...

If I replace “\overstrike” with “bold”, “\Delete” works. “\overstrike”
works otherwise, so am I trying the impossible here?

Alan

[-- Attachment #1.2: Type: text/html, Size: 837 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-28 14:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-27 13:36 \definehighlight with style=command problem Alan Bowen
2013-05-27 17:14 ` Hans Hagen
2013-05-27 20:09   ` Alan Bowen
2013-05-27 20:48 ` Wolfgang Schuster
2013-05-28 14:21   ` Alan Bowen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).