summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkiv/m-scite.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-09-27 20:24:34 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-09-27 20:24:34 +0200
commit0a5f59a9aa25b3de7e9659b39ad201aaf7eb5a67 (patch)
treea652bb083d6bc6a9b6309908dd5d09a539ac3859 /tex/context/modules/mkiv/m-scite.mkiv
parent58c7c9288160407c874930aac789ef6ef3faa6b5 (diff)
downloadcontext-0a5f59a9aa25b3de7e9659b39ad201aaf7eb5a67.tar.gz
2019-09-27 18:10:00
Diffstat (limited to 'tex/context/modules/mkiv/m-scite.mkiv')
-rw-r--r--tex/context/modules/mkiv/m-scite.mkiv7
1 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/modules/mkiv/m-scite.mkiv b/tex/context/modules/mkiv/m-scite.mkiv
index 5d192a5f6..315cb3bed 100644
--- a/tex/context/modules/mkiv/m-scite.mkiv
+++ b/tex/context/modules/mkiv/m-scite.mkiv
@@ -334,9 +334,12 @@ moduledata.scite = scite
\newdimen\scitespaceskip
\unexpanded\def\buff_scite_slxb#1%
- {\hangindent\numexpr#1+2\relax\scitespaceskip
+ {% we can have a side float
+ \advance\hangindent\numexpr#1+2\relax\scitespaceskip
\begstrut\hskip#1\scitespaceskip
- \hangafter 1\relax}
+ \ifcase\hangafter
+ \hangafter\plusone\relax
+ \fi}
\unexpanded\def\buff_scite_slxe
{\endstrut\par}