[NTG-context] Nested quotation and left-hanging punctuation together?
Tomas Hala
tomas.hala at mendelu.cz
Sun Mar 1 22:54:14 CET 2020
Hi all,
I do not know how to activate nested quotation together with left hanging
punctuation at all levels.
%%%%%%%%%%%%%% MWE:
\setupdelimitedtext[quotation:1][method=font] %% cmd #1
\setupdelimitedtext[quotation:2][method=font] %% cmd #2
\setupdelimitedtext[quotation][method=font] %% cmd #3
%%%%%%%%%%%%%%
\setupdelimitedtext[quotation:1][left={\symbol[leftquotation]},right={\symbol[rightquotation]}]
\setupdelimitedtext[quotation:2][left={\symbol[leftquote]},right={\symbol[rightquote]}]
\setupalign[hz,hanging] %normal,%nothz,nohz,
\definefontfeature[default][default][protrusion=quality,expansion=quality]
\starttext\showframe
\quotation{asdaf\quotation{asdfasfd} adfasdfasf}
\quotation{asdaf\crlf\quotation{asdfasfd} adfasdfasf}
\stoptext
%%%%%%%%%%%%%%%%
Without any command (#1--#3):
Quotation symbols are ok but without hanging.
With cmd #1:
Quotation symbols are ok but hanging is only the first level.
With cmd #2:
Quotation symbols are at both levels the same (which is wrong) and moreover hanging is only the second level.
With cmd #3:
Quotation symbols are at both levels the same (which is wrong) but both levels is hanging.
Which definition is missing or wrong?
Best wishes,
Tomáš
More information about the ntg-context
mailing list