From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ntg-context Digest, Vol 101, Issue 31
Date: Tue, 13 Nov 2012 22:44:14 +0100 [thread overview]
Message-ID: <58AB7B72-1FCC-433A-A6E2-F6A5D0E9765F@gmail.com> (raw)
In-Reply-To: <2664F9A7-C068-47B1-B8FA-24B35F54308F@cim.mcgill.ca>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-11-13 21:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[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-13 13:47 ` Aditya Mahajan
2012-11-13 21:44 ` Wolfgang Schuster [this message]
2012-11-15 19:32 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58AB7B72-1FCC-433A-A6E2-F6A5D0E9765F@gmail.com \
--to=wolfgang.schuster@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).