[NTG-context] indentnext=auto

Idris Samawi Hamid ادريس سماوي حامد ishamid at colostate.edu
Wed Mar 18 01:21:25 CET 2015


On Tue, 17 Mar 2015 15:04:32 -0600, Wolfgang Schuster  
<schuster.wolfgang at gmail.com> wrote:

> \startsetups[paragraph:noindent]
> 	\setupindenting[no]
> \stopsetups
> \defineparagraph[noindent][setups=paragraph:noindent]
> \setupindenting[yes,big]
> \starttext
> \startparagraph
> \input ward
> \stopparagraph
> \startparagraph[noindent]
> \input ward
> \stopparagraph
> \startparagraph
> \input ward
> \stopparagraph
> \stoptext

The opposite scenario doesn't work, viz.

==========
% setup paragraph indents
\startsetups[paragraph:indent]
	\setupindenting[big,yes]
\stopsetups
\defineparagraph[indent][setups=paragraph:indent]
==========

But this appears to work:

==========
% setup paragraph indents
\startsetups[paragraph:indent]
	\indentation
\stopsetups
\defineparagraph[indent][setups=paragraph:indent]
==========

So there is significant difference in the \setupindenting[yes] case. For  
consistency we may as well go with

=================
\startsetups[paragraph:indent]
	\indentation
\stopsetups
\defineparagraph[indent][setups=paragraph:indent]
\startsetups[paragraph:noindent]
	\noindentation
\stopsetups
\defineparagraph[noindent][setups=paragraph:noindent]
=================

This entire approach is better and wiser than indentnext=auto anyway.  
Thanks again, Wolfgang, and

Best wishes
Idris
-- 
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523


More information about the ntg-context mailing list