summaryrefslogtreecommitdiff
path: root/tex/context/base/m-steps.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2001-08-28 00:00:00 +0200
committerHans Hagen <pragma@wxs.nl>2001-08-28 00:00:00 +0200
commit398264e8338d79fc389c76f0a1f0b30e4442f4e3 (patch)
tree01f154356243a9c3330689cd5b25a6d48e15ec6e /tex/context/base/m-steps.tex
parent60cc55d63b06031c0c852888fddeaff74a209011 (diff)
downloadcontext-398264e8338d79fc389c76f0a1f0b30e4442f4e3.tar.gz
stable 2001.08.28
Diffstat (limited to 'tex/context/base/m-steps.tex')
-rw-r--r--tex/context/base/m-steps.tex31
1 files changed, 30 insertions, 1 deletions
diff --git a/tex/context/base/m-steps.tex b/tex/context/base/m-steps.tex
index c5c660924..72a30b6eb 100644
--- a/tex/context/base/m-steps.tex
+++ b/tex/context/base/m-steps.tex
@@ -395,7 +395,13 @@
{\dosingleempty\dostartSTEPchart}
\long\def\dostartSTEPchart[#1]#2\stopSTEPchart
- {\ifinsidefloat \else \witruimte \@@STPCvoor \startbaselinecorrection \fi
+ {\ifinsidefloat \else
+ \witruimte
+ \@@STPCvoor
+ \startbaselinecorrection
+ \setlocalhsize
+ \noindent
+ \fi
\vbox\bgroup
\setupSTEPcharts[#1]%
\forgetall
@@ -883,3 +889,26 @@
\egroup}
\protect \endinput
+
+% A simple paragraph-flow test:
+
+\starttext
+
+\startbuffer
+\startSTEPchart
+\cells {A} {B}
+\cells {one} {five} \texts{$+2$}{$-2$}
+\cells {two} {four} \texts{$+3$}{$-3$}
+\cells {three} {three} \texts{$+4$}{$-4$}
+\cells {four} {two} \texts{$+5$}{$-5$}
+\cells {five} {one}
+\stopSTEPchart
+\stopbuffer
+
+\getbuffer
+
+\startnarrower \getbuffer \stopnarrower
+
+\placefigure[left]{}{} \getbuffer
+
+\stoptext