diff options
-rw-r--r-- | data/templates/default.context | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/data/templates/default.context b/data/templates/default.context index 1ad5779ab..b8886d963 100644 --- a/data/templates/default.context +++ b/data/templates/default.context @@ -108,18 +108,16 @@ $endif$ \setupxtable[foot][bottomframe=on] $if(csl-refs)$ -\newdimen\cslhangindent -\cslhangindent=1.5em +\definemeasure[cslhangindent][1.5em] +\definenarrower[hangingreferences][left=\measure{cslhangindent}] \definestartstop [cslreferences] [ $if(csl-hanging-indent)$ before={% - \setupnarrower[left=\cslhangindent] - \startnarrower[left]% - \setupindenting[-\leftskip,yes,first]% - %\setuphead[chapter,section][indentnext=yes]% - \indentation% + \starthangingreferences[left] + \setupindenting[-\leftskip,yes,first] + \doindentation }, - after=\stopnarrower, + after=\stophangingreferences, $endif$ ] $endif$ |