On 03/20/2018 09:59 PM, Tomas Hala wrote:
Hi Pablo,
thank you very much, you are right. The align={hz, hanging} is not documented on the wiki, so I did not think about it.
Hi Tomáš, your local tex/texmf-context/tex/context/interface/mkiv/i-context.pdf is really your friend here.
The proper solution for my problem is this:
\setupparagraphs[align={hz, hanging}]
I only wanted to test whether microtypography was working. I can detect a text with hanging punctuation, but I’m not able to detect whether the text has the hz algorithm or not ;-).
which sets all columns for all kinds of paragraphs defined by \defineparagraphs (for normal text is necessary to set it separately).
Alignment for body text is specified with \setupalignment. Even footnotes may have a different alignment. I hope it helps, Pablo
Tue, Mar 20, 2018 ve 08:30:24PM +0100 Pablo Rodriguez napsal(a): # On 03/20/2018 08:17 PM, Tomas Hala wrote: # > Hi all, # > # > I used together hanging punctuation and define/setup paragraphs # > (tested on TL2017, current CTX). # > Unfortunately, inside the paragraph environment the hanging # > punctuation settings is ignored.> Moreover, it seems that attributes inner= and command= works only for # > the first paragraph (column). # Hi Tomáš, # # \setupparagraphs has an align key. # # This command works with your sample: # # \setupparagraphs[somepars][2][align={hz, hanging}] # # I hope it helps, # # Pablo # --