Am 13.11.2012 um 14:47 schrieb Aditya Mahajan <[email protected]>:
> On Nov 13, 2012, at 5:29 AM, Marco Patzer <[email protected]> wrote: > >> 2012-11-13 H. Özoguz: >> >> Advice for your next posts: Try to provide a meaningful subject line >> like “Enclosing quotations in guillemets” or “Emphasising >> quotations”. And configure your mail reader to include a >> “In-Reply-To” header to not break the thread with each post. >> >>> I want the complete quotation emphasized- without extra writing \emph. >> >> \setuplanguage >> [leftquotation=», >> rightquotation=«] >> >> \define[1]\quotation >> {\italic{\symbol[leftquotation]#1\symbol[rightquotation]}} >> >> \starttext >> \quotation{Whatever} >> \stoptext > > Hans, how about adding color and style keys to quotation? The command uses style and color settings but not in combination with the left/right symbols. \setupdelimitedtext [quotation] [left=«, right=», style=italic, color=red] \starttext \setupdelimitedtext[quotation][method=font] \tracingmacros1 before \quotation{between} after \tracingmacros0 \setupdelimitedtext[quotation][method=,location=margin] % default settings before \quotation{between} after \setupdelimitedtext[quotation][method=,location=paragraph] before \quotation{between} after \setupdelimitedtext[quotation][method=,location=text] before \quotation{between} after \setupdelimitedtext[quotation][style=normal] % same as above with the exception “style=normal” before \quotation{between} after \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / 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 ___________________________________________________________________________________
