Michael Guravage schrieb am 26.03.2020 um 14:29:
> Greetings,
>
> I would like to add a citation to a block quotation. Wolfgang proposed a
> solution
> <https://www.mail-archive.com/ntg-context@ntg.nl/msg55956.html>back in
> May 2011. With \star-stopquotation, the left quotation mark protrudes to
> the left of the text. With Wolfgang's solution, the quotation marks are
> aligned with the text. For consistency's sake, I need cited and
> non-cited quotations to appear alike.
>
> A lot has changed in the last nine years. Is there a newer way to
> achieve this behavior?
You can use the userdata environment to create a custom environment with
optional arguments.
\startsetups[userdata:extendedquotation]
\startnarrow[middle=4em]
“\getinlineuserdata”\userdataparameter{source}
\stopnarrow
\stopsetups
\defineuserdataalternative
[extendedquotation]
[renderingsetup=userdata:extendedquotation]
\defineuserdata
[extendedquotation]
[alternative=extendedquotation,
before=\blank,
after=\blank]
\starttext
\input tufte
\startuserdata[extendedquotation][source=\footnote{See Tufte …}]
\input tufte
\stopuserdata
\input tufte
\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
___________________________________________________________________________________