\setupdelimitedtext and color parameter: only the second delimiter is colored
Is this the expected behaviour? From an observation from https://wiki.contextgarden.net/Text_blocks/Environments/Quotes#Directly \starttext \quote{Some text} \setupdelimitedtext [quote] [color=red] \quote{Some text} \setupdelimitedtext [quote] [symcolor=red] \quote{Some text} \stoptext
Am 27.01.2025 um 20:50 schrieb garulfo@azules.eu:
Is this the expected behaviour?
I don't think so because not all methods show this behaviour. %%%% begin example \starttext \setupdelimitedtext [quote] [color=red] \quote{Some text} \setupdelimitedtext [quote] [location=paragraph] \quote{Some text} \setupdelimitedtext [quote] [method=font] \quote{Some text} \stoptext %%%% end example To fix the color problem move the style/color activation above of the symbol placement. %%%% begin patch: typo-del.mkxl \def\typo_delimited_fontdriven {\dontleavehmode \begingroup \dostarttaggedchained\t!delimited\currentparentdelimitedtext\currentdelimitedtext\??delimitedtext + \usedelimitedtextstyleandcolor\c!style\c!color \usedlanguageparameter{\c!left\currentparentdelimitedtext}% was: \currentdelimitedtext - \usedelimitedtextstyleandcolor\c!style\c!color \typo_delimited_start_content \bgroup \aftergroup\typo_delimited_fontdriven_e \let\next=} \def\typo_delimited_quoted {\dontleavehmode \begingroup \dostarttaggedchained\t!delimited\currentparentdelimitedtext\currentdelimitedtext\??delimitedtext + \usedelimitedtextstyleandcolor\c!style\c!color \typo_delimited_handle_left\c!left - \usedelimitedtextstyleandcolor\c!style\c!color \typo_delimited_start_content \bgroup \aftergroup\typo_delimited_quoted_e \let\next=} %%%% end patch Wolfgang
participants (2)
-
garulfo@azules.eu
-
Wolfgang Schuster