Michael Eidenbenz <mailto:eidenb...@arch.ethz.ch>
26. Oktober 2016 um 16:30
after 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.
This doesn’t work when you have more than one paragraph in the Citation environment.
\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
Here is a alternative version but you need a empty line or \par after \stopCitation.

\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
___________________________________________________________________________________

Reply via email to