summaryrefslogtreecommitdiff
path: root/tex/context/base/x-cals.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2014-09-18 11:17:00 +0200
committerHans Hagen <pragma@wxs.nl>2014-09-18 11:17:00 +0200
commitea8cd771135d573fee6529e62e08468e79b12eab (patch)
treed2f7102bac47807fd3a0cbfeb02a0bb2f6f13a30 /tex/context/base/x-cals.lua
parent02d4d3cbde5e1e94e056cdf3b732145a37413fdb (diff)
downloadcontext-ea8cd771135d573fee6529e62e08468e79b12eab.tar.gz
beta 2014.09.18 11:17
Diffstat (limited to 'tex/context/base/x-cals.lua')
-rw-r--r--tex/context/base/x-cals.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/x-cals.lua b/tex/context/base/x-cals.lua
index 36bc1aaba..13f0e2bbe 100644
--- a/tex/context/base/x-cals.lua
+++ b/tex/context/base/x-cals.lua
@@ -65,8 +65,10 @@ end
local function getspecs(root, pattern, names, widths)
-- here, but actually we need this in core-ntb.tex
-- but ideally we need an mkiv enhanced core-ntb.tex
- local ignore_widths = cals.ignore_widths
- local shrink_widths = cals.shrink_widths
+ local ignore_widths = cals.ignore_widths
+-- local shrink_widths = at.option == "shrink" or cals.shrink_widths
+-- local stretch_widths = at.option == "stretch" or cals.stretch_widths
+ local shrink_widths = cals.shrink_widths
local stretch_widths = cals.stretch_widths
for e in xmlcollected(root,pattern) do
local at = e.at