* RE : Re: RE : Re: Issue with latest LMTX version 2020-05-25
@ 2020-05-26 12:28 Joseph
2020-05-26 16:33 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Joseph @ 2020-05-26 12:28 UTC (permalink / raw)
To: Hans Hagen, mailing list for ConTeXt users
[-- Attachment #1: Type: text/html, Size: 3254 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RE : Re: RE : Re: Issue with latest LMTX version 2020-05-25
2020-05-26 12:28 RE : Re: RE : Re: Issue with latest LMTX version 2020-05-25 Joseph
@ 2020-05-26 16:33 ` Hans Hagen
2020-06-11 17:08 ` RE : " Joseph
0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2020-05-26 16:33 UTC (permalink / raw)
To: Joseph, mailing list for ConTeXt users
On 5/26/2020 2:28 PM, Joseph wrote:
> I want to check if current paragraph is being indented.
I'll add \doifelseindented to lmtx ... which you will then document on
the wiki.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE : RE : Re: RE : Re: Issue with latest LMTX version 2020-05-25
2020-05-26 16:33 ` Hans Hagen
@ 2020-06-11 17:08 ` Joseph
2020-06-11 18:39 ` Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: Joseph @ 2020-06-11 17:08 UTC (permalink / raw)
To: Hans Hagen, mailing list for ConTeXt users
[-- Attachment #1: Type: text/html, Size: 3255 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RE : RE : Re: RE : Re: Issue with latest LMTX version 2020-05-25
2020-06-11 17:08 ` RE : " Joseph
@ 2020-06-11 18:39 ` Wolfgang Schuster
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2020-06-11 18:39 UTC (permalink / raw)
To: mailing list for ConTeXt users, Joseph
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-06-11 18:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26 12:28 RE : Re: RE : Re: Issue with latest LMTX version 2020-05-25 Joseph
2020-05-26 16:33 ` Hans Hagen
2020-06-11 17:08 ` RE : " Joseph
2020-06-11 18:39 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).