Quoting from the command reference:

\startframedtext inherits \setupframedtext
and
\setupframedtext ... indenting = inherits \setupindenting

I interprete this as \setupindenting is carried to the inside of the framedtext 
but this thus not happen. Instead one explicitely sets it on the call of 
\startframedtext.
Why doesn't \startframedtext inherit the value from the document? This is a 
problem because I need this setup for framedtexts called in an inner module.

A second, even more serious problem for me is that the framedtext is ignoring 
the \setupwhitespace.

For both problems see the example below.

Hans van der Meer


\setupindenting[yes,first,medium]
\setupwhitespace[big]
\starttext
\ConTeXt-version = \contextversion

Text for testing indenting of praragraphs. A lot of nonsense just to fill the 
paragraph so that more than one line is typeset. A lot of nonsense just to fill 
the paragraph so that more than one line is typeset.

Text for testing indenting of praragraphs. A lot of nonsense just to fill the 
paragraph so that more than one line is typeset. A lot of nonsense just to fill 
the paragraph so that more than one line is typeset.

\tex{startframedtext[width=\textwidth]}\crlf
\startframedtext[width=\textwidth]
Text for testing indenting of praragraphs. A lot of nonsense just to fill the 
paragraph so that more than one line is typeset. A lot of nonsense just to fill 
the paragraph so that more than one line is typeset.

Text for testing indenting of praragraphs. A lot of nonsense just to fill the 
paragraph so that more than one line is typeset. A lot of nonsense just to fill 
the paragraph so that more than one line is typeset.
\stopframedtext

\tex{startframedtext[width=\textwidth,indenting={yes,first,medium}]}\crlf
\startframedtext[width=\textwidth,indenting={yes,first,medium}]
\setupwhitespace[big]\tex{setupwhitespace[big]}\par
Text for testing indenting of praragraphs. A lot of nonsense just to fill the 
paragraph so that more than one line is typeset. A lot of nonsense just to fill 
the paragraph so that more than one line is typeset.

Text for testing indenting of praragraphs. A lot of nonsense just to fill the 
paragraph so that more than one line is typeset. A lot of nonsense just to fill 
the paragraph so that more than one line is typeset.
\stopframedtext
\stoptext






Attachment: indenting-framedtext.pdf
Description: indenting-framedtext.pdf

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to