From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: nested quotes ?
Date: Sat, 14 May 2011 20:37:43 +0200 [thread overview]
Message-ID: <EC4F48A7-D351-4755-94E2-FBB73583900F@st.estfiles.de> (raw)
In-Reply-To: <20110331164657.256098ba@glyph>
Am 31.03.2011 um 16:46 schrieb Marco:
> On 2011-03-31 pmlists@free.fr (Peter Münster) wrote:
>
>> Marco <netuse@lavabit.com> writes:
>>
>>> I think the idea behind Steffens post was not to find a
>>> command that does the quoting, rather than finding *one*
>>> command that »knows« about the level of quotation and
>>> inserts the corresponding quotation marks.
>>
>> Right. That's why I mentioned also
>> http://wiki.contextgarden.net/Quotes
>
> My fault, I overlooked that part. But indeed, a very nice
> definition. I wasn't aware of that.
But be careful: it easily can get confused when becoming *really* nested ...
\starttext
\setupdelimitedtext
[quotation]
[1]
[left={\symbol[leftquotation]},
right={\symbol[rightquotation]}]
\setupdelimitedtext
[quotation]
[2]
[left={\symbol[leftquote]},
right={\symbol[rightquote]}]
\setupdelimitedtext
[quotation]
[3]
[left={\symbol[leftquotation]},
right={\symbol[rightquotation]}]
Testing, \quotation{A really nested\footnote{Test \quotation{A long quotation in which one character says,
\quotation{Eh? What am I supposed to say? Something like, \quotation
{Quotations in this sentance are nested}?}} test} quotation}!
\stoptext
Steffen
___________________________________________________________________________________
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:[~2011-05-14 18:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-31 11:54 Steffen Wolfrum
2011-03-31 12:12 ` Peter Münster
2011-03-31 12:35 ` Marco
2011-03-31 13:49 ` mathew
2011-03-31 13:50 ` Peter Münster
2011-03-31 14:46 ` Marco
2011-05-14 18:37 ` Steffen Wolfrum [this message]
2011-03-31 13:58 ` Steffen Wolfrum
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=EC4F48A7-D351-4755-94E2-FBB73583900F@st.estfiles.de \
--to=context@st.estfiles.de \
--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).