Re: [NTG-context] nested quotes ?

2011-05-14 Thread Steffen Wolfrum

Am 31.03.2011 um 16:46 schrieb Marco:

 On 2011-03-31 pmli...@free.fr (Peter Münster) wrote:
 
 Marco net...@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
___


[NTG-context] nested quotes ?

2011-03-31 Thread Steffen Wolfrum
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
___


Re: [NTG-context] nested quotes ?

2011-03-31 Thread Peter Münster
Steffen Wolfrum cont...@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
___

Re: [NTG-context] nested quotes ?

2011-03-31 Thread Marco
On 2011-03-31 pmli...@free.fr (Peter Münster) wrote:

 Steffen Wolfrum cont...@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
___

Re: [NTG-context] nested quotes ?

2011-03-31 Thread mathew
On Thu, Mar 31, 2011 at 07:35, Marco net...@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
___

Re: [NTG-context] nested quotes ?

2011-03-31 Thread Peter Münster
Marco net...@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
___

Re: [NTG-context] nested quotes ?

2011-03-31 Thread Steffen Wolfrum

Am 31.03.2011 um 14:12 schrieb Peter Münster:

 Steffen Wolfrum cont...@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
___


Re: [NTG-context] nested quotes ?

2011-03-31 Thread Marco
On 2011-03-31 pmli...@free.fr (Peter Münster) wrote:

 Marco net...@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
___