ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* question about macro's
@ 2007-06-28 12:50 Jelle Huisman
  2007-06-28 13:29 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Jelle Huisman @ 2007-06-28 12:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

I try to create a macro for processing a document tagged with some 
non-standard tags, like:

\TAGc The title of this chapter
\TAGs Here starts a new section with a lot of bla bla bla text. More bla 
bla. And yet another piece of bla bla.

To process the tags I have defined some macro's, like this one:

\def\TAGc#1
{\dosomething{#1} % the \dosomething has to do with fonts etc.
\dosomethingelse}

However, when I typeset the document this macro only works with the 
first word of the line tagged with \TAGc. Is it possible to tell the 
macro to process the whole line? (changing my source document is no option.)

Many thanks,

Jelle
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2007-06-28 14:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-28 12:50 question about macro's Jelle Huisman
2007-06-28 13:29 ` Aditya Mahajan
2007-06-28 13:36   ` Aditya Mahajan
2007-06-28 14:03   ` Jelle Huisman

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).