ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange behaviour of indentation
@ 2009-11-30 12:00 Tomas Bures
  2009-11-30 12:03 ` Tomas Bures
  0 siblings, 1 reply; 5+ messages in thread
From: Tomas Bures @ 2009-11-30 12:00 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]

Dear all,

I have some strange problem with indentation.

I'm trying to typeset text with some verses. I use indentation in the 
text, however I would like to suppress it below the verse. So, inside 
the macro for verses, I use: indenting[next]

This works fine, however for some strange reason, the indentation of the 
text paragraph isn't suppressed at some cases.

The macro I use for the verses is a bit more compliated, but I managed 
to reduce the problem to the simple example below. The first 7 pairs of 
quote and line are fine, then the text line is indented although it 
shouldn't be. (Please see the attached PDF.)

Please, does anyone know what to do with this problem? Thank you very much.

Best regards,
Tomas


\setuppapersize[A6][A6]

\setupindenting[small,yes]

\def\startMyQuote{
\startlines}

\def\stopMyQuote{
\stoplines
\indenting[next]
}


\starttext

\startMyQuote
Quote line
\stopMyQuote

Text line

\startMyQuote
Quote line
\stopMyQuote

Text line

\startMyQuote
Quote line
\stopMyQuote

Text line

\startMyQuote
Quote line
\stopMyQuote

Text line

\startMyQuote
Quote line
\stopMyQuote

Text line

\startMyQuote
Quote line
\stopMyQuote

Text line

\startMyQuote
Quote line
\stopMyQuote

Text line

\startMyQuote
Quote line
\stopMyQuote

Text line

\startMyQuote
Quote line
\stopMyQuote

Text line

\startMyQuote
Quote line
\stopMyQuote

Text line

\startMyQuote
Quote line
\stopMyQuote

Text line
\stoptext

[-- Attachment #2: indenting.pdf --]
[-- Type: application/pdf, Size: 4478 bytes --]

[-- Attachment #3: 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] 5+ messages in thread

end of thread, other threads:[~2009-11-30 13:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-30 12:00 Strange behaviour of indentation Tomas Bures
2009-11-30 12:03 ` Tomas Bures
2009-11-30 12:10   ` Tomas Bures
2009-11-30 12:21     ` Taco Hoekwater
2009-11-30 13:29       ` Taco Hoekwater

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).