* Re: ntg-context Digest, Vol 101, Issue 31
[not found] <mailman.148.1352789165.2161.ntg-context@ntg.nl>
@ 2012-11-13 6:50 ` "H. Özoguz"
2012-11-13 10:29 ` Marco Patzer
2012-11-15 19:32 ` Wolfgang Schuster
0 siblings, 2 replies; 5+ messages in thread
From: "H. Özoguz" @ 2012-11-13 6:50 UTC (permalink / raw)
To: ntg-context
Am 13.11.2012 07:46, schrieb ntg-context-request@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ntg-context Digest, Vol 101, Issue 31
2012-11-13 6:50 ` ntg-context Digest, Vol 101, Issue 31 "H. Özoguz"
@ 2012-11-13 10:29 ` Marco Patzer
2012-11-13 13:47 ` Aditya Mahajan
2012-11-15 19:32 ` Wolfgang Schuster
1 sibling, 1 reply; 5+ messages in thread
From: Marco Patzer @ 2012-11-13 10:29 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ntg-context Digest, Vol 101, Issue 31
2012-11-13 10:29 ` Marco Patzer
@ 2012-11-13 13:47 ` Aditya Mahajan
2012-11-13 21:44 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Aditya Mahajan @ 2012-11-13 13:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Nov 13, 2012, at 5:29 AM, Marco Patzer <homerow@lavabit.com> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ntg-context Digest, Vol 101, Issue 31
2012-11-13 13:47 ` Aditya Mahajan
@ 2012-11-13 21:44 ` Wolfgang Schuster
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2012-11-13 21:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 13.11.2012 um 14:47 schrieb Aditya Mahajan <adityam@cim.mcgill.ca>:
> On Nov 13, 2012, at 5:29 AM, Marco Patzer <homerow@lavabit.com> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ntg-context Digest, Vol 101, Issue 31
2012-11-13 6:50 ` ntg-context Digest, Vol 101, Issue 31 "H. Özoguz"
2012-11-13 10:29 ` Marco Patzer
@ 2012-11-15 19:32 ` Wolfgang Schuster
1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2012-11-15 19:32 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
Am 13.11.2012 um 07:50 schrieb H. Özoguz <h.oezoguz@mmnetz.de>:
> Am 13.11.2012 07:46, schrieb ntg-context-request@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
[-- Attachment #2: annotation-30.pdf --]
[-- Type: application/pdf, Size: 10563 bytes --]
[-- Attachment #3: annotation-30.tex --]
[-- Type: application/octet-stream, Size: 1172 bytes --]
\usemodule[annotation]
\defineannotation[inlinequote][alternative=quotation]
\setupannotation[inlinequote:1][leftsymbol=“,rightsymbol=”,color=red]
\setupannotation[inlinequote:2][leftsymbol=‘,rightsymbol=’,color=green, style=bold]
\setupannotation[inlinequote:3][leftsymbol=«,rightsymbol=»,color=blue, style=italic]
\setupannotation[inlinequote:4][leftsymbol=‹,rightsymbol=›,color=yellow,style=\tfc]
\starttext
1. … \inlinequote{…} …
2. … \inlinequote{… \inlinequote{…} …} …
3. … \inlinequote{… \inlinequote{… \inlinequote{…} …} …} …
4. … \inlinequote{… \inlinequote{… \inlinequote{… \inlinequote{…} …} …} …} …
5. … \startinlinequote …\stopinlinequote …
6. … \startinlinequote … \startinlinequote …\stopinlinequote …\stopinlinequote …
7. … \startinlinequote … \startinlinequote … \startinlinequote …\stopinlinequote …\stopinlinequote …\stopinlinequote …
8. … \startinlinequote … \startinlinequote … \startinlinequote … \startinlinequote …\stopinlinequote …\stopinlinequote …\stopinlinequote …\stopinlinequote …
\stoptext
[-- Attachment #4: 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:[~2012-11-15 19:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.148.1352789165.2161.ntg-context@ntg.nl>
2012-11-13 6:50 ` ntg-context Digest, Vol 101, Issue 31 "H. Özoguz"
2012-11-13 10:29 ` Marco Patzer
2012-11-13 13:47 ` Aditya Mahajan
2012-11-13 21:44 ` Wolfgang Schuster
2012-11-15 19:32 ` Wolfgang Schuster
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).