On Wednesday 10 January 2007 01:06, Taco Hoekwater wrote:
> Can you look through the list archive a bit? There was a
> thread begin december last year about the exact same topic.

Hi Taco,

I assume you're referring to this thread:
http://archive.contextgarden.net/thread/20061206.202611.e8722446.en.html

However that was a more complicated test case because it involved
the bib module and cite.  Also it referred to problems with
footnotes in vertical mode whereas the new test case includes
the footnote in setupdelimitedtext/right where it appears to be in
horizontal mode.  In fact the new test case is similar to the
workaround actually suggested in:
http://archive.contextgarden.net/message/20061203.141335.f50b33ff.en.html

Changing just \MyMagic in the suggested workaround to avoid \cite gives:
  \definedelimitedtext
    [myquotation]
    [left={\symbol[leftquotation]},
     right={\symbol[rightquotation]\MyMagic},
     leftmargin=standard]
  \long\def\startcitedquotation[#1]#2\stopcitedquotation
    {\bgroup
     \def\MyMagic{~\footnote{#1}}
     \startmyquotation #2\stopmyquotation
     \egroup}
  \starttext
  \startcitedquotation[schmitz2006]
  overly beautiful pusillanimous sesquipedalian longwinded
  \stopcitedquotation
  \stoptext

- which also loses the footnote.

The thread included another possible workaround at:
http://archive.contextgarden.net/message/20061204.095032.227c83ef.en.html
- but that lost all the power of setupdelimitedtext.

Therefore I suggest that my simple test case is still worthy of
consideration:
  \starttext
  \setupquotation[right={''\footnote{First}}]
  \startquotation
  Loses footnote.
  \stopquotation

  \setupquotation[right={''}]
  \quotation{OK}\footnote{Second}
  \stoptext

For those who need footnoted or cited quotations, another workaround
is to \setupquotation[location=text].  This retains the power of
\setupdelimitedtext without running into the bug which I suspect lies
in or near \dostopdelimitedtexpar.  You may have to fiddle with \par
and/or \nospace to get the layout exactly as desired.

--Mike Bird
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to