diff options
author | Marius <mariausol@gmail.com> | 2011-12-31 14:40:26 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-12-31 14:40:26 +0200 |
commit | 11dde3f4c6c0584ff20070edc1b1aad0b9013d30 (patch) | |
tree | aa8df33f2319e97b9d1634f042504433110941fb /tex/context/base/anch-bck.mkvi | |
parent | 90cec652f5ae1daee6d4c252c5caa6a39ad719fc (diff) | |
download | context-11dde3f4c6c0584ff20070edc1b1aad0b9013d30.tar.gz |
beta 2011.12.31 13:16
Diffstat (limited to 'tex/context/base/anch-bck.mkvi')
-rw-r--r-- | tex/context/base/anch-bck.mkvi | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tex/context/base/anch-bck.mkvi b/tex/context/base/anch-bck.mkvi index 75a7f05a5..cf5b82967 100644 --- a/tex/context/base/anch-bck.mkvi +++ b/tex/context/base/anch-bck.mkvi @@ -112,7 +112,10 @@ \newcount\c_backgrounds_text_level -\installcommandhandler \??td {textbackground} \??td +\installcorenamespace{textbackground} +\installcorenamespace{textbackgroundlevel} + +\installcommandhandler \??textbackground {textbackground} \??textbackground \appendtoks \setuevalue{\currenttextbackground}{\groupedcommand{\starttextbackground[\currenttextbackground]}{\stoptextbackground}}% @@ -147,11 +150,11 @@ \let\backgrounds_text_start_indeed\relax \let\backgrounds_text_stop_indeed \relax -\setvalue{\??td:l:\v!text}% +\setvalue{\??textbackgroundlevel\v!text}% {\let\backgrounds_text_start_indeed\backgrounds_text_start_txt \let\backgrounds_text_stop_indeed \dostoptextbackgroundtxt} -\setvalue{\??td:l:\v!paragraph}% +\setvalue{\??textbackgroundlevel\v!paragraph}% {\ifnum\c_backgrounds_text_level>\plusone \let\backgrounds_text_start_indeed\backgrounds_text_start_txt \let\backgrounds_text_stop_indeed \dostoptextbackgroundtxt @@ -160,7 +163,7 @@ \let\backgrounds_text_stop_indeed \dostoptextbackgroundpar \fi} -\setvalue{\??td:l:\v!none}% +\setvalue{\??textbackgroundlevel\v!none}% {\backgrounds_text_preset_nop} \def\backgrounds_text_preset_nop @@ -169,7 +172,7 @@ \def\backgrounds_text_preset_yes {\backgrounds_text_preset_nop - \csname\??td:l:\textbackgroundparameter\c!location\endcsname + \csname\??textbackgroundlevel\textbackgroundparameter\c!location\endcsname \edef\m_backgrounds_text_frame {\textbackgroundparameter\c!frame}% \edef\m_backgrounds_text_corner {\textbackgroundparameter\c!corner}% \edef\m_backgrounds_text_background{\textbackgroundparameter\c!background}% |