diff options
author | Hans Hagen <pragma@wxs.nl> | 2014-06-05 23:04:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2014-06-05 23:04:00 +0200 |
commit | 1b8d827a6d33b746d004ac5cfab16de8840054e9 (patch) | |
tree | 9f9c49a37d2d1eb913d17dac51247cdfc296b2e7 /tex/context/base/typo-mar.lua | |
parent | ca16b82275f15170ca269f77b9dd9b0e29bbd7f6 (diff) | |
download | context-1b8d827a6d33b746d004ac5cfab16de8840054e9.tar.gz |
beta 2014.06.05 23:04
Diffstat (limited to 'tex/context/base/typo-mar.lua')
-rw-r--r-- | tex/context/base/typo-mar.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/typo-mar.lua b/tex/context/base/typo-mar.lua index 4ea6b1e1d..5eb129ed5 100644 --- a/tex/context/base/typo-mar.lua +++ b/tex/context/base/typo-mar.lua @@ -374,11 +374,13 @@ end local status, nofstatus = { }, 0 local f_anchor = formatters["_plib_.set('md:h',%i,{x=true,c=true})"] + local function setanchor(h_anchor) return new_latelua(f_anchor(h_anchor)) end -- local t_anchor = { x = true, c = true } +-- -- local function setanchor(h_anchor) -- return lateluafunction(function() setposition("md:h",h_anchor,t_anchor) end) -- end @@ -449,7 +451,7 @@ local function realign(current,candidate) anchor = v_text end if inline or anchor ~= v_text or candidate.psubtype == alignment_code then - -- the alignment_code check catches margintexts ste before a tabulate + -- the alignment_code check catches margintexts before a tabulate h_anchors = h_anchors + 1 anchornode = setanchor(h_anchors) local blob = getposition('md:h',h_anchors) |