11 Jun
2020
11 Jun
'20
6:39 p.m.
Joseph schrieb am 11.06.2020 um 19:08:
Thanks, sure I’ll document that. Just struggling to understand how to use it.
I used \ifindentation as follows
\def\ParIndent{\ifindentation\parindent\else 0pt\fi}
But if I replace with
\def\ParIndent{\doifelseindented{\parindent}{0pt}}
It does not work.
You have to switch to horizontal mode to get the correct result. \setupindenting[yes,medium] \starttext \doifelseindented{Yes}{No} \dontleavehmode\doifelseindented{Yes}{No} \the\ifzeropt\parindent \zeropoint \else \parindent \fi \setupindenting[no] \the\ifzeropt\parindent \zeropoint \else \parindent \fi \stoptext Wolfgang