diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-01-15 19:46:53 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-01-15 19:46:53 +0100 |
commit | 5189b2143a30a39cd3533569cbef3f06422cc1d9 (patch) | |
tree | 04c19fe1ce25fdcbff815bd21126b2a3ca949dfd /tex/context/base/mkiv/grph-rul.lua | |
parent | 994f088d3ef44b6d8bed9b32827842d9bb026c63 (diff) | |
download | context-5189b2143a30a39cd3533569cbef3f06422cc1d9.tar.gz |
2020-01-15 19:13:00
Diffstat (limited to 'tex/context/base/mkiv/grph-rul.lua')
-rw-r--r-- | tex/context/base/mkiv/grph-rul.lua | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/tex/context/base/mkiv/grph-rul.lua b/tex/context/base/mkiv/grph-rul.lua index b39fd6fdb..5067b0165 100644 --- a/tex/context/base/mkiv/grph-rul.lua +++ b/tex/context/base/mkiv/grph-rul.lua @@ -325,25 +325,10 @@ do end end - -- maybe %.6F - - local f_rectangle = formatters["%.6F w %.6F %.6F %.6F %.6F re %s"] - local f_baselined = formatters["%.6F w %.6F %.6F %.6F %.6F re s %.6F %.6F m %.6F %.6F l s"] - local f_dashlined = formatters["%.6F w %.6F %.6F %.6F %.6F re s [%.6F %.6F] 2 d %.6F %.6F m %.6F %.6F l s"] + local f_rectangle = formatters["%.6N w %.6N %.6N %.6N %.6N re %s"] + local f_baselined = formatters["%.6N w %.6N %.6N %.6N %.6N re s %.6N %.6N m %.6N %.6N l s"] + local f_dashlined = formatters["%.6N w %.6N %.6N %.6N %.6N re s [%.6N %.6N] 2 d %.6N %.6N m %.6N %.6N l s"] local f_radtangle = formatters[ - [[%.6F w %.6F %.6F m -%.6F %.6F l %.6F %.6F %.6F %.6F y -%.6F %.6F l %.6F %.6F %.6F %.6F y -%.6F %.6F l %.6F %.6F %.6F %.6F y -%.6F %.6F l %.6F %.6F %.6F %.6F y -h %s]] - ] - - directives.register("metapost.stripzeros",function() -- confusing name but ok - f_rectangle = formatters["%.6N w %.6N %.6N %.6N %.6N re %s"] - f_baselined = formatters["%.6N w %.6N %.6N %.6N %.6N re s %.6N %.6N m %.6N %.6N l s"] - f_dashlined = formatters["%.6N w %.6N %.6N %.6N %.6N re s [%.6N %.6N] 2 d %.6N %.6N m %.6N %.6N l s"] - f_radtangle = formatters[ [[%.6N w %.6N %.6N m %.6N %.6N l %.6N %.6N %.6N %.6N y %.6N %.6N l %.6N %.6N %.6N %.6N y @@ -351,7 +336,6 @@ h %s]] %.6N %.6N l %.6N %.6N %.6N %.6N y h %s]] ] - end) ruleactions.fill = function(p,h,v,i,n) if p.corner then |