* \setupindenting
@ 2011-03-21 18:28 Cecil Westerhof
2011-03-21 18:43 ` \setupindenting Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Cecil Westerhof @ 2011-03-21 18:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 210 bytes --]
I just discovered \setupindenting. I use:
\setupindenting[yes, medium]
This does not indent the first paragraph on a page. Is it possible to also
not indent a paragraph after a blank?
--
Cecil Westerhof
[-- Attachment #1.2: Type: text/html, Size: 247 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \setupindenting
2011-03-21 18:28 \setupindenting Cecil Westerhof
@ 2011-03-21 18:43 ` Wolfgang Schuster
2011-03-21 19:19 ` \setupindenting Cecil Westerhof
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-03-21 18:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 21.03.2011 um 19:28 schrieb Cecil Westerhof:
> I just discovered \setupindenting. I use:
> \setupindenting[yes, medium]
>
> This does not indent the first paragraph on a page. Is it possible to also not indent a paragraph after a blank?
Not with \blank but you can create a command which does it, e.g.
\def\myblank
{\dosingleempty\domyblank}
\def\domyblank[#1]%
{\iffirstargument
\blank[#1]%
\else
\blank
\fi
\noindentation}
or you use the fancybreak module:
\usemodule[fancybreak]
\definefancybreak[myblank][indentnext=no]
\setupindenting[yes,medium]
\starttext
\input ward
\blank
\input ward
\myblank
\input ward
\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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \setupindenting
2011-03-21 18:43 ` \setupindenting Wolfgang Schuster
@ 2011-03-21 19:19 ` Cecil Westerhof
0 siblings, 0 replies; 3+ messages in thread
From: Cecil Westerhof @ 2011-03-21 19:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1060 bytes --]
2011/3/21 Wolfgang Schuster <schuster.wolfgang@googlemail.com>
> > I just discovered \setupindenting. I use:
> > \setupindenting[yes, medium]
> >
> > This does not indent the first paragraph on a page. Is it possible to
> also not indent a paragraph after a blank?
>
> Not with \blank but you can create a command which does it, e.g.
>
> \def\myblank
> {\dosingleempty\domyblank}
>
> \def\domyblank[#1]%
> {\iffirstargument
> \blank[#1]%
> \else
> \blank
> \fi
> \noindentation}
>
> or you use the fancybreak module:
>
> \usemodule[fancybreak]
>
> \definefancybreak[myblank][indentnext=no]
>
> \setupindenting[yes,medium]
>
> \starttext
>
> \input ward
>
> \blank
>
> \input ward
>
> \myblank
>
> \input ward
>
> \stoptext
>
I used the second method. Works. I only have one slight problem. When a
paragraph without anything between it and the previous paragraph is the
first element on a page, it gets indented. It is not a very big problem, but
it would be nicer -I think- if it was not indented. Is this possible?
--
Cecil Westerhof
[-- Attachment #1.2: Type: text/html, Size: 1491 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-21 19:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-21 18:28 \setupindenting Cecil Westerhof
2011-03-21 18:43 ` \setupindenting Wolfgang Schuster
2011-03-21 19:19 ` \setupindenting Cecil Westerhof
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).