On 26 Oct 2016, at 18:40, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:___________________________________________________________________________________This doesn’t work when you have more than one paragraph in the Citation environment.26. Oktober 2016 um 16:30after some readings in the TeX book I came up with the following solution that works for me without having to change all my instances of startstopCitation in the text.
Here is a alternative version but you need a empty line or \par after \stopCitation.\definestartstop
[Citation]
[
before={\hangindent=20mm\hangafter=0\symbol[leftquotation]},
after={\removeunwantedspaces\symbol[rightquotation]},
]
\starttext
\startCitation
\input tufte
\stopCitation
\footnote{This is a Quote of Donald Knuth}
\input tufte
\stoptext
\define\startCitation
{\startnarrower[left]
\symbol[leftquotation]\ignorespaces}
\define\stopCitation
{\BeforePar{\removeunwantedspaces\symbol[rightquotation]}%
\AfterPar {\endgraf\stopnarrower}%
\GetPar}
\starttext
\startCitation
\input knuth
\stopCitation
\footnote{This is a Quote of Donald Knuth}
\input knuth
\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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________