ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* indenting and whitespace in framedtext
@ 2016-11-09 14:35 Meer, Hans van der
  0 siblings, 0 replies; only message in thread
From: Meer, Hans van der @ 2016-11-09 14:35 UTC (permalink / raw)
  To: NTG ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 2369 bytes --]

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 #1.2: Type: text/html, Size: 2928 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-09 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-09 14:35 indenting and whitespace in framedtext Meer, Hans van der

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