diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-04-07 14:05:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-04-07 14:05:00 +0200 |
commit | 9206d8ee516e39d5373805b145b1545002f732c8 (patch) | |
tree | 9c43c9b1bad59282f2507e1a568a787c829a31f6 /tex/context/base/scrn-wid.mkvi | |
parent | 7f4dbdc914e16ac532cc389ec9f96373d54b226e (diff) | |
download | context-9206d8ee516e39d5373805b145b1545002f732c8.tar.gz |
beta 2013.04.07 14:05
Diffstat (limited to 'tex/context/base/scrn-wid.mkvi')
-rw-r--r-- | tex/context/base/scrn-wid.mkvi | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tex/context/base/scrn-wid.mkvi b/tex/context/base/scrn-wid.mkvi index 917050c54..ae5f7c556 100644 --- a/tex/context/base/scrn-wid.mkvi +++ b/tex/context/base/scrn-wid.mkvi @@ -66,6 +66,7 @@ \installcorenamespace{attachment} \installcorenamespace{attachmentlocation} +\installcorenamespace{attachmentmethod} \installcommandhandler \??attachment {attachment} \??attachment @@ -171,9 +172,9 @@ \def\scrn_attachment_inject[#registered][#settings]% {\edef\currentattachmentregistered{#registered}% \setupattachment[\currentattachment][#settings]% - \expandcheckedcsname{scrn_attachment_method_}{\attachmentparameter\c!method}\v!normal} + \expandnamespaceparameter\??attachmentmethod\attachmentparameter\c!method\v!normal} -\setvalue{scrn_attachment_method_\v!normal}% +\setvalue{\??attachmentmethod\v!normal}% {\edef\currentattachmentsymbol{\attachmentparameter\c!symbol}% \edef\currentattachmentwidth {\attachmentparameter\c!width }% \edef\currentattachmentheight{\attachmentparameter\c!height}% @@ -216,7 +217,7 @@ \dp\b_scrn_attachment_link\currentattachmentdepth \box\b_scrn_attachment_link} -\setvalue{scrn_attachment_method_\v!hidden}% +\setvalue{\??attachmentmethod\v!hidden}% {\ctxcommand{insertattachment{ tag = "\currentattachment", registered = "\currentattachmentregistered", @@ -434,7 +435,7 @@ \installcorenamespace{commentmethods} \unexpanded\def\scrn_comment_inject - {\expandcheckedcsname\??commentmethods{\commentparameter\c!method}\v!normal} + {\expandnamespaceparameter\??commentmethods\commentparameter\c!method\v!normal} %D Beware: comments symbols don't scale in acrobat (cf. spec but somewhat %D weird, esp because for instance attachment symbols do scale). @@ -477,7 +478,7 @@ \wd\b_scrn_comment_link\currentcommentwidth \ht\b_scrn_comment_link\currentcommentheight \dp\b_scrn_comment_link\currentcommentdepth - \expandcheckedcsname\??commentlocation{\commentparameter\c!location}\s!unknown} + \expandnamespaceparameter\??commentlocation\commentparameter\c!location\s!unknown} \setvalue{\??commentmethods\v!hidden}% {} |