summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/m-streams.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/m-streams.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/m-streams.tex8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/context/base/m-streams.tex b/Master/texmf-dist/tex/context/base/m-streams.tex
index 181c82d331c..c1ef994ff55 100644
--- a/Master/texmf-dist/tex/context/base/m-streams.tex
+++ b/Master/texmf-dist/tex/context/base/m-streams.tex
@@ -105,8 +105,13 @@
\unprotect
+\def\overloadtextwidth#1%
+ {\makeupwidth#1\relax
+ \textwidth\makeupwidth
+ \hsize\makeupwidth}
+
\startsetups streamlayer:default:settings
- % set hsize etc
+ % set hsize etc, like \overloadtextwidth{12cm}
\stopsetups
\startsetups streamlayer:default:extras
@@ -127,7 +132,6 @@
{\outputstreamcopy[\currentstreamlayer]}%
\stopsetups
-
\startsetups streamlayer:default:reset
\outputstreambox[\currentstreamlayer]
\stopsetups