diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-02-16 09:55:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-02-16 09:55:00 +0100 |
commit | d727c799380434800e74e7f7c2c8b7dd264bf6c1 (patch) | |
tree | 0d3ad06b3c42a41acbdb578245660d293d292b0a /tex/context/base/page-bck.mkiv | |
parent | a35b193e7e4396d213bc1283f94ba41786fd87fe (diff) | |
download | context-d727c799380434800e74e7f7c2c8b7dd264bf6c1.tar.gz |
beta 2012.02.16 09:55
Diffstat (limited to 'tex/context/base/page-bck.mkiv')
-rw-r--r-- | tex/context/base/page-bck.mkiv | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/tex/context/base/page-bck.mkiv b/tex/context/base/page-bck.mkiv index 42891e76e..18e0a9f4d 100644 --- a/tex/context/base/page-bck.mkiv +++ b/tex/context/base/page-bck.mkiv @@ -669,6 +669,16 @@ \def\hiddenbackgroundlist {\v!text-2,\v!text-1,\v!foreground,\v!text+1,\v!text+2} +% \defineoverlay[\v!text-2][\positionoverlay{\v!text-2}] +% \defineoverlay[\v!text-1][\positionoverlay{\v!text-1}] +% \defineoverlay[\v!text+1][\positionoverlay{\v!text+1}] +% \defineoverlay[\v!text+2][\positionoverlay{\v!text+2}] + +\defineoverlay[\v!text-2][\positionregionoverlay\textanchor{\v!text-2}] % no new anchor, we share text +\defineoverlay[\v!text-1][\positionregionoverlay\textanchor{\v!text-1}] +\defineoverlay[\v!text+1][\positionregionoverlay\textanchor{\v!text+1}] +\defineoverlay[\v!text+2][\positionregionoverlay\textanchor{\v!text+2}] + \setupbackgrounds [\v!hidden] [\c!background=\hiddenbackgroundlist] @@ -686,7 +696,7 @@ \def\localbackgroundlist {\v!local-2,\v!local-1,\v!foreground,\v!local+1,\v!local+2} -\defineoverlay[\v!local-2][\positionoverlay{\v!local-2}] +\defineoverlay[\v!local-2][\positionoverlay{\v!local-2}] % todo share \defineoverlay[\v!local-1][\positionoverlay{\v!local-1}] \defineoverlay[\v!local+1][\positionoverlay{\v!local+1}] \defineoverlay[\v!local+2][\positionoverlay{\v!local+2}] @@ -698,12 +708,8 @@ \expandafter\gobbleoneargument \fi} -% \def\page_backgrounds_add_local_to_box_indeed#1% -% {\setbox#1\hbox{\fastlocalframed[\??ma\v!local][]{\registerMPlocaltextarea{\box#1}}}% -% \global\advance\localpositionnumber\plusone} % afterwards ! - \def\page_backgrounds_add_local_to_box_indeed#1% - {\setbox#1\hbox{\registerMPlocaltextarea{\box#1}}% + {%\setbox#1\hbox{\registerMPlocaltextarea{\box#1}}% \setbox#1\hbox{\localbackgroundframed{\??ma\v!local}\v!local#1}% \global\advance\localpositionnumber\plusone} % afterwards ! |