Re: [NTG-context] ntg-context Digest, Vol 101, Issue 31

2012-11-15 Thread Wolfgang Schuster

Am 13.11.2012 um 07:50 schrieb H. Özoguz :

> Am 13.11.2012 07:46, schrieb ntg-context-requ...@ntg.nl:
>> \definehighlight
>>   [emph]
>>   [style=bolditalic]
>> 
>> Quote: \quotation{He said: \quote{Hello \emph{World!}}}
>> 
>> 
>> Marco
>> 
> I want the complete quotation emphasized- without extra writing \emph.

Take a look at the attachment for a example which use the latest version of the 
annotation module (a module to create customized commands/environments).

Wolfgang



annotation-30.pdf
Description: Adobe PDF document


annotation-30.tex
Description: Binary data
___
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
___

Re: [NTG-context] ntg-context Digest, Vol 101, Issue 31

2012-11-13 Thread Wolfgang Schuster

Am 13.11.2012 um 14:47 schrieb Aditya Mahajan :

> On Nov 13, 2012, at 5:29 AM, Marco Patzer  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 : 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
___


Re: [NTG-context] ntg-context Digest, Vol 101, Issue 31

2012-11-13 Thread Aditya Mahajan
On Nov 13, 2012, at 5:29 AM, Marco Patzer  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?

Aditya
___
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
___

Re: [NTG-context] ntg-context Digest, Vol 101, Issue 31

2012-11-13 Thread Marco Patzer
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


Marco

___
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
___

Re: [NTG-context] ntg-context Digest, Vol 101, Issue 31

2012-11-12 Thread H. Özoguz

Am 13.11.2012 07:46, schrieb ntg-context-requ...@ntg.nl:

\definehighlight
   [emph]
   [style=bolditalic]

Quote: \quotation{He said: \quote{Hello \emph{World!}}}


Marco


I want the complete quotation emphasized- without extra writing \emph.

Huseyin
___
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
___