[NTG-context] indenting and whitespace in framedtext

Meer, Hans van der H.vanderMeer at uva.nl
Wed Nov 9 15:35:28 CET 2016


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






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20161109/118664c0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: indenting-framedtext.pdf
Type: application/pdf
Size: 12915 bytes
Desc: indenting-framedtext.pdf
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20161109/118664c0/attachment-0001.pdf>


More information about the ntg-context mailing list