* nested quotes ?
@ 2011-03-31 11:54 Steffen Wolfrum
2011-03-31 12:12 ` Peter Münster
0 siblings, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2011-03-31 11:54 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I just saw something handy in a LaTeX document: nested quotes!
The source looked liked this...
\enquote{Needless to say \enquote{mind mapping} is just ...}
And the result looked like this ...
“Needless to say ‘mind mapping’ is just ...”
Do we have something like this in ConTeXt too?
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nested quotes ?
2011-03-31 11:54 nested quotes ? Steffen Wolfrum
@ 2011-03-31 12:12 ` Peter Münster
2011-03-31 12:35 ` Marco
2011-03-31 13:58 ` Steffen Wolfrum
0 siblings, 2 replies; 8+ messages in thread
From: Peter Münster @ 2011-03-31 12:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
Steffen Wolfrum <context@st.estfiles.de> writes:
> \enquote{Needless to say \enquote{mind mapping} is just ...}
>
> And the result looked like this ...
> “Needless to say ‘mind mapping’ is just ...”
>
> Do we have something like this in ConTeXt too?
\quotation{Needless to say \quote{mind mapping} is just ...}
or
http://wiki.contextgarden.net/Quotes
--
Peter
___________________________________________________________________________________
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] 8+ messages in thread
* Re: nested quotes ?
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 13:58 ` Steffen Wolfrum
1 sibling, 2 replies; 8+ messages in thread
From: Marco @ 2011-03-31 12:35 UTC (permalink / raw)
To: ntg-context
On 2011-03-31 pmlists@free.fr (Peter Münster) wrote:
> Steffen Wolfrum <context@st.estfiles.de> writes:
>
> > \enquote{Needless to say \enquote{mind mapping} is just ...}
> >
> > And the result looked like this ...
> > “Needless to say ‘mind mapping’ is just ...”
> >
> > Do we have something like this in ConTeXt too?
>
> \quotation{Needless to say \quote{mind mapping} is just
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.
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] 8+ messages in thread
* Re: nested quotes ?
2011-03-31 12:35 ` Marco
@ 2011-03-31 13:49 ` mathew
2011-03-31 13:50 ` Peter Münster
1 sibling, 0 replies; 8+ messages in thread
From: mathew @ 2011-03-31 13:49 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Marco
On Thu, Mar 31, 2011 at 07:35, Marco <netuse@lavabit.com> wrote:
> 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.
...like the quotation macro on the cited web page,
http://wiki.contextgarden.net/Quotes
mathew
___________________________________________________________________________________
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] 8+ messages in thread
* Re: nested quotes ?
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
1 sibling, 1 reply; 8+ messages in thread
From: Peter Münster @ 2011-03-31 13:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
--
Peter
___________________________________________________________________________________
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] 8+ messages in thread
* Re: nested quotes ?
2011-03-31 13:50 ` Peter Münster
@ 2011-03-31 14:46 ` Marco
2011-05-14 18:37 ` Steffen Wolfrum
0 siblings, 1 reply; 8+ messages in thread
From: Marco @ 2011-03-31 14:46 UTC (permalink / raw)
To: ntg-context
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.
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] 8+ messages in thread
* Re: nested quotes ?
2011-03-31 14:46 ` Marco
@ 2011-05-14 18:37 ` Steffen Wolfrum
0 siblings, 0 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2011-05-14 18:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nested quotes ?
2011-03-31 12:12 ` Peter Münster
2011-03-31 12:35 ` Marco
@ 2011-03-31 13:58 ` Steffen Wolfrum
1 sibling, 0 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2011-03-31 13:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 31.03.2011 um 14:12 schrieb Peter Münster:
> Steffen Wolfrum <context@st.estfiles.de> writes:
>
>> Do we have something like this in ConTeXt too?
>
> http://wiki.contextgarden.net/Quotes
Sure we have!! :o)
Thx,
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-05-14 18:37 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-31 11:54 nested quotes ? 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
2011-03-31 13:58 ` Steffen Wolfrum
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).