[NTG-context] \quotation, protrusion and linebreaking
Henning Hraban Ramm
texml at fiee.net
Tue Oct 11 20:21:57 CEST 2022
Am 11.10.22 um 20:00 schrieb Leah Neukirchen via ntg-context:
> Hello,
>
> I noticed the following problem:
>
>
> \showframe
>
> \startluacode
> fonts.protrusions.vectors.pure[0x201C] = { 1, 1 }
> \stopluacode
>
> \definefontfeature[default][default][protrusion=pure]
> \setupalign[hanging]
>
> \starttext
>
> This text is unquoted.
>
> “This text is quoted manually.”
>
> \quotation{This text is quoted by a macro.}
>
> This is a very long line followed by a nice linebreak, very supercalifragilisticexpialidocious.
>
> This is a very long line followed by an ugly linebreak, not \quotation{supercalifragilisticexpialidocious}
>
> \stoptext
>
>
> The macro-quoted text is not protruded. I fixed this locally with a macro
> \def\q#1{\protrusionboundary1\quotation{#1}}
> Should this be default?
>
> But the missing hyphenation I have to add myself with \-. Ideas?
Try
\setupdelimitedtext[quotation][method=font]
Hraban
More information about the ntg-context
mailing list